#7F941A#7F941A

#7F941A is a light, vivid yellow-green. Relative luminance 0.258; OKLCH L 62.8% C 0.140 H 119.6°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#7F941A
RGBrgb(127, 148, 26)
HSLhsl(70, 70%, 34%)
HSVhsv(70, 82%, 58%)
CMYKcmyk(14.2%, 0%, 82.4%, 42%)
CIE-LABlab(57.81, -23.12, 56.02)
CIE-LCHlch(57.81, 60.61, 112.43°)
OKLaboklab(62.85% -0.0693 0.1219)
OKLCHoklch(62.85% 0.14 119.6)
XYZxyz(19.5292, 25.7665, 4.9217)
Luminance0.2577 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F941A #2F1A94
analogous
#946C1A #7F941A #42941A
triadic
#7F941A #1A7F94 #941A7F
tetradic
#7F941A #1A946C #2F1A94 #941A42
square
#7F941A #1A946C #2F1A94 #941A42
split-complementary
#7F941A #1A4294 #6C1A94
monochromatic
#262C08 #526011 #7F941A #ACC823 #C5DF49

Accessibility & contrast

On white

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

On black

6.15
#7F941A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F941A
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F941A#FFFFFF#000000##000000
##7F941A1.003.416.156.15
#FFFFFF3.411.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f941a;
/* rgb */ color: rgb(127, 148, 26);
/* oklch */ color: oklch(62.8% 0.140 119.6);
Tailwind
colors: {
  custom: {
    50: '#a8b363',
    500: '#7f941a',
    950: '#000000',
  },
}
SCSS
$custom: #7f941a;
$custom-light: #a8b363;
$custom-dark: #000000;
JSON
{
  "hex": "#7f941a",
  "rgb": {
    "r": 127,
    "g": 148,
    "b": 26
  },
  "hsl": {
    "h": 70.328,
    "s": 70.115,
    "l": 34.118
  },
  "oklch": {
    "l": 0.62846,
    "c": 0.14024,
    "h": 119.6
  },
  "luminance": 0.25766
}

Semantic roles & 50–950 ramp

primary
#7F941A
secondary
#5E49C1
accent
#3BED5A
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7F941A

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

Preview Lab → · Contrast checker → · Palette generator →

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