#7D7D19#7D7D19

#7D7D19 is a mid, moderate yellow. Relative luminance 0.191; OKLCH L 57.2% C 0.116 H 109.6°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#7D7D19
RGBrgb(125, 125, 25)
HSLhsl(60, 67%, 29%)
HSVhsv(60, 80%, 49%)
CMYKcmyk(0%, 0%, 80%, 51%)
CIE-LABlab(50.80, -12.05, 50.02)
CIE-LCHlch(50.80, 51.45, 103.54°)
OKLaboklab(57.18% -0.0387 0.109)
OKLCHoklch(57.18% 0.116 109.6)
XYZxyz(15.9671, 19.0979, 3.7647)
Luminance0.1910 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7D19 #19197D
analogous
#7D4B19 #7D7D19 #4B7D19
triadic
#7D7D19 #197D7D #7D197D
tetradic
#7D7D19 #197D4B #19197D #7D194B
square
#7D7D19 #197D4B #19197D #7D194B
split-complementary
#7D7D19 #194B7D #4B197D
monochromatic
#1A1A05 #4A4A0F #7D7D19 #B0B023 #D7D739

Accessibility & contrast

On white

4.36
#7D7D19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#7D7D19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D7D19
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7D19#FFFFFF#000000##000000
##7D7D191.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#887700
Deuteranopia (green-blind)
#897A22
Tritanopia (blue-blind)
#86746B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7d7d19;
/* rgb */ color: rgb(125, 125, 25);
/* oklch */ color: oklch(57.2% 0.116 109.6);
Tailwind
colors: {
  custom: {
    50: '#a6a25f',
    500: '#7d7d19',
    950: '#000000',
  },
}
SCSS
$custom: #7d7d19;
$custom-light: #a6a25f;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7d19",
  "rgb": {
    "r": 125,
    "g": 125,
    "b": 25
  },
  "hsl": {
    "h": 60,
    "s": 66.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.57175,
    "c": 0.11565,
    "h": 109.6
  },
  "luminance": 0.19097
}

Semantic roles & 50–950 ramp

primary
#7D7D19
secondary
#4040B1
accent
#3EEA3E
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100F05
muted
#7F7E79

Preview Lab

Preview with #7D7D19

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

Preview Lab → · Contrast checker → · Palette generator →

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