#4B801F#4B801F

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

Color values

HEX#4B801F
RGBrgb(75, 128, 31)
HSLhsl(93, 61%, 31%)
HSVhsv(93, 76%, 50%)
CMYKcmyk(41.4%, 0%, 75.8%, 49.8%)
CIE-LABlab(48.30, -34.48, 44.32)
CIE-LCHlch(48.30, 56.15, 127.88°)
OKLaboklab(54.28% -0.0966 0.0995)
OKLCHoklch(54.28% 0.139 134.2)
XYZxyz(10.8679, 17.0326, 4.0110)
Luminance0.1703 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B801F #541F80
analogous
#7B801F #4B801F #1F8024
triadic
#4B801F #1F4B80 #801F4B
tetradic
#4B801F #1F7B80 #541F80 #80241F
square
#4B801F #1F7B80 #541F80 #80241F
split-complementary
#4B801F #241F80 #801F7B
monochromatic
#111D07 #2E4F13 #4B801F #68B12B #86D247

Accessibility & contrast

On white

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

On black

4.41
#4B801F on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4B801F#FFFFFF#000000##FFFFFF
##4B801F1.004.774.414.77
#FFFFFF4.771.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4b801f;
/* rgb */ color: rgb(75, 128, 31);
/* oklch */ color: oklch(54.3% 0.139 134.2);
Tailwind
colors: {
  custom: {
    50: '#82a562',
    500: '#4b801f',
    950: '#000000',
  },
}
SCSS
$custom: #4b801f;
$custom-light: #82a562;
$custom-dark: #000000;
JSON
{
  "hex": "#4b801f",
  "rgb": {
    "r": 75,
    "g": 128,
    "b": 31
  },
  "hsl": {
    "h": 92.784,
    "s": 61.006,
    "l": 31.176
  },
  "oklch": {
    "l": 0.54276,
    "c": 0.13866,
    "h": 134.2
  },
  "luminance": 0.17033
}

Semantic roles & 50–950 ramp

primary
#4B801F
secondary
#8248B3
accent
#44E49B
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F05
muted
#7C7F7A

Preview Lab

Preview with #4B801F

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

Preview Lab → · Contrast checker → · Palette generator →

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