#5E8022#5E8022

#5E8022 is a mid, vivid yellow-green. Relative luminance 0.179; OKLCH L 55.5% C 0.126 H 127.5°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#5E8022
RGBrgb(94, 128, 34)
HSLhsl(82, 58%, 32%)
HSVhsv(82, 73%, 50%)
CMYKcmyk(26.6%, 0%, 73.4%, 49.8%)
CIE-LABlab(49.42, -26.85, 44.63)
CIE-LCHlch(49.42, 52.08, 121.04°)
OKLaboklab(55.48% -0.0769 0.1002)
OKLCHoklch(55.48% 0.126 127.5)
XYZxyz(12.6240, 17.9333, 4.3094)
Luminance0.1793 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E8022 #442280
analogous
#807322 #5E8022 #2F8022
triadic
#5E8022 #225E80 #80225E
tetradic
#5E8022 #228073 #442280 #80222F
square
#5E8022 #228073 #442280 #80222F
split-complementary
#5E8022 #222F80 #732280
monochromatic
#171F08 #3A5015 #5E8022 #82B02F #A0D04D

Accessibility & contrast

On white

4.58
#5E8022 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#5E8022 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E8022
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E8022#FFFFFF#000000##000000
##5E80221.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#877712
Deuteranopia (green-blind)
#82752A
Tritanopia (blue-blind)
#627A6E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5e8022;
/* rgb */ color: rgb(94, 128, 34);
/* oklch */ color: oklch(55.5% 0.126 127.5);
Tailwind
colors: {
  custom: {
    50: '#8fa564',
    500: '#5e8022',
    950: '#000000',
  },
}
SCSS
$custom: #5e8022;
$custom-light: #8fa564;
$custom-dark: #000000;
JSON
{
  "hex": "#5e8022",
  "rgb": {
    "r": 94,
    "g": 128,
    "b": 34
  },
  "hsl": {
    "h": 81.702,
    "s": 58.025,
    "l": 31.765
  },
  "oklch": {
    "l": 0.55481,
    "c": 0.12632,
    "h": 127.5
  },
  "luminance": 0.17934
}

Semantic roles & 50–950 ramp

primary
#5E8022
secondary
#714BB2
accent
#47E17F
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D0F06
muted
#7E7F7A

Preview Lab

Preview with #5E8022

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

Preview Lab → · Contrast checker → · Palette generator →

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