#7D9A1D#7D9A1D

#7D9A1D is a light, vivid yellow-green. Relative luminance 0.276; OKLCH L 64.2% C 0.147 H 122.6°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#7D9A1D
RGBrgb(125, 154, 29)
HSLhsl(74, 68%, 36%)
HSVhsv(74, 81%, 60%)
CMYKcmyk(18.8%, 0%, 81.2%, 39.6%)
CIE-LABlab(59.49, -26.83, 56.60)
CIE-LCHlch(59.49, 62.64, 115.36°)
OKLaboklab(64.17% -0.0791 0.1237)
OKLCHoklch(64.17% 0.147 122.6)
XYZxyz(20.2351, 27.5598, 5.4157)
Luminance0.2756 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D9A1D #3A1D9A
analogous
#9A781D #7D9A1D #3E9A1D
triadic
#7D9A1D #1D7D9A #9A1D7D
tetradic
#7D9A1D #1D9A78 #3A1D9A #9A1D3E
square
#7D9A1D #1D9A78 #3A1D9A #9A1D3E
split-complementary
#7D9A1D #1D3E9A #781D9A
monochromatic
#29330A #536613 #7D9A1D #A7CE27 #BEDF53

Accessibility & contrast

On white

3.22
#7D9A1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.51
#7D9A1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D9A1D
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D9A1D#FFFFFF#000000##000000
##7D9A1D1.003.226.516.51
#FFFFFF3.221.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49000
Deuteranopia (green-blind)
#A08F2A
Tritanopia (blue-blind)
#849283
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #7d9a1d;
/* rgb */ color: rgb(125, 154, 29);
/* oklch */ color: oklch(64.2% 0.147 122.6);
Tailwind
colors: {
  custom: {
    50: '#a6b765',
    500: '#7d9a1d',
    950: '#000000',
  },
}
SCSS
$custom: #7d9a1d;
$custom-light: #a6b765;
$custom-dark: #000000;
JSON
{
  "hex": "#7d9a1d",
  "rgb": {
    "r": 125,
    "g": 154,
    "b": 29
  },
  "hsl": {
    "h": 73.92,
    "s": 68.306,
    "l": 35.882
  },
  "oklch": {
    "l": 0.64166,
    "c": 0.14685,
    "h": 122.6
  },
  "luminance": 0.2756
}

Semantic roles & 50–950 ramp

primary
#7D9A1D
secondary
#6B51C2
accent
#3DEB65
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7D9A1D

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

Preview Lab → · Contrast checker → · Palette generator →

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