#767D21

A color in the Yellow, Gold family

#767d21 is a color in the Yellow, Gold family: RGB(118, 125, 33), HSL(65°, 58%, 31%), CMYK(6%, 0%, 74%, 51%). Closest named color: olive. Contrast is 4.44:1 on white and 4.73:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#767d21
RGBrgb(118 125 33)
RGB (legacy)rgb(118, 125, 33)
RGB %rgb(46% 49% 13%)
HSLhsl(65 58% 31%)
HSV / HSBhsv(65, 74%, 49%)
HWBhwb(65 13% 51%)
CMYKcmyk(6%, 0%, 74%, 51%)
CIELAB (D50)lab(50.48 -11.71 46.03)
LCHlch(50.48 47.49 104.28)
OKLaboklab(0.566 -0.0455 0.1032)
OKLCHoklch(0.566 0.1127 113.77)
Decimal7765281

Properties

Color ToneYellow, Gold
Closest named colorolive ΔE 2.2
Closest web-safe color#666633
Hue65°
Saturation (HSL / HSV)58% / 74%
Lightness (HSL)31%
Brightness or Value (HSV)49%
Luminance (Rec.601 / Rec.709)44% / 46%
Relative luminance (WCAG)0.1863
Red / Green / Blue118 / 125 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.44:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.73:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 70.7 / -30.9 · As background with white / black text: Lc -76.2 / 33.3

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #767d21;
  --color-brand-oklch: oklch(56.6% 0.1127 113.77);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(118 125 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#767d21] text-[#767d21] border-[#767d21]">