#4A901F#4A901F

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

Color values

HEX#4A901F
RGBrgb(74, 144, 31)
HSLhsl(97, 65%, 34%)
HSVhsv(97, 78%, 56%)
CMYKcmyk(48.6%, 0%, 78.5%, 43.5%)
CIE-LABlab(53.49, -41.63, 49.37)
CIE-LCHlch(53.49, 64.58, 130.14°)
OKLaboklab(58.52% -0.1158 0.1101)
OKLCHoklch(58.52% 0.16 136.5)
XYZxyz(13.0443, 21.5004, 4.7587)
Luminance0.2150 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A901F #651F90
analogous
#83901F #4A901F #1F902D
triadic
#4A901F #1F4A90 #901F4A
tetradic
#4A901F #1F8390 #651F90 #902D1F
square
#4A901F #1F8390 #651F90 #902D1F
split-complementary
#4A901F #2D1F90 #901F83
monochromatic
#162B09 #305E14 #4A901F #64C22A #84D950

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4A901F#FFFFFF#000000##000000
##4A901F1.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4a901f;
/* rgb */ color: rgb(74, 144, 31);
/* oklch */ color: oklch(58.5% 0.160 136.5);
Tailwind
colors: {
  custom: {
    50: '#84b164',
    500: '#4a901f',
    950: '#000000',
  },
}
SCSS
$custom: #4a901f;
$custom-light: #84b164;
$custom-dark: #000000;
JSON
{
  "hex": "#4a901f",
  "rgb": {
    "r": 74,
    "g": 144,
    "b": 31
  },
  "hsl": {
    "h": 97.168,
    "s": 64.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.58523,
    "c": 0.15978,
    "h": 136.5
  },
  "luminance": 0.21501
}

Semantic roles & 50–950 ramp

primary
#4A901F
secondary
#934EBC
accent
#40E8A8
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0B1106
muted
#7C807A

Preview Lab

Preview with #4A901F

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

Preview Lab → · Contrast checker → · Palette generator →

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