#5E9626#5E9626

#5E9626 is a mid, vivid yellow-green. Relative luminance 0.243; OKLCH L 61.2% C 0.153 H 132.7°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#5E9626
RGBrgb(94, 150, 38)
HSLhsl(90, 60%, 37%)
HSVhsv(90, 75%, 59%)
CMYKcmyk(37.3%, 0%, 74.7%, 41.2%)
CIE-LABlab(56.42, -36.81, 50.07)
CIE-LCHlch(56.42, 62.14, 126.32°)
OKLaboklab(61.19% -0.1037 0.1122)
OKLCHoklch(61.19% 0.153 132.7)
XYZxyz(15.8721, 24.3316, 5.6935)
Luminance0.2433 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E9626 #5E2696
analogous
#969626 #5E9626 #269626
triadic
#5E9626 #265E96 #96265E
tetradic
#5E9626 #269696 #5E2696 #962626
square
#5E9626 #269696 #5E2696 #962626
split-complementary
#5E9626 #262696 #962696
monochromatic
#21340D #3F651A #5E9626 #7DC732 #9BD760

Accessibility & contrast

On white

3.58
#5E9626 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#5E9626 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E9626
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E9626#FFFFFF#000000##000000
##5E96261.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A10
Deuteranopia (green-blind)
#958631
Tritanopia (blue-blind)
#5F9080
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #5e9626;
/* rgb */ color: rgb(94, 150, 38);
/* oklch */ color: oklch(61.2% 0.153 132.7);
Tailwind
colors: {
  custom: {
    50: '#90b568',
    500: '#5e9626',
    950: '#000000',
  },
}
SCSS
$custom: #5e9626;
$custom-light: #90b568;
$custom-dark: #000000;
JSON
{
  "hex": "#5e9626",
  "rgb": {
    "r": 94,
    "g": 150,
    "b": 38
  },
  "hsl": {
    "h": 90,
    "s": 59.574,
    "l": 36.863
  },
  "oklch": {
    "l": 0.61193,
    "c": 0.15278,
    "h": 132.7
  },
  "luminance": 0.24332
}

Semantic roles & 50–950 ramp

primary
#5E9626
secondary
#8C5CBC
accent
#45E394
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1107
muted
#7E807A

Preview Lab

Preview with #5E9626

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

Preview Lab → · Contrast checker → · Palette generator →

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