#4E951F#4E951F

#4E951F is a mid, vivid yellow-green. Relative luminance 0.232; OKLCH L 60.0% C 0.164 H 136.1°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#4E951F
RGBrgb(78, 149, 31)
HSLhsl(96, 66%, 35%)
HSVhsv(96, 79%, 58%)
CMYKcmyk(47.7%, 0%, 79.2%, 41.6%)
CIE-LABlab(55.29, -42.37, 51.14)
CIE-LCHlch(55.29, 66.42, 129.64°)
OKLaboklab(60.05% -0.1181 0.1137)
OKLCHoklch(60.05% 0.164 136.1)
XYZxyz(14.1363, 23.2126, 5.0317)
Luminance0.2321 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E951F #661F95
analogous
#89951F #4E951F #1F952B
triadic
#4E951F #1F4E95 #951F4E
tetradic
#4E951F #1F8995 #661F95 #952B1F
square
#4E951F #1F8995 #661F95 #952B1F
split-complementary
#4E951F #2B1F95 #951F89
monochromatic
#19300A #336214 #4E951F #69C82A #89DB53

Accessibility & contrast

On white

3.72
#4E951F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#4E951F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E951F
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E951F#FFFFFF#000000##000000
##4E951F1.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8800
Deuteranopia (green-blind)
#91822C
Tritanopia (blue-blind)
#4B8F7F
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #4e951f;
/* rgb */ color: rgb(78, 149, 31);
/* oklch */ color: oklch(60.0% 0.164 136.1);
Tailwind
colors: {
  custom: {
    50: '#87b565',
    500: '#4e951f',
    950: '#000000',
  },
}
SCSS
$custom: #4e951f;
$custom-light: #87b565;
$custom-dark: #000000;
JSON
{
  "hex": "#4e951f",
  "rgb": {
    "r": 78,
    "g": 149,
    "b": 31
  },
  "hsl": {
    "h": 96.102,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.60047,
    "c": 0.16394,
    "h": 136.1
  },
  "luminance": 0.23214
}

Semantic roles & 50–950 ramp

primary
#4E951F
secondary
#9351BF
accent
#3FE9A5
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4E951F

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

Preview Lab → · Contrast checker → · Palette generator →

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