#4D801C#4D801C

#4D801C is a mid, vivid yellow-green. Relative luminance 0.171; OKLCH L 54.4% C 0.139 H 133.3°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#4D801C
RGBrgb(77, 128, 28)
HSLhsl(91, 64%, 31%)
HSVhsv(91, 78%, 50%)
CMYKcmyk(39.8%, 0%, 78.1%, 49.8%)
CIE-LABlab(48.38, -33.94, 45.54)
CIE-LCHlch(48.38, 56.79, 126.70°)
OKLaboklab(54.37% -0.0955 0.1015)
OKLCHoklch(54.37% 0.139 133.3)
XYZxyz(10.9892, 17.0994, 3.8199)
Luminance0.1710 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D801C #4F1C80
analogous
#7F801C #4D801C #1C801D
triadic
#4D801C #1C4D80 #801C4D
tetradic
#4D801C #1C7F80 #4F1C80 #801D1C
square
#4D801C #1C7F80 #4F1C80 #801D1C
split-complementary
#4D801C #1D1C80 #801C7F
monochromatic
#111C06 #2F4E11 #4D801C #6BB227 #8AD541

Accessibility & contrast

On white

4.75
#4D801C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#4D801C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D801C
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D801C#FFFFFF#000000##FFFFFF
##4D801C1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857505
Deuteranopia (green-blind)
#7E7126
Tritanopia (blue-blind)
#4D7B6D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4d801c;
/* rgb */ color: rgb(77, 128, 28);
/* oklch */ color: oklch(54.4% 0.139 133.3);
Tailwind
colors: {
  custom: {
    50: '#84a560',
    500: '#4d801c',
    950: '#000000',
  },
}
SCSS
$custom: #4d801c;
$custom-light: #84a560;
$custom-dark: #000000;
JSON
{
  "hex": "#4d801c",
  "rgb": {
    "r": 77,
    "g": 128,
    "b": 28
  },
  "hsl": {
    "h": 90.6,
    "s": 64.103,
    "l": 30.588
  },
  "oklch": {
    "l": 0.54367,
    "c": 0.13938,
    "h": 133.3
  },
  "luminance": 0.171
}

Semantic roles & 50–950 ramp

primary
#4D801C
secondary
#7D44B3
accent
#41E796
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4D801C

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

Preview Lab → · Contrast checker → · Palette generator →

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