#7D9F2F#7D9F2F

#7D9F2F 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#7D9F2F
RGBrgb(125, 159, 47)
HSLhsl(78, 54%, 40%)
HSVhsv(78, 70%, 62%)
CMYKcmyk(21.4%, 0%, 70.4%, 37.6%)
CIE-LABlab(61.10, -28.29, 51.94)
CIE-LCHlch(61.10, 59.15, 118.58°)
OKLaboklab(65.5% -0.0816 0.1169)
OKLCHoklch(65.5% 0.143 124.9)
XYZxyz(21.3688, 29.3613, 7.2303)
Luminance0.2936 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D9F2F #512F9F
analogous
#9F892F #7D9F2F #459F2F
triadic
#7D9F2F #2F7D9F #9F2F7D
tetradic
#7D9F2F #2F9F89 #512F9F #9F2F45
square
#7D9F2F #2F9F89 #512F9F #9F2F45
split-complementary
#7D9F2F #2F459F #892F9F
monochromatic
#334113 #587021 #7D9F2F #A0C844 #B8D673

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D9F2F#FFFFFF#000000##000000
##7D9F2F1.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)
#A8951D
Deuteranopia (green-blind)
#A39338
Tritanopia (blue-blind)
#839789
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #7d9f2f;
/* rgb */ color: rgb(125, 159, 47);
/* oklch */ color: oklch(65.5% 0.143 124.9);
Tailwind
colors: {
  custom: {
    50: '#a6bb6e',
    500: '#7d9f2f',
    950: '#000000',
  },
}
SCSS
$custom: #7d9f2f;
$custom-light: #a6bb6e;
$custom-dark: #000000;
JSON
{
  "hex": "#7d9f2f",
  "rgb": {
    "r": 125,
    "g": 159,
    "b": 47
  },
  "hsl": {
    "h": 78.214,
    "s": 54.369,
    "l": 40.392
  },
  "oklch": {
    "l": 0.65501,
    "c": 0.14259,
    "h": 124.9
  },
  "luminance": 0.29361
}

Semantic roles & 50–950 ramp

primary
#7D9F2F
secondary
#856DBD
accent
#4ADE77
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101208
muted
#7F817B

Preview Lab

Preview with #7D9F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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