#5E7D22#5E7D22

#5E7D22 is a mid, vivid yellow-green. Relative luminance 0.172; OKLCH L 54.7% C 0.122 H 126.6°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#5E7D22
RGBrgb(94, 125, 34)
HSLhsl(80, 57%, 31%)
HSVhsv(80, 73%, 49%)
CMYKcmyk(24.8%, 0%, 72.8%, 51%)
CIE-LABlab(48.46, -25.38, 43.67)
CIE-LCHlch(48.46, 50.51, 120.16°)
OKLaboklab(54.71% -0.0729 0.0982)
OKLCHoklch(54.71% 0.122 126.6)
XYZxyz(12.2385, 17.1622, 4.1809)
Luminance0.1716 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7D22 #41227D
analogous
#7D6E22 #5E7D22 #307D22
triadic
#5E7D22 #225E7D #7D225E
tetradic
#5E7D22 #227D6E #41227D #7D2230
square
#5E7D22 #227D6E #41227D #7D2230
split-complementary
#5E7D22 #22307D #6E227D
monochromatic
#161D08 #3A4D15 #5E7D22 #82AD2F #A2CE4B

Accessibility & contrast

On white

4.74
#5E7D22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#5E7D22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E7D22
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7D22#FFFFFF#000000##FFFFFF
##5E7D221.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847413
Deuteranopia (green-blind)
#7F732A
Tritanopia (blue-blind)
#62776B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5e7d22;
/* rgb */ color: rgb(94, 125, 34);
/* oklch */ color: oklch(54.7% 0.122 126.6);
Tailwind
colors: {
  custom: {
    50: '#8fa263',
    500: '#5e7d22',
    950: '#000000',
  },
}
SCSS
$custom: #5e7d22;
$custom-light: #8fa263;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7d22",
  "rgb": {
    "r": 94,
    "g": 125,
    "b": 34
  },
  "hsl": {
    "h": 80.44,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.5471,
    "c": 0.12229,
    "h": 126.6
  },
  "luminance": 0.17162
}

Semantic roles & 50–950 ramp

primary
#5E7D22
secondary
#6D4BB0
accent
#47E07B
background
#F9FAF6
surface
#F1F3EB
border
#CBCDC6
text
#0D0F06
muted
#7E7F7A

Preview Lab

Preview with #5E7D22

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

Preview Lab → · Contrast checker → · Palette generator →

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