#5E7B22#5E7B22

#5E7B22 is a mid, moderate yellow-green. Relative luminance 0.167; OKLCH L 54.2% C 0.120 H 125.9°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#5E7B22
RGBrgb(94, 123, 34)
HSLhsl(80, 57%, 31%)
HSVhsv(80, 72%, 48%)
CMYKcmyk(23.6%, 0%, 72.4%, 51.8%)
CIE-LABlab(47.83, -24.38, 43.03)
CIE-LCHlch(47.83, 49.46, 119.54°)
OKLaboklab(54.2% -0.0701 0.0969)
OKLCHoklch(54.2% 0.12 125.9)
XYZxyz(11.9878, 16.6609, 4.0974)
Luminance0.1666 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7B22 #3F227B
analogous
#7B6B22 #5E7B22 #317B22
triadic
#5E7B22 #225E7B #7B225E
tetradic
#5E7B22 #227B6B #3F227B #7B2231
square
#5E7B22 #227B6B #3F227B #7B2231
split-complementary
#5E7B22 #22317B #6B227B
monochromatic
#151B07 #394B15 #5E7B22 #83AB2F #A2CD4A

Accessibility & contrast

On white

4.85
#5E7B22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#5E7B22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E7B22
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7B22#FFFFFF#000000##FFFFFF
##5E7B221.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827314
Deuteranopia (green-blind)
#7E712A
Tritanopia (blue-blind)
#627569
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5e7b22;
/* rgb */ color: rgb(94, 123, 34);
/* oklch */ color: oklch(54.2% 0.120 125.9);
Tailwind
colors: {
  custom: {
    50: '#8ea163',
    500: '#5e7b22',
    950: '#000000',
  },
}
SCSS
$custom: #5e7b22;
$custom-light: #8ea163;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7b22",
  "rgb": {
    "r": 94,
    "g": 123,
    "b": 34
  },
  "hsl": {
    "h": 79.551,
    "s": 56.688,
    "l": 30.784
  },
  "oklch": {
    "l": 0.54196,
    "c": 0.11959,
    "h": 125.9
  },
  "luminance": 0.16661
}

Semantic roles & 50–950 ramp

primary
#5E7B22
secondary
#6B4BAE
accent
#48E079
background
#F9F9F6
surface
#F1F2EB
border
#CBCCC6
text
#0D0F05
muted
#7E7E7A

Preview Lab

Preview with #5E7B22

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

Preview Lab → · Contrast checker → · Palette generator →

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