#5E8622#5E8622

#5E8622 is a mid, vivid yellow-green. Relative luminance 0.195; OKLCH L 57.0% C 0.134 H 129.1°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#5E8622
RGBrgb(94, 134, 34)
HSLhsl(84, 60%, 33%)
HSVhsv(84, 75%, 53%)
CMYKcmyk(29.9%, 0%, 74.6%, 47.5%)
CIE-LABlab(51.32, -29.74, 46.52)
CIE-LCHlch(51.32, 55.22, 122.59°)
OKLaboklab(57.03% -0.0848 0.1042)
OKLCHoklch(57.03% 0.134 129.1)
XYZxyz(13.4299, 19.5450, 4.5781)
Luminance0.1955 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E8622 #4A2286
analogous
#867C22 #5E8622 #2C8622
triadic
#5E8622 #225E86 #86225E
tetradic
#5E8622 #22867C #4A2286 #86222C
square
#5E8622 #22867C #4A2286 #86222C
split-complementary
#5E8622 #222C86 #7C2286
monochromatic
#1A2409 #3C5516 #5E8622 #80B72E #9ED350

Accessibility & contrast

On white

4.28
#5E8622 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#5E8622 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E8622
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E8622#FFFFFF#000000##000000
##5E86221.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C0F
Deuteranopia (green-blind)
#87792B
Tritanopia (blue-blind)
#618073
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5e8622;
/* rgb */ color: rgb(94, 134, 34);
/* oklch */ color: oklch(57.0% 0.134 129.1);
Tailwind
colors: {
  custom: {
    50: '#8fa964',
    500: '#5e8622',
    950: '#000000',
  },
}
SCSS
$custom: #5e8622;
$custom-light: #8fa964;
$custom-dark: #000000;
JSON
{
  "hex": "#5e8622",
  "rgb": {
    "r": 94,
    "g": 134,
    "b": 34
  },
  "hsl": {
    "h": 84,
    "s": 59.524,
    "l": 32.941
  },
  "oklch": {
    "l": 0.57028,
    "c": 0.13432,
    "h": 129.1
  },
  "luminance": 0.19545
}

Semantic roles & 50–950 ramp

primary
#5E8622
secondary
#774EB6
accent
#45E384
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5E8622

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

Preview Lab → · Contrast checker → · Palette generator →

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