#7F9C1D#7F9C1D

#7F9C1D is a light, vivid yellow-green. Relative luminance 0.284; OKLCH L 64.8% C 0.148 H 122.4°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#7F9C1D
RGBrgb(127, 156, 29)
HSLhsl(74, 69%, 36%)
HSVhsv(74, 81%, 61%)
CMYKcmyk(18.6%, 0%, 81.4%, 38.8%)
CIE-LABlab(60.23, -26.96, 57.32)
CIE-LCHlch(60.23, 63.34, 115.19°)
OKLaboklab(64.8% -0.0796 0.1252)
OKLCHoklch(64.8% 0.148 122.4)
XYZxyz(20.8630, 28.3776, 5.5405)
Luminance0.2838 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F9C1D #3A1D9C
analogous
#9C7A1D #7F9C1D #409C1D
triadic
#7F9C1D #1D7F9C #9C1D7F
tetradic
#7F9C1D #1D9C7A #3A1D9C #9C1D40
square
#7F9C1D #1D9C7A #3A1D9C #9C1D40
split-complementary
#7F9C1D #1D409C #7A1D9C
monochromatic
#2B350A #556813 #7F9C1D #A9D027 #BFDF54

Accessibility & contrast

On white

3.15
#7F9C1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.68
#7F9C1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F9C1D
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F9C1D#FFFFFF#000000##000000
##7F9C1D1.003.156.686.68
#FFFFFF3.151.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69200
Deuteranopia (green-blind)
#A2912B
Tritanopia (blue-blind)
#869485
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #7f9c1d;
/* rgb */ color: rgb(127, 156, 29);
/* oklch */ color: oklch(64.8% 0.148 122.4);
Tailwind
colors: {
  custom: {
    50: '#a8b966',
    500: '#7f9c1d',
    950: '#000000',
  },
}
SCSS
$custom: #7f9c1d;
$custom-light: #a8b966;
$custom-dark: #000000;
JSON
{
  "hex": "#7f9c1d",
  "rgb": {
    "r": 127,
    "g": 156,
    "b": 29
  },
  "hsl": {
    "h": 73.701,
    "s": 68.649,
    "l": 36.275
  },
  "oklch": {
    "l": 0.64799,
    "c": 0.14833,
    "h": 122.4
  },
  "luminance": 0.28378
}

Semantic roles & 50–950 ramp

primary
#7F9C1D
secondary
#6C52C2
accent
#3CEB64
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7F9C1D

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

Preview Lab → · Contrast checker → · Palette generator →

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