#4F801C#4F801C

#4F801C is a mid, vivid yellow-green. Relative luminance 0.172; OKLCH L 54.5% C 0.138 H 132.6°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#4F801C
RGBrgb(79, 128, 28)
HSLhsl(89, 64%, 31%)
HSVhsv(89, 78%, 50%)
CMYKcmyk(38.3%, 0%, 78.1%, 49.8%)
CIE-LABlab(48.49, -33.19, 45.67)
CIE-LCHlch(48.49, 56.46, 126.01°)
OKLaboklab(54.48% -0.0936 0.1018)
OKLCHoklch(54.48% 0.138 132.6)
XYZxyz(11.1531, 17.1840, 3.8276)
Luminance0.1718 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F801C #4D1C80
analogous
#807F1C #4F801C #1D801C
triadic
#4F801C #1C4F80 #801C4F
tetradic
#4F801C #1C807F #4D1C80 #801C1D
square
#4F801C #1C807F #4D1C80 #801C1D
split-complementary
#4F801C #1C1D80 #7F1C80
monochromatic
#111C06 #304E11 #4F801C #6EB227 #8DD541

Accessibility & contrast

On white

4.73
#4F801C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#4F801C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F801C
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F801C#FFFFFF#000000##FFFFFF
##4F801C1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867605
Deuteranopia (green-blind)
#7F7226
Tritanopia (blue-blind)
#507B6D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4f801c;
/* rgb */ color: rgb(79, 128, 28);
/* oklch */ color: oklch(54.5% 0.138 132.6);
Tailwind
colors: {
  custom: {
    50: '#85a560',
    500: '#4f801c',
    950: '#000000',
  },
}
SCSS
$custom: #4f801c;
$custom-light: #85a560;
$custom-dark: #000000;
JSON
{
  "hex": "#4f801c",
  "rgb": {
    "r": 79,
    "g": 128,
    "b": 28
  },
  "hsl": {
    "h": 89.4,
    "s": 64.103,
    "l": 30.588
  },
  "oklch": {
    "l": 0.54482,
    "c": 0.13828,
    "h": 132.6
  },
  "luminance": 0.17184
}

Semantic roles & 50–950 ramp

primary
#4F801C
secondary
#7B44B3
accent
#41E792
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4F801C

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

Preview Lab → · Contrast checker → · Palette generator →

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