#4D841C#4D841C

#4D841C is a mid, vivid yellow-green. Relative luminance 0.182; OKLCH L 55.4% C 0.145 H 133.9°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#4D841C
RGBrgb(77, 132, 28)
HSLhsl(92, 65%, 31%)
HSVhsv(92, 79%, 52%)
CMYKcmyk(41.7%, 0%, 78.8%, 48.2%)
CIE-LABlab(49.69, -35.71, 46.80)
CIE-LCHlch(49.69, 58.87, 127.35°)
OKLaboklab(55.44% -0.1003 0.1042)
OKLCHoklch(55.44% 0.145 133.9)
XYZxyz(11.5212, 18.1636, 3.9972)
Luminance0.1816 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D841C #531C84
analogous
#81841C #4D841C #1C841F
triadic
#4D841C #1C4D84 #841C4D
tetradic
#4D841C #1C8184 #531C84 #841F1C
square
#4D841C #1C8184 #531C84 #841F1C
split-complementary
#4D841C #1F1C84 #841C81
monochromatic
#121F07 #305211 #4D841C #6AB627 #89D743

Accessibility & contrast

On white

4.53
#4D841C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#4D841C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D841C
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D841C#FFFFFF#000000##000000
##4D841C1.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#897903
Deuteranopia (green-blind)
#827527
Tritanopia (blue-blind)
#4D7F70
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #4d841c;
/* rgb */ color: rgb(77, 132, 28);
/* oklch */ color: oklch(55.4% 0.145 133.9);
Tailwind
colors: {
  custom: {
    50: '#84a861',
    500: '#4d841c',
    950: '#000000',
  },
}
SCSS
$custom: #4d841c;
$custom-light: #84a861;
$custom-dark: #000000;
JSON
{
  "hex": "#4d841c",
  "rgb": {
    "r": 77,
    "g": 132,
    "b": 28
  },
  "hsl": {
    "h": 91.731,
    "s": 65,
    "l": 31.373
  },
  "oklch": {
    "l": 0.55438,
    "c": 0.14459,
    "h": 133.9
  },
  "luminance": 0.18164
}

Semantic roles & 50–950 ramp

primary
#4D841C
secondary
#8145B7
accent
#40E899
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B0F05
muted
#7C7F7A

Preview Lab

Preview with #4D841C

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

Preview Lab → · Contrast checker → · Palette generator →

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