#5E8A22#5E8A22

#5E8A22 is a mid, vivid yellow-green. Relative luminance 0.207; OKLCH L 58.1% C 0.140 H 130.1°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#5E8A22
RGBrgb(94, 138, 34)
HSLhsl(85, 60%, 34%)
HSVhsv(85, 75%, 54%)
CMYKcmyk(31.9%, 0%, 75.4%, 45.9%)
CIE-LABlab(52.59, -31.62, 47.77)
CIE-LCHlch(52.59, 57.29, 123.50°)
OKLaboklab(58.06% -0.0899 0.1068)
OKLCHoklch(58.06% 0.14 130.1)
XYZxyz(13.9932, 20.6717, 4.7658)
Luminance0.2067 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E8A22 #4E228A
analogous
#8A8222 #5E8A22 #2A8A22
triadic
#5E8A22 #225E8A #8A225E
tetradic
#5E8A22 #228A82 #4E228A #8A222A
square
#5E8A22 #228A82 #4E228A #8A222A
split-complementary
#5E8A22 #222A8A #82228A
monochromatic
#1B280A #3D5916 #5E8A22 #7FBB2E #9DD452

Accessibility & contrast

On white

4.09
#5E8A22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#5E8A22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E8A22
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E8A22#FFFFFF#000000##000000
##5E8A221.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)
#91800D
Deuteranopia (green-blind)
#8B7C2C
Tritanopia (blue-blind)
#608476
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5e8a22;
/* rgb */ color: rgb(94, 138, 34);
/* oklch */ color: oklch(58.1% 0.140 130.1);
Tailwind
colors: {
  custom: {
    50: '#90ac65',
    500: '#5e8a22',
    950: '#000000',
  },
}
SCSS
$custom: #5e8a22;
$custom-light: #90ac65;
$custom-dark: #000000;
JSON
{
  "hex": "#5e8a22",
  "rgb": {
    "r": 94,
    "g": 138,
    "b": 34
  },
  "hsl": {
    "h": 85.385,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.58061,
    "c": 0.1396,
    "h": 130.1
  },
  "luminance": 0.20672
}

Semantic roles & 50–950 ramp

primary
#5E8A22
secondary
#7C50B8
accent
#44E488
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5E8A22

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

Preview Lab → · Contrast checker → · Palette generator →

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