#4E971C#4E971C

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

Color values

HEX#4E971C
RGBrgb(78, 151, 28)
HSLhsl(96, 69%, 35%)
HSVhsv(96, 81%, 59%)
CMYKcmyk(48.3%, 0%, 81.5%, 40.8%)
CIE-LABlab(55.92, -43.35, 52.68)
CIE-LCHlch(55.92, 68.22, 129.46°)
OKLaboklab(60.56% -0.1209 0.1165)
OKLCHoklch(60.56% 0.168 136.1)
XYZxyz(14.4177, 23.8358, 4.9394)
Luminance0.2384 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E971C #651C97
analogous
#8B971C #4E971C #1C9728
triadic
#4E971C #1C4E97 #971C4E
tetradic
#4E971C #1C8B97 #651C97 #97281C
square
#4E971C #1C8B97 #651C97 #97281C
split-complementary
#4E971C #281C97 #971C8B
monochromatic
#193009 #336312 #4E971C #69CB26 #89DE4F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E971C#FFFFFF#000000##000000
##4E971C1.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)
#4B9181
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #4e971c;
/* rgb */ color: rgb(78, 151, 28);
/* oklch */ color: oklch(60.6% 0.168 136.1);
Tailwind
colors: {
  custom: {
    50: '#87b664',
    500: '#4e971c',
    950: '#000000',
  },
}
SCSS
$custom: #4e971c;
$custom-light: #87b664;
$custom-dark: #000000;
JSON
{
  "hex": "#4e971c",
  "rgb": {
    "r": 78,
    "g": 151,
    "b": 28
  },
  "hsl": {
    "h": 95.61,
    "s": 68.715,
    "l": 35.098
  },
  "oklch": {
    "l": 0.60562,
    "c": 0.16788,
    "h": 136.1
  },
  "luminance": 0.23837
}

Semantic roles & 50–950 ramp

primary
#4E971C
secondary
#924EC1
accent
#3CECA4
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4E971C

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

Preview Lab → · Contrast checker → · Palette generator →

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