#5E802C#5E802C

#5E802C is a mid, moderate yellow-green. Relative luminance 0.180; OKLCH L 55.6% C 0.119 H 128.5°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#5E802C
RGBrgb(94, 128, 44)
HSLhsl(84, 49%, 34%)
HSVhsv(84, 66%, 50%)
CMYKcmyk(26.6%, 0%, 65.6%, 49.8%)
CIE-LABlab(49.50, -26.09, 40.44)
CIE-LCHlch(49.50, 48.13, 122.83°)
OKLaboklab(55.57% -0.0739 0.0929)
OKLCHoklch(55.57% 0.119 128.5)
XYZxyz(12.7898, 17.9996, 5.1828)
Luminance0.1800 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E802C #4E2C80
analogous
#80782C #5E802C #34802C
triadic
#5E802C #2C5E80 #802C5E
tetradic
#5E802C #2C8078 #4E2C80 #802C34
square
#5E802C #2C8078 #4E2C80 #802C34
split-complementary
#5E802C #2C3480 #782C80
monochromatic
#1B250D #3D521C #5E802C #7FAE3C #9DC85F

Accessibility & contrast

On white

4.57
#5E802C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#5E802C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E802C
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E802C#FFFFFF#000000##000000
##5E802C1.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#867722
Deuteranopia (green-blind)
#817532
Tritanopia (blue-blind)
#617A6E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5e802c;
/* rgb */ color: rgb(94, 128, 44);
/* oklch */ color: oklch(55.6% 0.119 128.5);
Tailwind
colors: {
  custom: {
    50: '#8ea569',
    500: '#5e802c',
    950: '#000000',
  },
}
SCSS
$custom: #5e802c;
$custom-light: #8ea569;
$custom-dark: #000000;
JSON
{
  "hex": "#5e802c",
  "rgb": {
    "r": 94,
    "g": 128,
    "b": 44
  },
  "hsl": {
    "h": 84.286,
    "s": 48.837,
    "l": 33.725
  },
  "oklch": {
    "l": 0.55572,
    "c": 0.1187,
    "h": 128.5
  },
  "luminance": 0.18
}

Semantic roles & 50–950 ramp

primary
#5E802C
secondary
#7C5AAE
accent
#4FD887
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0D0F06
muted
#7D7F7A

Preview Lab

Preview with #5E802C

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

Preview Lab → · Contrast checker → · Palette generator →

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