#4A901B#4A901B

#4A901B is a mid, vivid yellow-green. Relative luminance 0.215; OKLCH L 58.5% C 0.162 H 136.2°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#4A901B
RGBrgb(74, 144, 27)
HSLhsl(96, 68%, 34%)
HSVhsv(96, 81%, 56%)
CMYKcmyk(48.6%, 0%, 81.3%, 43.5%)
CIE-LABlab(53.47, -41.87, 50.64)
CIE-LCHlch(53.47, 65.70, 129.58°)
OKLaboklab(58.5% -0.1167 0.1121)
OKLCHoklch(58.5% 0.162 136.2)
XYZxyz(12.9948, 21.4806, 4.4981)
Luminance0.2148 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A901B #611B90
analogous
#84901B #4A901B #1B9026
triadic
#4A901B #1B4A90 #901B4A
tetradic
#4A901B #1B8490 #611B90 #90261B
square
#4A901B #1B8490 #611B90 #90261B
split-complementary
#4A901B #261B90 #901B84
monochromatic
#152908 #305C11 #4A901B #64C425 #84DD49

Accessibility & contrast

On white

3.97
#4A901B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#4A901B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A901B
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A901B#FFFFFF#000000##000000
##4A901B1.003.975.305.30
#FFFFFF3.971.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#8C7E29
Tritanopia (blue-blind)
#478A7B
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4a901b;
/* rgb */ color: rgb(74, 144, 27);
/* oklch */ color: oklch(58.5% 0.162 136.2);
Tailwind
colors: {
  custom: {
    50: '#84b162',
    500: '#4a901b',
    950: '#000000',
  },
}
SCSS
$custom: #4a901b;
$custom-light: #84b162;
$custom-dark: #000000;
JSON
{
  "hex": "#4a901b",
  "rgb": {
    "r": 74,
    "g": 144,
    "b": 27
  },
  "hsl": {
    "h": 95.897,
    "s": 68.421,
    "l": 33.529
  },
  "oklch": {
    "l": 0.58498,
    "c": 0.16183,
    "h": 136.2
  },
  "luminance": 0.21481
}

Semantic roles & 50–950 ramp

primary
#4A901B
secondary
#8F48BF
accent
#3DEBA5
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0B1106
muted
#7C807A

Preview Lab

Preview with #4A901B

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

Preview Lab → · Contrast checker → · Palette generator →

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