#7F9D2D#7F9D2D

#7F9D2D is a light, vivid yellow-green. Relative luminance 0.288; OKLCH L 65.1% C 0.140 H 123.4°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#7F9D2D
RGBrgb(127, 157, 45)
HSLhsl(76, 55%, 40%)
HSVhsv(76, 71%, 62%)
CMYKcmyk(19.1%, 0%, 71.3%, 38.4%)
CIE-LABlab(60.62, -26.63, 52.28)
CIE-LCHlch(60.62, 58.67, 116.99°)
OKLaboklab(65.14% -0.0774 0.1173)
OKLCHoklch(65.14% 0.14 123.4)
XYZxyz(21.2832, 28.8153, 6.9228)
Luminance0.2882 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F9D2D #4B2D9D
analogous
#9D832D #7F9D2D #479D2D
triadic
#7F9D2D #2D7F9D #9D2D7F
tetradic
#7F9D2D #2D9D83 #4B2D9D #9D2D47
square
#7F9D2D #2D9D83 #4B2D9D #9D2D47
split-complementary
#7F9D2D #2D479D #832D9D
monochromatic
#323E12 #596D1F #7F9D2D #A3C83F #BAD66F

Accessibility & contrast

On white

3.11
#7F9D2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.76
#7F9D2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F9D2D
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F9D2D#FFFFFF#000000##000000
##7F9D2D1.003.116.766.76
#FFFFFF3.111.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6931A
Deuteranopia (green-blind)
#A29236
Tritanopia (blue-blind)
#859587
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #7f9d2d;
/* rgb */ color: rgb(127, 157, 45);
/* oklch */ color: oklch(65.1% 0.140 123.4);
Tailwind
colors: {
  custom: {
    50: '#a7ba6d',
    500: '#7f9d2d',
    950: '#000000',
  },
}
SCSS
$custom: #7f9d2d;
$custom-light: #a7ba6d;
$custom-dark: #000000;
JSON
{
  "hex": "#7f9d2d",
  "rgb": {
    "r": 127,
    "g": 157,
    "b": 45
  },
  "hsl": {
    "h": 76.071,
    "s": 55.446,
    "l": 39.608
  },
  "oklch": {
    "l": 0.65142,
    "c": 0.14047,
    "h": 123.4
  },
  "luminance": 0.28815
}

Semantic roles & 50–950 ramp

primary
#7F9D2D
secondary
#7F69BD
accent
#49DF71
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101107
muted
#7F807A

Preview Lab

Preview with #7F9D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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