#7D9F2E#7D9F2E

#7D9F2E is a light, vivid yellow-green. Relative luminance 0.294; OKLCH L 65.5% C 0.143 H 124.9°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#7D9F2E
RGBrgb(125, 159, 46)
HSLhsl(78, 55%, 40%)
HSVhsv(78, 71%, 62%)
CMYKcmyk(21.4%, 0%, 71.1%, 37.6%)
CIE-LABlab(61.09, -28.36, 52.32)
CIE-LCHlch(61.09, 59.51, 118.46°)
OKLaboklab(65.49% -0.0819 0.1176)
OKLCHoklch(65.49% 0.143 124.9)
XYZxyz(21.3489, 29.3533, 7.1252)
Luminance0.2935 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D9F2E #502E9F
analogous
#9F882E #7D9F2E #459F2E
triadic
#7D9F2E #2E7D9F #9F2E7D
tetradic
#7D9F2E #2E9F88 #502E9F #9F2E45
square
#7D9F2E #2E9F88 #502E9F #9F2E45
split-complementary
#7D9F2E #2E459F #882E9F
monochromatic
#324013 #587020 #7D9F2E #A0C842 #B8D671

Accessibility & contrast

On white

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

On black

6.87
#7D9F2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D9F2E
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D9F2E#FFFFFF#000000##000000
##7D9F2E1.003.066.876.87
#FFFFFF3.061.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8951B
Deuteranopia (green-blind)
#A39338
Tritanopia (blue-blind)
#839789
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #7d9f2e;
/* rgb */ color: rgb(125, 159, 46);
/* oklch */ color: oklch(65.5% 0.143 124.9);
Tailwind
colors: {
  custom: {
    50: '#a6bb6e',
    500: '#7d9f2e',
    950: '#000000',
  },
}
SCSS
$custom: #7d9f2e;
$custom-light: #a6bb6e;
$custom-dark: #000000;
JSON
{
  "hex": "#7d9f2e",
  "rgb": {
    "r": 125,
    "g": 159,
    "b": 46
  },
  "hsl": {
    "h": 78.053,
    "s": 55.122,
    "l": 40.196
  },
  "oklch": {
    "l": 0.65493,
    "c": 0.14328,
    "h": 124.9
  },
  "luminance": 0.29354
}

Semantic roles & 50–950 ramp

primary
#7D9F2E
secondary
#846BBE
accent
#49DE76
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101208
muted
#7F817B

Preview Lab

Preview with #7D9F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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