#4B8D23#4B8D23

#4B8D23 is a mid, vivid yellow-green. Relative luminance 0.207; OKLCH L 57.8% C 0.153 H 136.3°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#4B8D23
RGBrgb(75, 141, 35)
HSLhsl(97, 60%, 35%)
HSVhsv(97, 75%, 55%)
CMYKcmyk(46.8%, 0%, 75.2%, 44.7%)
CIE-LABlab(52.58, -39.80, 47.07)
CIE-LCHlch(52.58, 61.64, 130.22°)
OKLaboklab(57.79% -0.1107 0.1058)
OKLCHoklch(57.79% 0.153 136.3)
XYZxyz(12.7296, 20.6662, 4.9080)
Luminance0.2067 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B8D23 #65238D
analogous
#808D23 #4B8D23 #238D30
triadic
#4B8D23 #234B8D #8D234B
tetradic
#4B8D23 #23808D #65238D #8D3023
square
#4B8D23 #23808D #65238D #8D3023
split-complementary
#4B8D23 #30238D #8D2380
monochromatic
#172B0B #315C17 #4B8D23 #65BE2F #86D555

Accessibility & contrast

On white

4.09
#4B8D23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#4B8D23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4B8D23
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B8D23#FFFFFF#000000##000000
##4B8D231.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#92810F
Deuteranopia (green-blind)
#897B2E
Tritanopia (blue-blind)
#488879
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4b8d23;
/* rgb */ color: rgb(75, 141, 35);
/* oklch */ color: oklch(57.8% 0.153 136.3);
Tailwind
colors: {
  custom: {
    50: '#84af65',
    500: '#4b8d23',
    950: '#000000',
  },
}
SCSS
$custom: #4b8d23;
$custom-light: #84af65;
$custom-dark: #000000;
JSON
{
  "hex": "#4b8d23",
  "rgb": {
    "r": 75,
    "g": 141,
    "b": 35
  },
  "hsl": {
    "h": 97.358,
    "s": 60.227,
    "l": 34.51
  },
  "oklch": {
    "l": 0.57794,
    "c": 0.15314,
    "h": 136.3
  },
  "luminance": 0.20667
}

Semantic roles & 50–950 ramp

primary
#4B8D23
secondary
#9253B9
accent
#44E3A7
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4B8D23

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

Preview Lab → · Contrast checker → · Palette generator →

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