#7D9F2A#7D9F2A

#7D9F2A is a light, vivid yellow-green. Relative luminance 0.293; OKLCH L 65.5% C 0.146 H 124.6°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#7D9F2A
RGBrgb(125, 159, 42)
HSLhsl(77, 58%, 39%)
HSVhsv(77, 74%, 62%)
CMYKcmyk(21.4%, 0%, 73.6%, 37.6%)
CIE-LABlab(61.07, -28.60, 53.80)
CIE-LCHlch(61.07, 60.93, 118.00°)
OKLaboklab(65.46% -0.0829 0.12)
OKLCHoklch(65.46% 0.146 124.6)
XYZxyz(21.2737, 29.3232, 6.7292)
Luminance0.2932 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D9F2A #4C2A9F
analogous
#9F872A #7D9F2A #439F2A
triadic
#7D9F2A #2A7D9F #9F2A7D
tetradic
#7D9F2A #2A9F87 #4C2A9F #9F2A43
square
#7D9F2A #2A9F87 #4C2A9F #9F2A43
split-complementary
#7D9F2A #2A439F #872A9F
monochromatic
#313E10 #576F1D #7D9F2A #A1CB3B #B8D86B

Accessibility & contrast

On white

3.06
#7D9F2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.86
#7D9F2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D9F2A
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D9F2A#FFFFFF#000000##000000
##7D9F2A1.003.066.866.86
#FFFFFF3.061.0021.0021.00
#0000006.8621.001.001.00
##0000006.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89514
Deuteranopia (green-blind)
#A39334
Tritanopia (blue-blind)
#839788
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #7d9f2a;
/* rgb */ color: rgb(125, 159, 42);
/* oklch */ color: oklch(65.5% 0.146 124.6);
Tailwind
colors: {
  custom: {
    50: '#a6bb6c',
    500: '#7d9f2a',
    950: '#000000',
  },
}
SCSS
$custom: #7d9f2a;
$custom-light: #a6bb6c;
$custom-dark: #000000;
JSON
{
  "hex": "#7d9f2a",
  "rgb": {
    "r": 125,
    "g": 159,
    "b": 42
  },
  "hsl": {
    "h": 77.436,
    "s": 58.209,
    "l": 39.412
  },
  "oklch": {
    "l": 0.65463,
    "c": 0.14588,
    "h": 124.6
  },
  "luminance": 0.29323
}

Semantic roles & 50–950 ramp

primary
#7D9F2A
secondary
#8066BF
accent
#46E173
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101107
muted
#7F807A

Preview Lab

Preview with #7D9F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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