#7F9B1D#7F9B1D

#7F9B1D is a light, vivid yellow-green. Relative luminance 0.280; OKLCH L 64.6% C 0.147 H 122.1°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#7F9B1D
RGBrgb(127, 155, 29)
HSLhsl(73, 68%, 36%)
HSVhsv(73, 81%, 61%)
CMYKcmyk(18.1%, 0%, 81.3%, 39.2%)
CIE-LABlab(59.93, -26.47, 57.05)
CIE-LCHlch(59.93, 62.89, 114.89°)
OKLaboklab(64.56% -0.0782 0.1246)
OKLCHoklch(64.56% 0.147 122.1)
XYZxyz(20.6958, 28.0434, 5.4848)
Luminance0.2804 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F9B1D #391D9B
analogous
#9B781D #7F9B1D #409B1D
triadic
#7F9B1D #1D7F9B #9B1D7F
tetradic
#7F9B1D #1D9B78 #391D9B #9B1D40
square
#7F9B1D #1D9B78 #391D9B #9B1D40
split-complementary
#7F9B1D #1D409B #781D9B
monochromatic
#2B340A #556713 #7F9B1D #A9CF27 #C0DF53

Accessibility & contrast

On white

3.18
#7F9B1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.61
#7F9B1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F9B1D
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F9B1D#FFFFFF#000000##000000
##7F9B1D1.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59100
Deuteranopia (green-blind)
#A1902A
Tritanopia (blue-blind)
#869384
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #7f9b1d;
/* rgb */ color: rgb(127, 155, 29);
/* oklch */ color: oklch(64.6% 0.147 122.1);
Tailwind
colors: {
  custom: {
    50: '#a8b865',
    500: '#7f9b1d',
    950: '#000000',
  },
}
SCSS
$custom: #7f9b1d;
$custom-light: #a8b865;
$custom-dark: #000000;
JSON
{
  "hex": "#7f9b1d",
  "rgb": {
    "r": 127,
    "g": 155,
    "b": 29
  },
  "hsl": {
    "h": 73.333,
    "s": 68.478,
    "l": 36.078
  },
  "oklch": {
    "l": 0.64556,
    "c": 0.14714,
    "h": 122.1
  },
  "luminance": 0.28043
}

Semantic roles & 50–950 ramp

primary
#7F9B1D
secondary
#6B52C2
accent
#3CEB63
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7F9B1D

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

Preview Lab → · Contrast checker → · Palette generator →

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