#7F9F1B#7F9F1B

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

Color values

HEX#7F9F1B
RGBrgb(127, 159, 27)
HSLhsl(75, 71%, 36%)
HSVhsv(75, 83%, 62%)
CMYKcmyk(20.1%, 0%, 83%, 37.6%)
CIE-LABlab(61.12, -28.49, 58.66)
CIE-LCHlch(61.12, 65.21, 115.90°)
OKLaboklab(65.52% -0.0839 0.1277)
OKLCHoklch(65.52% 0.153 123.3)
XYZxyz(21.3487, 29.3873, 5.5843)
Luminance0.2939 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F9F1B #3B1B9F
analogous
#9F7D1B #7F9F1B #3D9F1B
triadic
#7F9F1B #1B7F9F #9F1B7F
tetradic
#7F9F1B #1B9F7D #3B1B9F #9F1B3D
square
#7F9F1B #1B9F7D #3B1B9F #9F1B3D
split-complementary
#7F9F1B #1B3D9F #7D1B9F
monochromatic
#2B3609 #556B12 #7F9F1B #A9D324 #BFE253

Accessibility & contrast

On white

3.05
#7F9F1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.88
#7F9F1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F9F1B
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F9F1B#FFFFFF#000000##000000
##7F9F1B1.003.056.886.88
#FFFFFF3.051.0021.0021.00
#0000006.8821.001.001.00
##0000006.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99400
Deuteranopia (green-blind)
#A5932A
Tritanopia (blue-blind)
#869787
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #7f9f1b;
/* rgb */ color: rgb(127, 159, 27);
/* oklch */ color: oklch(65.5% 0.153 123.3);
Tailwind
colors: {
  custom: {
    50: '#a8bb65',
    500: '#7f9f1b',
    950: '#000000',
  },
}
SCSS
$custom: #7f9f1b;
$custom-light: #a8bb65;
$custom-dark: #000000;
JSON
{
  "hex": "#7f9f1b",
  "rgb": {
    "r": 127,
    "g": 159,
    "b": 27
  },
  "hsl": {
    "h": 74.545,
    "s": 70.968,
    "l": 36.471
  },
  "oklch": {
    "l": 0.65519,
    "c": 0.1528,
    "h": 123.3
  },
  "luminance": 0.29387
}

Semantic roles & 50–950 ramp

primary
#7F9F1B
secondary
#6D51C5
accent
#3AEE66
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7F9F1B

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

Preview Lab → · Contrast checker → · Palette generator →

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