#4E9C1F#4E9C1F

#4E9C1F is a mid, vivid yellow-green. Relative luminance 0.255; OKLCH L 61.9% C 0.173 H 136.8°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#4E9C1F
RGBrgb(78, 156, 31)
HSLhsl(97, 67%, 37%)
HSVhsv(97, 80%, 61%)
CMYKcmyk(50%, 0%, 80.1%, 38.8%)
CIE-LABlab(57.55, -45.19, 53.28)
CIE-LCHlch(57.55, 69.86, 130.30°)
OKLaboklab(61.91% -0.1257 0.1182)
OKLCHoklch(61.91% 0.173 136.8)
XYZxyz(15.2772, 25.4945, 5.4120)
Luminance0.2550 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E9C1F #6D1F9C
analogous
#8D9C1F #4E9C1F #1F9C2F
triadic
#4E9C1F #1F4E9C #9C1F4E
tetradic
#4E9C1F #1F8D9C #6D1F9C #9C2F1F
square
#4E9C1F #1F8D9C #6D1F9C #9C2F1F
split-complementary
#4E9C1F #2F1F9C #9C1F8D
monochromatic
#1B360B #346915 #4E9C1F #68CF29 #8ADE58

Accessibility & contrast

On white

3.44
#4E9C1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#4E9C1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E9C1F
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E9C1F#FFFFFF#000000##000000
##4E9C1F1.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E00
Deuteranopia (green-blind)
#97882D
Tritanopia (blue-blind)
#4A9685
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #4e9c1f;
/* rgb */ color: rgb(78, 156, 31);
/* oklch */ color: oklch(61.9% 0.173 136.8);
Tailwind
colors: {
  custom: {
    50: '#88ba66',
    500: '#4e9c1f',
    950: '#000000',
  },
}
SCSS
$custom: #4e9c1f;
$custom-light: #88ba66;
$custom-dark: #000000;
JSON
{
  "hex": "#4e9c1f",
  "rgb": {
    "r": 78,
    "g": 156,
    "b": 31
  },
  "hsl": {
    "h": 97.44,
    "s": 66.845,
    "l": 36.667
  },
  "oklch": {
    "l": 0.61909,
    "c": 0.17251,
    "h": 136.8
  },
  "luminance": 0.25496
}

Semantic roles & 50–950 ramp

primary
#4E9C1F
secondary
#9955C1
accent
#3EEAA9
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1206
muted
#7D817A

Preview Lab

Preview with #4E9C1F

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

Preview Lab → · Contrast checker → · Palette generator →

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