#4CA01F#4CA01F

#4CA01F is a light, vivid yellow-green. Relative luminance 0.268; OKLCH L 62.9% C 0.178 H 137.5°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#4CA01F
RGBrgb(76, 160, 31)
HSLhsl(99, 68%, 37%)
HSVhsv(99, 81%, 63%)
CMYKcmyk(52.5%, 0%, 80.6%, 37.3%)
CIE-LABlab(58.77, -47.36, 54.39)
CIE-LCHlch(58.77, 72.12, 131.05°)
OKLaboklab(62.89% -0.1314 0.1205)
OKLCHoklch(62.89% 0.178 137.5)
XYZxyz(15.7981, 26.7759, 5.6318)
Luminance0.2678 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4CA01F #731FA0
analogous
#8CA01F #4CA01F #1FA033
triadic
#4CA01F #1F4CA0 #A01F4C
tetradic
#4CA01F #1F8CA0 #731FA0 #A0331F
square
#4CA01F #1F8CA0 #731FA0 #A0331F
split-complementary
#4CA01F #331FA0 #A01F8C
monochromatic
#1B390B #346D15 #4CA01F #64D329 #89DF5A

Accessibility & contrast

On white

3.30
#4CA01F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#4CA01F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4CA01F
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4CA01F#FFFFFF#000000##000000
##4CA01F1.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59200
Deuteranopia (green-blind)
#9B8B2E
Tritanopia (blue-blind)
#469A88
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #4ca01f;
/* rgb */ color: rgb(76, 160, 31);
/* oklch */ color: oklch(62.9% 0.178 137.5);
Tailwind
colors: {
  custom: {
    50: '#87bd66',
    500: '#4ca01f',
    950: '#000000',
  },
}
SCSS
$custom: #4ca01f;
$custom-light: #87bd66;
$custom-dark: #000000;
JSON
{
  "hex": "#4ca01f",
  "rgb": {
    "r": 76,
    "g": 160,
    "b": 31
  },
  "hsl": {
    "h": 99.07,
    "s": 67.539,
    "l": 37.451
  },
  "oklch": {
    "l": 0.62885,
    "c": 0.17828,
    "h": 137.5
  },
  "luminance": 0.26777
}

Semantic roles & 50–950 ramp

primary
#4CA01F
secondary
#9E58C3
accent
#3DEAAE
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1206
muted
#7D817A

Preview Lab

Preview with #4CA01F

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

Preview Lab → · Contrast checker → · Palette generator →

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