#7D9D2D#7D9D2D

#7D9D2D is a light, vivid yellow-green. Relative luminance 0.287; OKLCH L 65.0% C 0.141 H 124.2°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#7D9D2D
RGBrgb(125, 157, 45)
HSLhsl(77, 55%, 40%)
HSVhsv(77, 71%, 62%)
CMYKcmyk(20.4%, 0%, 71.3%, 38.4%)
CIE-LABlab(60.48, -27.45, 52.10)
CIE-LCHlch(60.48, 58.89, 117.79°)
OKLaboklab(65% -0.0795 0.1169)
OKLCHoklch(65% 0.141 124.2)
XYZxyz(20.9883, 28.6632, 6.9089)
Luminance0.2866 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D9D2D #4D2D9D
analogous
#9D852D #7D9D2D #459D2D
triadic
#7D9D2D #2D7D9D #9D2D7D
tetradic
#7D9D2D #2D9D85 #4D2D9D #9D2D45
square
#7D9D2D #2D9D85 #4D2D9D #9D2D45
split-complementary
#7D9D2D #2D459D #852D9D
monochromatic
#313E12 #576D1F #7D9D2D #A1C83F #B8D66F

Accessibility & contrast

On white

3.12
#7D9D2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.73
#7D9D2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D9D2D
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D9D2D#FFFFFF#000000##000000
##7D9D2D1.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6931A
Deuteranopia (green-blind)
#A29236
Tritanopia (blue-blind)
#839587
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #7d9d2d;
/* rgb */ color: rgb(125, 157, 45);
/* oklch */ color: oklch(65.0% 0.141 124.2);
Tailwind
colors: {
  custom: {
    50: '#a6ba6d',
    500: '#7d9d2d',
    950: '#000000',
  },
}
SCSS
$custom: #7d9d2d;
$custom-light: #a6ba6d;
$custom-dark: #000000;
JSON
{
  "hex": "#7d9d2d",
  "rgb": {
    "r": 125,
    "g": 157,
    "b": 45
  },
  "hsl": {
    "h": 77.143,
    "s": 55.446,
    "l": 39.608
  },
  "oklch": {
    "l": 0.64998,
    "c": 0.14139,
    "h": 124.2
  },
  "luminance": 0.28663
}

Semantic roles & 50–950 ramp

primary
#7D9D2D
secondary
#8169BD
accent
#49DF74
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101107
muted
#7F807A

Preview Lab

Preview with #7D9D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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