#7D9B1D#7D9B1D

#7D9B1D is a light, vivid yellow-green. Relative luminance 0.279; OKLCH L 64.4% C 0.148 H 122.9°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#7D9B1D
RGBrgb(125, 155, 29)
HSLhsl(74, 68%, 36%)
HSVhsv(74, 81%, 61%)
CMYKcmyk(19.4%, 0%, 81.3%, 39.2%)
CIE-LABlab(59.79, -27.31, 56.87)
CIE-LCHlch(59.79, 63.09, 115.65°)
OKLaboklab(64.41% -0.0804 0.1243)
OKLCHoklch(64.41% 0.148 122.9)
XYZxyz(20.4009, 27.8913, 5.4709)
Luminance0.2789 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D9B1D #3B1D9B
analogous
#9B7A1D #7D9B1D #3E9B1D
triadic
#7D9B1D #1D7D9B #9B1D7D
tetradic
#7D9B1D #1D9B7A #3B1D9B #9B1D3E
square
#7D9B1D #1D9B7A #3B1D9B #9B1D3E
split-complementary
#7D9B1D #1D3E9B #7A1D9B
monochromatic
#2A340A #536713 #7D9B1D #A7CF27 #BEDF53

Accessibility & contrast

On white

3.19
#7D9B1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.58
#7D9B1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D9B1D
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D9B1D#FFFFFF#000000##000000
##7D9B1D1.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49100
Deuteranopia (green-blind)
#A1902A
Tritanopia (blue-blind)
#849384
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #7d9b1d;
/* rgb */ color: rgb(125, 155, 29);
/* oklch */ color: oklch(64.4% 0.148 122.9);
Tailwind
colors: {
  custom: {
    50: '#a6b865',
    500: '#7d9b1d',
    950: '#000000',
  },
}
SCSS
$custom: #7d9b1d;
$custom-light: #a6b865;
$custom-dark: #000000;
JSON
{
  "hex": "#7d9b1d",
  "rgb": {
    "r": 125,
    "g": 155,
    "b": 29
  },
  "hsl": {
    "h": 74.286,
    "s": 68.478,
    "l": 36.078
  },
  "oklch": {
    "l": 0.64409,
    "c": 0.14806,
    "h": 122.9
  },
  "luminance": 0.27891
}

Semantic roles & 50–950 ramp

primary
#7D9B1D
secondary
#6C52C2
accent
#3CEB66
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7D9B1D

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

Preview Lab → · Contrast checker → · Palette generator →

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