#7D9D2E#7D9D2E

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

Color values

HEX#7D9D2E
RGBrgb(125, 157, 46)
HSLhsl(77, 55%, 40%)
HSVhsv(77, 71%, 62%)
CMYKcmyk(20.4%, 0%, 70.7%, 38.4%)
CIE-LABlab(60.49, -27.39, 51.72)
CIE-LCHlch(60.49, 58.52, 117.91°)
OKLaboklab(65.01% -0.0792 0.1163)
OKLCHoklch(65.01% 0.141 124.3)
XYZxyz(21.0077, 28.6710, 7.0115)
Luminance0.2867 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D9D2E #4E2E9D
analogous
#9D852E #7D9D2E #469D2E
triadic
#7D9D2E #2E7D9D #9D2E7D
tetradic
#7D9D2E #2E9D85 #4E2E9D #9D2E46
square
#7D9D2E #2E9D85 #4E2E9D #9D2E46
split-complementary
#7D9D2E #2E469D #852E9D
monochromatic
#323E12 #576E20 #7D9D2E #A1C741 #B8D570

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D9D2E#FFFFFF#000000##000000
##7D9D2E1.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)
#A6931C
Deuteranopia (green-blind)
#A29237
Tritanopia (blue-blind)
#839587
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #7d9d2e;
/* rgb */ color: rgb(125, 157, 46);
/* oklch */ color: oklch(65.0% 0.141 124.3);
Tailwind
colors: {
  custom: {
    50: '#a6ba6e',
    500: '#7d9d2e',
    950: '#000000',
  },
}
SCSS
$custom: #7d9d2e;
$custom-light: #a6ba6e;
$custom-dark: #000000;
JSON
{
  "hex": "#7d9d2e",
  "rgb": {
    "r": 125,
    "g": 157,
    "b": 46
  },
  "hsl": {
    "h": 77.297,
    "s": 54.68,
    "l": 39.804
  },
  "oklch": {
    "l": 0.65006,
    "c": 0.14072,
    "h": 124.3
  },
  "luminance": 0.28671
}

Semantic roles & 50–950 ramp

primary
#7D9D2E
secondary
#826ABD
accent
#4ADE75
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101107
muted
#7F807A

Preview Lab

Preview with #7D9D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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