#4E971B#4E971B

#4E971B is a mid, vivid yellow-green. Relative luminance 0.238; OKLCH L 60.6% C 0.168 H 136.0°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#4E971B
RGBrgb(78, 151, 27)
HSLhsl(95, 70%, 35%)
HSVhsv(95, 82%, 59%)
CMYKcmyk(48.3%, 0%, 82.1%, 40.8%)
CIE-LABlab(55.92, -43.41, 52.97)
CIE-LCHlch(55.92, 68.48, 129.33°)
OKLaboklab(60.56% -0.1211 0.1169)
OKLCHoklch(60.56% 0.168 136)
XYZxyz(14.4059, 23.8311, 4.8775)
Luminance0.2383 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E971B #641B97
analogous
#8C971B #4E971B #1B9726
triadic
#4E971B #1B4E97 #971B4E
tetradic
#4E971B #1B8C97 #641B97 #97261B
square
#4E971B #1B8C97 #641B97 #97261B
split-complementary
#4E971B #261B97 #971B8C
monochromatic
#182F08 #336312 #4E971B #69CB24 #89DF4D

Accessibility & contrast

On white

3.64
#4E971B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#4E971B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E971B
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E971B#FFFFFF#000000##000000
##4E971B1.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8A00
Deuteranopia (green-blind)
#93842A
Tritanopia (blue-blind)
#4B9180
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #4e971b;
/* rgb */ color: rgb(78, 151, 27);
/* oklch */ color: oklch(60.6% 0.168 136.0);
Tailwind
colors: {
  custom: {
    50: '#87b663',
    500: '#4e971b',
    950: '#000000',
  },
}
SCSS
$custom: #4e971b;
$custom-light: #87b663;
$custom-dark: #000000;
JSON
{
  "hex": "#4e971b",
  "rgb": {
    "r": 78,
    "g": 151,
    "b": 27
  },
  "hsl": {
    "h": 95.323,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.60557,
    "c": 0.16834,
    "h": 136
  },
  "luminance": 0.23832
}

Semantic roles & 50–950 ramp

primary
#4E971B
secondary
#914CC1
accent
#3BECA4
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4E971B

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

Preview Lab → · Contrast checker → · Palette generator →

#4E971B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva