#5E8A2C#5E8A2C

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

Color values

HEX#5E8A2C
RGBrgb(94, 138, 44)
HSLhsl(88, 52%, 36%)
HSVhsv(88, 68%, 54%)
CMYKcmyk(31.9%, 0%, 68.1%, 45.9%)
CIE-LABlab(52.66, -30.90, 43.83)
CIE-LCHlch(52.66, 53.63, 125.18°)
OKLaboklab(58.14% -0.0871 0.1001)
OKLCHoklch(58.14% 0.133 131)
XYZxyz(14.1591, 20.7380, 5.6392)
Luminance0.2074 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E8A2C #582C8A
analogous
#8A872C #5E8A2C #2F8A2C
triadic
#5E8A2C #2C5E8A #8A2C5E
tetradic
#5E8A2C #2C8A87 #582C8A #8A2C2F
square
#5E8A2C #2C8A87 #582C8A #8A2C2F
split-complementary
#5E8A2C #2C2F8A #872C8A
monochromatic
#1F2D0E #3E5C1D #5E8A2C #7EB83B #9CCD63

Accessibility & contrast

On white

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

On black

5.15
#5E8A2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E8A2C
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E8A2C#FFFFFF#000000##000000
##5E8A2C1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5e8a2c;
/* rgb */ color: rgb(94, 138, 44);
/* oklch */ color: oklch(58.1% 0.133 131.0);
Tailwind
colors: {
  custom: {
    50: '#8fac6a',
    500: '#5e8a2c',
    950: '#000000',
  },
}
SCSS
$custom: #5e8a2c;
$custom-light: #8fac6a;
$custom-dark: #000000;
JSON
{
  "hex": "#5e8a2c",
  "rgb": {
    "r": 94,
    "g": 138,
    "b": 44
  },
  "hsl": {
    "h": 88.085,
    "s": 51.648,
    "l": 35.686
  },
  "oklch": {
    "l": 0.58144,
    "c": 0.13264,
    "h": 131
  },
  "luminance": 0.20738
}

Semantic roles & 50–950 ramp

primary
#5E8A2C
secondary
#865EB4
accent
#4DDB8F
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #5E8A2C

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

Preview Lab → · Contrast checker → · Palette generator →

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