#5E7E22#5E7E22

#5E7E22 is a mid, vivid yellow-green. Relative luminance 0.174; OKLCH L 55.0% C 0.124 H 126.9°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#5E7E22
RGBrgb(94, 126, 34)
HSLhsl(81, 58%, 31%)
HSVhsv(81, 73%, 49%)
CMYKcmyk(25.4%, 0%, 73%, 50.6%)
CIE-LABlab(48.78, -25.87, 43.99)
CIE-LCHlch(48.78, 51.03, 120.46°)
OKLaboklab(54.97% -0.0742 0.0989)
OKLCHoklch(54.97% 0.124 126.9)
XYZxyz(12.3657, 17.4167, 4.2233)
Luminance0.1742 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7E22 #42227E
analogous
#7E7022 #5E7E22 #307E22
triadic
#5E7E22 #225E7E #7E225E
tetradic
#5E7E22 #227E70 #42227E #7E2230
square
#5E7E22 #227E70 #42227E #7E2230
split-complementary
#5E7E22 #22307E #70227E
monochromatic
#161E08 #3A4E15 #5E7E22 #82AE2F #A1CF4C

Accessibility & contrast

On white

4.68
#5E7E22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#5E7E22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E7E22
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7E22#FFFFFF#000000##FFFFFF
##5E7E221.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857513
Deuteranopia (green-blind)
#80732A
Tritanopia (blue-blind)
#62786C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5e7e22;
/* rgb */ color: rgb(94, 126, 34);
/* oklch */ color: oklch(55.0% 0.124 126.9);
Tailwind
colors: {
  custom: {
    50: '#8fa363',
    500: '#5e7e22',
    950: '#000000',
  },
}
SCSS
$custom: #5e7e22;
$custom-light: #8fa363;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7e22",
  "rgb": {
    "r": 94,
    "g": 126,
    "b": 34
  },
  "hsl": {
    "h": 80.87,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.54967,
    "c": 0.12363,
    "h": 126.9
  },
  "luminance": 0.17417
}

Semantic roles & 50–950 ramp

primary
#5E7E22
secondary
#6E4BB1
accent
#47E17D
background
#F9FAF6
surface
#F1F3EB
border
#CBCDC6
text
#0D0F06
muted
#7E7F7A

Preview Lab

Preview with #5E7E22

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

Preview Lab → · Contrast checker → · Palette generator →

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