#7F941E#7F941E

#7F941E is a light, vivid yellow-green. Relative luminance 0.258; OKLCH L 62.9% C 0.138 H 119.7°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#7F941E
RGBrgb(127, 148, 30)
HSLhsl(71, 66%, 35%)
HSVhsv(71, 80%, 58%)
CMYKcmyk(14.2%, 0%, 79.7%, 42%)
CIE-LABlab(57.83, -22.96, 54.86)
CIE-LCHlch(57.83, 59.47, 112.71°)
OKLaboklab(62.87% -0.0686 0.1201)
OKLCHoklch(62.87% 0.138 119.7)
XYZxyz(19.5771, 25.7857, 5.1738)
Luminance0.2579 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F941E #331E94
analogous
#946E1E #7F941E #44941E
triadic
#7F941E #1E7F94 #941E7F
tetradic
#7F941E #1E946E #331E94 #941E44
square
#7F941E #1E946E #331E94 #941E44
split-complementary
#7F941E #1E4494 #6E1E94
monochromatic
#282E09 #536114 #7F941E #ABC728 #C3DC51

Accessibility & contrast

On white

3.41
#7F941E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#7F941E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F941E
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F941E#FFFFFF#000000##000000
##7F941E1.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8B00
Deuteranopia (green-blind)
#9B8B2A
Tritanopia (blue-blind)
#878C7E
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #7f941e;
/* rgb */ color: rgb(127, 148, 30);
/* oklch */ color: oklch(62.9% 0.138 119.7);
Tailwind
colors: {
  custom: {
    50: '#a8b365',
    500: '#7f941e',
    950: '#000000',
  },
}
SCSS
$custom: #7f941e;
$custom-light: #a8b365;
$custom-dark: #000000;
JSON
{
  "hex": "#7f941e",
  "rgb": {
    "r": 127,
    "g": 148,
    "b": 30
  },
  "hsl": {
    "h": 70.678,
    "s": 66.292,
    "l": 34.902
  },
  "oklch": {
    "l": 0.62867,
    "c": 0.13833,
    "h": 119.7
  },
  "luminance": 0.25786
}

Semantic roles & 50–950 ramp

primary
#7F941E
secondary
#634FBF
accent
#3FE95D
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7F941E

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

Preview Lab → · Contrast checker → · Palette generator →

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