#4D8A23#4D8A23

#4D8A23 is a mid, vivid yellow-green. Relative luminance 0.199; OKLCH L 57.1% C 0.148 H 135.4°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#4D8A23
RGBrgb(77, 138, 35)
HSLhsl(96, 60%, 34%)
HSVhsv(96, 75%, 54%)
CMYKcmyk(44.2%, 0%, 74.6%, 45.9%)
CIE-LABlab(51.70, -37.85, 46.21)
CIE-LCHlch(51.70, 59.73, 129.32°)
OKLaboklab(57.09% -0.1056 0.104)
OKLCHoklch(57.09% 0.148 135.4)
XYZxyz(12.4521, 19.8754, 4.7700)
Luminance0.1988 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D8A23 #60238A
analogous
#818A23 #4D8A23 #238A2D
triadic
#4D8A23 #234D8A #8A234D
tetradic
#4D8A23 #23818A #60238A #8A2D23
square
#4D8A23 #23818A #60238A #8A2D23
split-complementary
#4D8A23 #2D238A #8A2381
monochromatic
#17280A #325917 #4D8A23 #68BB2F #88D454

Accessibility & contrast

On white

4.22
#4D8A23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#4D8A23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D8A23
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D8A23#FFFFFF#000000##000000
##4D8A231.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E10
Deuteranopia (green-blind)
#87792D
Tritanopia (blue-blind)
#4B8576
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4d8a23;
/* rgb */ color: rgb(77, 138, 35);
/* oklch */ color: oklch(57.1% 0.148 135.4);
Tailwind
colors: {
  custom: {
    50: '#84ac65',
    500: '#4d8a23',
    950: '#000000',
  },
}
SCSS
$custom: #4d8a23;
$custom-light: #84ac65;
$custom-dark: #000000;
JSON
{
  "hex": "#4d8a23",
  "rgb": {
    "r": 77,
    "g": 138,
    "b": 35
  },
  "hsl": {
    "h": 95.534,
    "s": 59.538,
    "l": 33.922
  },
  "oklch": {
    "l": 0.57092,
    "c": 0.1482,
    "h": 135.4
  },
  "luminance": 0.19876
}

Semantic roles & 50–950 ramp

primary
#4D8A23
secondary
#8E51B7
accent
#45E3A2
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4D8A23

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

Preview Lab → · Contrast checker → · Palette generator →

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