#5E8A26#5E8A26

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

Color values

HEX#5E8A26
RGBrgb(94, 138, 38)
HSLhsl(86, 57%, 35%)
HSVhsv(86, 72%, 54%)
CMYKcmyk(31.9%, 0%, 72.5%, 45.9%)
CIE-LABlab(52.62, -31.36, 46.27)
CIE-LCHlch(52.62, 55.89, 124.13°)
OKLaboklab(58.09% -0.0888 0.1043)
OKLCHoklch(58.09% 0.137 130.4)
XYZxyz(14.0543, 20.6961, 5.0876)
Luminance0.2070 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E8A26 #52268A
analogous
#8A8426 #5E8A26 #2C8A26
triadic
#5E8A26 #265E8A #8A265E
tetradic
#5E8A26 #268A84 #52268A #8A262C
square
#5E8A26 #268A84 #52268A #8A262C
split-complementary
#5E8A26 #262C8A #84268A
monochromatic
#1D2A0C #3D5A19 #5E8A26 #7FBA33 #9CD159

Accessibility & contrast

On white

4.09
#5E8A26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E8A26#FFFFFF#000000##000000
##5E8A261.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#908015
Deuteranopia (green-blind)
#8A7C2F
Tritanopia (blue-blind)
#608476
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5e8a26;
/* rgb */ color: rgb(94, 138, 38);
/* oklch */ color: oklch(58.1% 0.137 130.4);
Tailwind
colors: {
  custom: {
    50: '#8fac67',
    500: '#5e8a26',
    950: '#000000',
  },
}
SCSS
$custom: #5e8a26;
$custom-light: #8fac67;
$custom-dark: #000000;
JSON
{
  "hex": "#5e8a26",
  "rgb": {
    "r": 94,
    "g": 138,
    "b": 38
  },
  "hsl": {
    "h": 86.4,
    "s": 56.818,
    "l": 34.51
  },
  "oklch": {
    "l": 0.58091,
    "c": 0.137,
    "h": 130.4
  },
  "luminance": 0.20697
}

Semantic roles & 50–950 ramp

primary
#5E8A26
secondary
#8056B6
accent
#48E08B
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5E8A26

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

Preview Lab → · Contrast checker → · Palette generator →

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