#5E8B23#5E8B23

#5E8B23 is a mid, vivid yellow-green. Relative luminance 0.210; OKLCH L 58.3% C 0.140 H 130.4°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#5E8B23
RGBrgb(94, 139, 35)
HSLhsl(86, 60%, 34%)
HSVhsv(86, 75%, 55%)
CMYKcmyk(32.4%, 0%, 74.8%, 45.5%)
CIE-LABlab(52.91, -32.02, 47.72)
CIE-LCHlch(52.91, 57.47, 123.87°)
OKLaboklab(58.33% -0.0909 0.1069)
OKLCHoklch(58.33% 0.14 130.4)
XYZxyz(14.1520, 20.9658, 4.8910)
Luminance0.2097 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E8B23 #50238B
analogous
#8B8423 #5E8B23 #2A8B23
triadic
#5E8B23 #235E8B #8B235E
tetradic
#5E8B23 #238B84 #50238B #8B232A
square
#5E8B23 #238B84 #50238B #8B232A
split-complementary
#5E8B23 #232A8B #84238B
monochromatic
#1C290A #3D5A17 #5E8B23 #7FBC2F #9DD454

Accessibility & contrast

On white

4.04
#5E8B23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#5E8B23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E8B23
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E8B23#FFFFFF#000000##000000
##5E8B231.004.045.195.19
#FFFFFF4.041.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#92800F
Deuteranopia (green-blind)
#8B7D2D
Tritanopia (blue-blind)
#608577
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5e8b23;
/* rgb */ color: rgb(94, 139, 35);
/* oklch */ color: oklch(58.3% 0.140 130.4);
Tailwind
colors: {
  custom: {
    50: '#90ad65',
    500: '#5e8b23',
    950: '#000000',
  },
}
SCSS
$custom: #5e8b23;
$custom-light: #90ad65;
$custom-dark: #000000;
JSON
{
  "hex": "#5e8b23",
  "rgb": {
    "r": 94,
    "g": 139,
    "b": 35
  },
  "hsl": {
    "h": 85.962,
    "s": 59.77,
    "l": 34.118
  },
  "oklch": {
    "l": 0.58326,
    "c": 0.14029,
    "h": 130.4
  },
  "luminance": 0.20966
}

Semantic roles & 50–950 ramp

primary
#5E8B23
secondary
#7E52B8
accent
#45E389
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5E8B23

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

Preview Lab → · Contrast checker → · Palette generator →

#5E8B23 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva