#4D8D23#4D8D23

#4D8D23 is a mid, vivid yellow-green. Relative luminance 0.207; OKLCH L 57.9% C 0.152 H 135.8°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#4D8D23
RGBrgb(77, 141, 35)
HSLhsl(96, 60%, 35%)
HSVhsv(96, 75%, 55%)
CMYKcmyk(45.4%, 0%, 75.2%, 44.7%)
CIE-LABlab(52.67, -39.13, 47.19)
CIE-LCHlch(52.67, 61.30, 129.66°)
OKLaboklab(57.89% -0.109 0.1061)
OKLCHoklch(57.89% 0.152 135.8)
XYZxyz(12.8885, 20.7481, 4.9154)
Luminance0.2075 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D8D23 #63238D
analogous
#828D23 #4D8D23 #238D2E
triadic
#4D8D23 #234D8D #8D234D
tetradic
#4D8D23 #23828D #63238D #8D2E23
square
#4D8D23 #23828D #63238D #8D2E23
split-complementary
#4D8D23 #2E238D #8D2382
monochromatic
#172B0B #325C17 #4D8D23 #68BE2F #88D555

Accessibility & contrast

On white

4.08
#4D8D23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#4D8D23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D8D23
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D8D23#FFFFFF#000000##000000
##4D8D231.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#92810E
Deuteranopia (green-blind)
#8A7C2E
Tritanopia (blue-blind)
#4B8879
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4d8d23;
/* rgb */ color: rgb(77, 141, 35);
/* oklch */ color: oklch(57.9% 0.152 135.8);
Tailwind
colors: {
  custom: {
    50: '#85af66',
    500: '#4d8d23',
    950: '#000000',
  },
}
SCSS
$custom: #4d8d23;
$custom-light: #85af66;
$custom-dark: #000000;
JSON
{
  "hex": "#4d8d23",
  "rgb": {
    "r": 77,
    "g": 141,
    "b": 35
  },
  "hsl": {
    "h": 96.226,
    "s": 60.227,
    "l": 34.51
  },
  "oklch": {
    "l": 0.57893,
    "c": 0.15209,
    "h": 135.8
  },
  "luminance": 0.20749
}

Semantic roles & 50–950 ramp

primary
#4D8D23
secondary
#9053B9
accent
#44E3A4
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4D8D23

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

Preview Lab → · Contrast checker → · Palette generator →

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