#7F941B#7F941B

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

Color values

HEX#7F941B
RGBrgb(127, 148, 27)
HSLhsl(70, 69%, 34%)
HSVhsv(70, 82%, 58%)
CMYKcmyk(14.2%, 0%, 81.8%, 42%)
CIE-LABlab(57.82, -23.09, 55.74)
CIE-LCHlch(57.82, 60.33, 112.50°)
OKLaboklab(62.85% -0.0691 0.1215)
OKLCHoklch(62.85% 0.14 119.6)
XYZxyz(19.5406, 25.7711, 4.9816)
Luminance0.2577 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F941B #301B94
analogous
#946D1B #7F941B #43941B
triadic
#7F941B #1B7F94 #941B7F
tetradic
#7F941B #1B946D #301B94 #941B43
square
#7F941B #1B946D #301B94 #941B43
split-complementary
#7F941B #1B4394 #6D1B94
monochromatic
#262C08 #536012 #7F941B #ABC824 #C5DE4B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F941B#FFFFFF#000000##000000
##7F941B1.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)
#9C8B28
Tritanopia (blue-blind)
#878C7E
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #7f941b;
/* rgb */ color: rgb(127, 148, 27);
/* oklch */ color: oklch(62.9% 0.140 119.6);
Tailwind
colors: {
  custom: {
    50: '#a8b364',
    500: '#7f941b',
    950: '#000000',
  },
}
SCSS
$custom: #7f941b;
$custom-light: #a8b364;
$custom-dark: #000000;
JSON
{
  "hex": "#7f941b",
  "rgb": {
    "r": 127,
    "g": 148,
    "b": 27
  },
  "hsl": {
    "h": 70.413,
    "s": 69.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.62851,
    "c": 0.13978,
    "h": 119.6
  },
  "luminance": 0.25771
}

Semantic roles & 50–950 ramp

primary
#7F941B
secondary
#5F4BC0
accent
#3CEC5A
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7F941B

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

Preview Lab → · Contrast checker → · Palette generator →

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