#7D7B19#7D7B19

#7D7B19 is a mid, moderate yellow. Relative luminance 0.186; OKLCH L 56.7% C 0.114 H 108.3°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#7D7B19
RGBrgb(125, 123, 25)
HSLhsl(59, 67%, 29%)
HSVhsv(59, 80%, 49%)
CMYKcmyk(0%, 1.6%, 80%, 51%)
CIE-LABlab(50.21, -10.96, 49.49)
CIE-LCHlch(50.21, 50.69, 102.49°)
OKLaboklab(56.7% -0.0357 0.1079)
OKLCHoklch(56.7% 0.114 108.3)
XYZxyz(15.7165, 18.5966, 3.6811)
Luminance0.1860 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7B19 #191B7D
analogous
#7D4919 #7D7B19 #4D7D19
triadic
#7D7B19 #197D7B #7B197D
tetradic
#7D7B19 #197D49 #191B7D #7D194D
square
#7D7B19 #197D49 #191B7D #7D194D
split-complementary
#7D7B19 #194D7D #49197D
monochromatic
#1A1905 #4A490F #7D7B19 #B0AD23 #D7D439

Accessibility & contrast

On white

4.45
#7D7B19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#7D7B19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D7B19
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7B19#FFFFFF#000000##000000
##7D7B191.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#877921
Tritanopia (blue-blind)
#877269
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7d7b19;
/* rgb */ color: rgb(125, 123, 25);
/* oklch */ color: oklch(56.7% 0.114 108.3);
Tailwind
colors: {
  custom: {
    50: '#a6a05f',
    500: '#7d7b19',
    950: '#000000',
  },
}
SCSS
$custom: #7d7b19;
$custom-light: #a6a05f;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7b19",
  "rgb": {
    "r": 125,
    "g": 123,
    "b": 25
  },
  "hsl": {
    "h": 58.8,
    "s": 66.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.56704,
    "c": 0.1136,
    "h": 108.3
  },
  "luminance": 0.18596
}

Semantic roles & 50–950 ramp

primary
#7D7B19
secondary
#4043B1
accent
#42EA3E
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7D7B19

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#7D7B19 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva