#5E8A2A#5E8A2A

#5E8A2A is a mid, vivid yellow-green. Relative luminance 0.207; OKLCH L 58.1% C 0.134 H 130.8°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#5E8A2A
RGBrgb(94, 138, 42)
HSLhsl(88, 53%, 35%)
HSVhsv(88, 70%, 54%)
CMYKcmyk(31.9%, 0%, 69.6%, 45.9%)
CIE-LABlab(52.65, -31.06, 44.67)
CIE-LCHlch(52.65, 54.40, 124.81°)
OKLaboklab(58.13% -0.0877 0.1015)
OKLCHoklch(58.13% 0.134 130.8)
XYZxyz(14.1224, 20.7234, 5.4460)
Luminance0.2072 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E8A2A #562A8A
analogous
#8A862A #5E8A2A #2E8A2A
triadic
#5E8A2A #2A5E8A #8A2A5E
tetradic
#5E8A2A #2A8A86 #562A8A #8A2A2E
square
#5E8A2A #2A8A86 #562A8A #8A2A2E
split-complementary
#5E8A2A #2A2E8A #862A8A
monochromatic
#1E2C0D #3E5B1C #5E8A2A #7EB938 #9CCF60

Accessibility & contrast

On white

4.08
#5E8A2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#5E8A2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E8A2A
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E8A2A#FFFFFF#000000##000000
##5E8A2A1.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#90801C
Deuteranopia (green-blind)
#8A7D32
Tritanopia (blue-blind)
#608477
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5e8a2a;
/* rgb */ color: rgb(94, 138, 42);
/* oklch */ color: oklch(58.1% 0.134 130.8);
Tailwind
colors: {
  custom: {
    50: '#8fac69',
    500: '#5e8a2a',
    950: '#000000',
  },
}
SCSS
$custom: #5e8a2a;
$custom-light: #8fac69;
$custom-dark: #000000;
JSON
{
  "hex": "#5e8a2a",
  "rgb": {
    "r": 94,
    "g": 138,
    "b": 42
  },
  "hsl": {
    "h": 87.5,
    "s": 53.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.58125,
    "c": 0.13416,
    "h": 130.8
  },
  "luminance": 0.20724
}

Semantic roles & 50–950 ramp

primary
#5E8A2A
secondary
#845BB4
accent
#4BDD8E
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #5E8A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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