#7D9E2F#7D9E2F

#7D9E2F is a light, vivid yellow-green. Relative luminance 0.290; OKLCH L 65.3% C 0.141 H 124.6°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#7D9E2F
RGBrgb(125, 158, 47)
HSLhsl(78, 54%, 40%)
HSVhsv(78, 70%, 62%)
CMYKcmyk(20.9%, 0%, 70.3%, 38%)
CIE-LABlab(60.80, -27.81, 51.63)
CIE-LCHlch(60.80, 58.65, 118.31°)
OKLaboklab(65.26% -0.0803 0.1163)
OKLCHoklch(65.26% 0.141 124.6)
XYZxyz(21.1976, 29.0187, 7.1732)
Luminance0.2902 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D9E2F #502F9E
analogous
#9E872F #7D9E2F #459E2F
triadic
#7D9E2F #2F7D9E #9E2F7D
tetradic
#7D9E2F #2F9E87 #502F9E #9E2F45
square
#7D9E2F #2F9E87 #502F9E #9E2F45
split-complementary
#7D9E2F #2F459E #872F9E
monochromatic
#324013 #586F21 #7D9E2F #A0C743 #B8D572

Accessibility & contrast

On white

3.09
#7D9E2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.80
#7D9E2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D9E2F
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D9E2F#FFFFFF#000000##000000
##7D9E2F1.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7941E
Deuteranopia (green-blind)
#A29238
Tritanopia (blue-blind)
#839688
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #7d9e2f;
/* rgb */ color: rgb(125, 158, 47);
/* oklch */ color: oklch(65.3% 0.141 124.6);
Tailwind
colors: {
  custom: {
    50: '#a6ba6e',
    500: '#7d9e2f',
    950: '#000000',
  },
}
SCSS
$custom: #7d9e2f;
$custom-light: #a6ba6e;
$custom-dark: #000000;
JSON
{
  "hex": "#7d9e2f",
  "rgb": {
    "r": 125,
    "g": 158,
    "b": 47
  },
  "hsl": {
    "h": 77.838,
    "s": 54.146,
    "l": 40.196
  },
  "oklch": {
    "l": 0.65258,
    "c": 0.14131,
    "h": 124.6
  },
  "luminance": 0.29019
}

Semantic roles & 50–950 ramp

primary
#7D9E2F
secondary
#846CBD
accent
#4ADE76
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101108
muted
#7F807B

Preview Lab

Preview with #7D9E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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