#4D8319#4D8319

#4D8319 is a mid, vivid yellow-green. Relative luminance 0.179; OKLCH L 55.2% C 0.145 H 133.5°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#4D8319
RGBrgb(77, 131, 25)
HSLhsl(91, 68%, 31%)
HSVhsv(91, 81%, 51%)
CMYKcmyk(41.2%, 0%, 80.9%, 48.6%)
CIE-LABlab(49.35, -35.45, 47.47)
CIE-LCHlch(49.35, 59.25, 126.75°)
OKLaboklab(55.15% -0.0998 0.1051)
OKLCHoklch(55.15% 0.145 133.5)
XYZxyz(11.3522, 17.8800, 3.7725)
Luminance0.1788 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D8319 #4F1983
analogous
#828319 #4D8319 #19831A
triadic
#4D8319 #194D83 #83194D
tetradic
#4D8319 #198283 #4F1983 #831A19
square
#4D8319 #198283 #4F1983 #831A19
split-complementary
#4D8319 #1A1983 #831982
monochromatic
#111C05 #2F500F #4D8319 #6BB623 #8ADA3D

Accessibility & contrast

On white

4.59
#4D8319 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#4D8319 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4D8319
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D8319#FFFFFF#000000##FFFFFF
##4D83191.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897800
Deuteranopia (green-blind)
#817425
Tritanopia (blue-blind)
#4D7E6F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4d8319;
/* rgb */ color: rgb(77, 131, 25);
/* oklch */ color: oklch(55.2% 0.145 133.5);
Tailwind
colors: {
  custom: {
    50: '#84a75f',
    500: '#4d8319',
    950: '#000000',
  },
}
SCSS
$custom: #4d8319;
$custom-light: #84a75f;
$custom-dark: #000000;
JSON
{
  "hex": "#4d8319",
  "rgb": {
    "r": 77,
    "g": 131,
    "b": 25
  },
  "hsl": {
    "h": 90.566,
    "s": 67.949,
    "l": 30.588
  },
  "oklch": {
    "l": 0.55151,
    "c": 0.14491,
    "h": 133.5
  },
  "luminance": 0.17881
}

Semantic roles & 50–950 ramp

primary
#4D8319
secondary
#7D41B7
accent
#3DEB96
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4D8319

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

Preview Lab → · Contrast checker → · Palette generator →

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