#4A801F#4A801F

#4A801F is a mid, vivid yellow-green. Relative luminance 0.170; OKLCH L 54.2% C 0.139 H 134.5°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#4A801F
RGBrgb(74, 128, 31)
HSLhsl(93, 61%, 31%)
HSVhsv(93, 76%, 50%)
CMYKcmyk(42.2%, 0%, 75.8%, 49.8%)
CIE-LABlab(48.25, -34.84, 44.25)
CIE-LCHlch(48.25, 56.32, 128.21°)
OKLaboklab(54.22% -0.0975 0.0993)
OKLCHoklch(54.22% 0.139 134.5)
XYZxyz(10.7903, 16.9926, 4.0074)
Luminance0.1699 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A801F #551F80
analogous
#7A801F #4A801F #1F8024
triadic
#4A801F #1F4A80 #801F4A
tetradic
#4A801F #1F7A80 #551F80 #80241F
square
#4A801F #1F7A80 #551F80 #80241F
split-complementary
#4A801F #241F80 #801F7A
monochromatic
#111D07 #2E4F13 #4A801F #66B12B #85D247

Accessibility & contrast

On white

4.77
#4A801F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#4A801F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A801F
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A801F#FFFFFF#000000##FFFFFF
##4A801F1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85750C
Deuteranopia (green-blind)
#7E7129
Tritanopia (blue-blind)
#497B6D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4a801f;
/* rgb */ color: rgb(74, 128, 31);
/* oklch */ color: oklch(54.2% 0.139 134.5);
Tailwind
colors: {
  custom: {
    50: '#81a562',
    500: '#4a801f',
    950: '#000000',
  },
}
SCSS
$custom: #4a801f;
$custom-light: #81a562;
$custom-dark: #000000;
JSON
{
  "hex": "#4a801f",
  "rgb": {
    "r": 74,
    "g": 128,
    "b": 31
  },
  "hsl": {
    "h": 93.402,
    "s": 61.006,
    "l": 31.176
  },
  "oklch": {
    "l": 0.54221,
    "c": 0.13921,
    "h": 134.5
  },
  "luminance": 0.16993
}

Semantic roles & 50–950 ramp

primary
#4A801F
secondary
#8348B3
accent
#44E49D
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F05
muted
#7C7F7A

Preview Lab

Preview with #4A801F

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

Preview Lab → · Contrast checker → · Palette generator →

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