#4C901F#4C901F

#4C901F is a mid, vivid yellow-green. Relative luminance 0.216; OKLCH L 58.6% C 0.159 H 136.0°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#4C901F
RGBrgb(76, 144, 31)
HSLhsl(96, 65%, 34%)
HSVhsv(96, 78%, 56%)
CMYKcmyk(47.2%, 0%, 78.5%, 43.5%)
CIE-LABlab(53.58, -40.98, 49.48)
CIE-LCHlch(53.58, 64.25, 129.63°)
OKLaboklab(58.62% -0.1142 0.1103)
OKLCHoklch(58.62% 0.159 136)
XYZxyz(13.2007, 21.5811, 4.7660)
Luminance0.2158 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C901F #631F90
analogous
#85901F #4C901F #1F902B
triadic
#4C901F #1F4C90 #901F4C
tetradic
#4C901F #1F8590 #631F90 #902B1F
square
#4C901F #1F8590 #631F90 #902B1F
split-complementary
#4C901F #2B1F90 #901F85
monochromatic
#172B09 #315E14 #4C901F #67C22A #87D950

Accessibility & contrast

On white

3.95
#4C901F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#4C901F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C901F
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C901F#FFFFFF#000000##000000
##4C901F1.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#958402
Deuteranopia (green-blind)
#8C7E2B
Tritanopia (blue-blind)
#498A7B
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4c901f;
/* rgb */ color: rgb(76, 144, 31);
/* oklch */ color: oklch(58.6% 0.159 136.0);
Tailwind
colors: {
  custom: {
    50: '#85b164',
    500: '#4c901f',
    950: '#000000',
  },
}
SCSS
$custom: #4c901f;
$custom-light: #85b164;
$custom-dark: #000000;
JSON
{
  "hex": "#4c901f",
  "rgb": {
    "r": 76,
    "g": 144,
    "b": 31
  },
  "hsl": {
    "h": 96.106,
    "s": 64.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.58618,
    "c": 0.15875,
    "h": 136
  },
  "luminance": 0.21582
}

Semantic roles & 50–950 ramp

primary
#4C901F
secondary
#914EBC
accent
#40E8A5
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4C901F

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

Preview Lab → · Contrast checker → · Palette generator →

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