#5E8522#5E8522

#5E8522 is a mid, vivid yellow-green. Relative luminance 0.193; OKLCH L 56.8% C 0.133 H 128.9°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#5E8522
RGBrgb(94, 133, 34)
HSLhsl(84, 59%, 33%)
HSVhsv(84, 74%, 52%)
CMYKcmyk(29.3%, 0%, 74.4%, 47.8%)
CIE-LABlab(51.00, -29.27, 46.21)
CIE-LCHlch(51.00, 54.70, 122.35°)
OKLaboklab(56.77% -0.0835 0.1035)
OKLCHoklch(56.77% 0.133 128.9)
XYZxyz(13.2923, 19.2699, 4.5322)
Luminance0.1927 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E8522 #492285
analogous
#857A22 #5E8522 #2D8522
triadic
#5E8522 #225E85 #85225E
tetradic
#5E8522 #22857A #492285 #85222D
square
#5E8522 #22857A #492285 #85222D
split-complementary
#5E8522 #222D85 #7A2285
monochromatic
#192409 #3C5416 #5E8522 #80B62E #9FD24F

Accessibility & contrast

On white

4.33
#5E8522 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#5E8522 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E8522
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E8522#FFFFFF#000000##000000
##5E85221.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B10
Deuteranopia (green-blind)
#86792B
Tritanopia (blue-blind)
#617F72
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5e8522;
/* rgb */ color: rgb(94, 133, 34);
/* oklch */ color: oklch(56.8% 0.133 128.9);
Tailwind
colors: {
  custom: {
    50: '#8fa864',
    500: '#5e8522',
    950: '#000000',
  },
}
SCSS
$custom: #5e8522;
$custom-light: #8fa864;
$custom-dark: #000000;
JSON
{
  "hex": "#5e8522",
  "rgb": {
    "r": 94,
    "g": 133,
    "b": 34
  },
  "hsl": {
    "h": 83.636,
    "s": 59.281,
    "l": 32.745
  },
  "oklch": {
    "l": 0.5677,
    "c": 0.133,
    "h": 128.9
  },
  "luminance": 0.1927
}

Semantic roles & 50–950 ramp

primary
#5E8522
secondary
#764DB6
accent
#45E283
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D0F06
muted
#7E7F7A

Preview Lab

Preview with #5E8522

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

Preview Lab → · Contrast checker → · Palette generator →

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