#7D9D1D#7D9D1D

#7D9D1D is a light, vivid yellow-green. Relative luminance 0.286; OKLCH L 64.9% C 0.150 H 123.5°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#7D9D1D
RGBrgb(125, 157, 29)
HSLhsl(75, 69%, 36%)
HSVhsv(75, 82%, 62%)
CMYKcmyk(20.4%, 0%, 81.5%, 38.4%)
CIE-LABlab(60.39, -28.28, 57.41)
CIE-LCHlch(60.39, 64.00, 116.22°)
OKLaboklab(64.9% -0.0831 0.1255)
OKLCHoklch(64.9% 0.15 123.5)
XYZxyz(20.7365, 28.5625, 5.5828)
Luminance0.2856 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D9D1D #3D1D9D
analogous
#9D7D1D #7D9D1D #3D9D1D
triadic
#7D9D1D #1D7D9D #9D1D7D
tetradic
#7D9D1D #1D9D7D #3D1D9D #9D1D3D
square
#7D9D1D #1D9D7D #3D1D9D #9D1D3D
split-complementary
#7D9D1D #1D3D9D #7D1D9D
monochromatic
#2B360A #546913 #7D9D1D #A6D127 #BDE055

Accessibility & contrast

On white

3.13
#7D9D1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#7D9D1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D9D1D
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D9D1D#FFFFFF#000000##000000
##7D9D1D1.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69300
Deuteranopia (green-blind)
#A2912B
Tritanopia (blue-blind)
#849586
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #7d9d1d;
/* rgb */ color: rgb(125, 157, 29);
/* oklch */ color: oklch(64.9% 0.150 123.5);
Tailwind
colors: {
  custom: {
    50: '#a6ba66',
    500: '#7d9d1d',
    950: '#000000',
  },
}
SCSS
$custom: #7d9d1d;
$custom-light: #a6ba66;
$custom-dark: #000000;
JSON
{
  "hex": "#7d9d1d",
  "rgb": {
    "r": 125,
    "g": 157,
    "b": 29
  },
  "hsl": {
    "h": 75,
    "s": 68.817,
    "l": 36.471
  },
  "oklch": {
    "l": 0.64897,
    "c": 0.15046,
    "h": 123.5
  },
  "luminance": 0.28563
}

Semantic roles & 50–950 ramp

primary
#7D9D1D
secondary
#6F53C3
accent
#3CEC68
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7D9D1D

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

Preview Lab → · Contrast checker → · Palette generator →

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