#4B901F#4B901F

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

Color values

HEX#4B901F
RGBrgb(75, 144, 31)
HSLhsl(97, 65%, 34%)
HSVhsv(97, 78%, 56%)
CMYKcmyk(47.9%, 0%, 78.5%, 43.5%)
CIE-LABlab(53.54, -41.31, 49.42)
CIE-LCHlch(53.54, 64.41, 129.89°)
OKLaboklab(58.57% -0.115 0.1102)
OKLCHoklch(58.57% 0.159 136.2)
XYZxyz(13.1219, 21.5404, 4.7623)
Luminance0.2154 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B901F #641F90
analogous
#84901F #4B901F #1F902C
triadic
#4B901F #1F4B90 #901F4B
tetradic
#4B901F #1F8490 #641F90 #902C1F
square
#4B901F #1F8490 #641F90 #902C1F
split-complementary
#4B901F #2C1F90 #901F84
monochromatic
#172B09 #315E14 #4B901F #65C22A #86D950

Accessibility & contrast

On white

3.96
#4B901F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#4B901F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4B901F
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B901F#FFFFFF#000000##000000
##4B901F1.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4b901f;
/* rgb */ color: rgb(75, 144, 31);
/* oklch */ color: oklch(58.6% 0.159 136.2);
Tailwind
colors: {
  custom: {
    50: '#84b164',
    500: '#4b901f',
    950: '#000000',
  },
}
SCSS
$custom: #4b901f;
$custom-light: #84b164;
$custom-dark: #000000;
JSON
{
  "hex": "#4b901f",
  "rgb": {
    "r": 75,
    "g": 144,
    "b": 31
  },
  "hsl": {
    "h": 96.637,
    "s": 64.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.5857,
    "c": 0.15926,
    "h": 136.2
  },
  "luminance": 0.21541
}

Semantic roles & 50–950 ramp

primary
#4B901F
secondary
#924EBC
accent
#40E8A6
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0B1106
muted
#7C807A

Preview Lab

Preview with #4B901F

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

Preview Lab → · Contrast checker → · Palette generator →

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