#4D841B#4D841B

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

Color values

HEX#4D841B
RGBrgb(77, 132, 27)
HSLhsl(91, 66%, 31%)
HSVhsv(91, 80%, 52%)
CMYKcmyk(41.7%, 0%, 79.5%, 48.2%)
CIE-LABlab(49.69, -35.77, 47.13)
CIE-LCHlch(49.69, 59.17, 127.20°)
OKLaboklab(55.43% -0.1005 0.1047)
OKLCHoklch(55.43% 0.145 133.8)
XYZxyz(11.5095, 18.1589, 3.9353)
Luminance0.1816 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D841B #521B84
analogous
#81841B #4D841B #1B841E
triadic
#4D841B #1B4D84 #841B4D
tetradic
#4D841B #1B8184 #521B84 #841E1B
square
#4D841B #1B8184 #521B84 #841E1B
split-complementary
#4D841B #1E1B84 #841B81
monochromatic
#121E06 #2F5111 #4D841B #6BB725 #89D841

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D841B#FFFFFF#000000##000000
##4D841B1.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)
#897900
Deuteranopia (green-blind)
#827526
Tritanopia (blue-blind)
#4D7F70
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #4d841b;
/* rgb */ color: rgb(77, 132, 27);
/* oklch */ color: oklch(55.4% 0.145 133.8);
Tailwind
colors: {
  custom: {
    50: '#84a860',
    500: '#4d841b',
    950: '#000000',
  },
}
SCSS
$custom: #4d841b;
$custom-light: #84a860;
$custom-dark: #000000;
JSON
{
  "hex": "#4d841b",
  "rgb": {
    "r": 77,
    "g": 132,
    "b": 27
  },
  "hsl": {
    "h": 91.429,
    "s": 66.038,
    "l": 31.176
  },
  "oklch": {
    "l": 0.55432,
    "c": 0.14514,
    "h": 133.8
  },
  "luminance": 0.18159
}

Semantic roles & 50–950 ramp

primary
#4D841B
secondary
#8043B7
accent
#3FE998
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4D841B

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

Preview Lab → · Contrast checker → · Palette generator →

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