#7F9D1E#7F9D1E

#7F9D1E is a light, vivid yellow-green. Relative luminance 0.287; OKLCH L 65.0% C 0.149 H 122.8°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#7F9D1E
RGBrgb(127, 157, 30)
HSLhsl(74, 68%, 37%)
HSVhsv(74, 81%, 62%)
CMYKcmyk(19.1%, 0%, 80.9%, 38.4%)
CIE-LABlab(60.53, -27.40, 57.30)
CIE-LCHlch(60.53, 63.52, 115.56°)
OKLaboklab(65.05% -0.0807 0.1253)
OKLCHoklch(65.05% 0.149 122.8)
XYZxyz(21.0440, 28.7196, 5.6628)
Luminance0.2872 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F9D1E #3C1E9D
analogous
#9D7C1E #7F9D1E #409D1E
triadic
#7F9D1E #1E7F9D #9D1E7F
tetradic
#7F9D1E #1E9D7C #3C1E9D #9D1E40
square
#7F9D1E #1E9D7C #3C1E9D #9D1E40
split-complementary
#7F9D1E #1E409D #7C1E9D
monochromatic
#2C360A #556A14 #7F9D1E #A9D028 #BFDF57

Accessibility & contrast

On white

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

On black

6.74
#7F9D1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F9D1E
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F9D1E#FFFFFF#000000##000000
##7F9D1E1.003.116.746.74
#FFFFFF3.111.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79300
Deuteranopia (green-blind)
#A3922B
Tritanopia (blue-blind)
#869586
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #7f9d1e;
/* rgb */ color: rgb(127, 157, 30);
/* oklch */ color: oklch(65.0% 0.149 122.8);
Tailwind
colors: {
  custom: {
    50: '#a8ba66',
    500: '#7f9d1e',
    950: '#000000',
  },
}
SCSS
$custom: #7f9d1e;
$custom-light: #a8ba66;
$custom-dark: #000000;
JSON
{
  "hex": "#7f9d1e",
  "rgb": {
    "r": 127,
    "g": 157,
    "b": 30
  },
  "hsl": {
    "h": 74.173,
    "s": 67.914,
    "l": 36.667
  },
  "oklch": {
    "l": 0.65047,
    "c": 0.14906,
    "h": 122.8
  },
  "luminance": 0.2872
}

Semantic roles & 50–950 ramp

primary
#7F9D1E
secondary
#6E54C2
accent
#3DEB66
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7F9D1E

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

Preview Lab → · Contrast checker → · Palette generator →

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