#578B23#578B23

#578B23 is a mid, vivid yellow-green. Relative luminance 0.206; OKLCH L 57.9% C 0.144 H 132.7°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#578B23
RGBrgb(87, 139, 35)
HSLhsl(90, 60%, 34%)
HSVhsv(90, 75%, 55%)
CMYKcmyk(37.4%, 0%, 74.8%, 45.5%)
CIE-LABlab(52.52, -34.70, 47.20)
CIE-LCHlch(52.52, 58.58, 126.32°)
OKLaboklab(57.9% -0.0977 0.1059)
OKLCHoklch(57.9% 0.144 132.7)
XYZxyz(13.4663, 20.6122, 4.8588)
Luminance0.2061 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#578B23 #57238B
analogous
#8B8B23 #578B23 #238B23
triadic
#578B23 #23578B #8B2357
tetradic
#578B23 #238B8B #57238B #8B2323
square
#578B23 #238B8B #57238B #8B2323
split-complementary
#578B23 #23238B #8B238B
monochromatic
#1A290A #385A17 #578B23 #76BC2F #94D454

Accessibility & contrast

On white

4.10
#578B23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#578B23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #578B23
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##578B23#FFFFFF#000000##000000
##578B231.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#91800F
Deuteranopia (green-blind)
#8A7C2D
Tritanopia (blue-blind)
#588577
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #578b23;
/* rgb */ color: rgb(87, 139, 35);
/* oklch */ color: oklch(57.9% 0.144 132.7);
Tailwind
colors: {
  custom: {
    50: '#8bad65',
    500: '#578b23',
    950: '#000000',
  },
}
SCSS
$custom: #578b23;
$custom-light: #8bad65;
$custom-dark: #000000;
JSON
{
  "hex": "#578b23",
  "rgb": {
    "r": 87,
    "g": 139,
    "b": 35
  },
  "hsl": {
    "h": 90,
    "s": 59.77,
    "l": 34.118
  },
  "oklch": {
    "l": 0.57905,
    "c": 0.14409,
    "h": 132.7
  },
  "luminance": 0.20613
}

Semantic roles & 50–950 ramp

primary
#578B23
secondary
#8552B8
accent
#45E394
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #578B23

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

Preview Lab → · Contrast checker → · Palette generator →

#578B23 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva