#5E9538#5E9538

#5E9538 is a mid, vivid yellow-green. Relative luminance 0.242; OKLCH L 61.1% C 0.138 H 134.6°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#5E9538
RGBrgb(94, 149, 56)
HSLhsl(95, 45%, 40%)
HSVhsv(95, 62%, 58%)
CMYKcmyk(36.9%, 0%, 62.4%, 41.6%)
CIE-LABlab(56.25, -34.89, 42.37)
CIE-LCHlch(56.25, 54.89, 129.47°)
OKLaboklab(61.1% -0.097 0.0985)
OKLCHoklch(61.1% 0.138 134.6)
XYZxyz(16.0770, 24.1594, 7.5567)
Luminance0.2416 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E9538 #6F3895
analogous
#8C9538 #5E9538 #389540
triadic
#5E9538 #385E95 #95385E
tetradic
#5E9538 #388C95 #6F3895 #954038
square
#5E9538 #388C95 #6F3895 #954038
split-complementary
#5E9538 #403895 #95388C
monochromatic
#263C17 #426927 #5E9538 #7BBC4E #9CCD7A

Accessibility & contrast

On white

3.60
#5E9538 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#5E9538 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E9538
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E9538#FFFFFF#000000##000000
##5E95381.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8A2D
Deuteranopia (green-blind)
#93853F
Tritanopia (blue-blind)
#5D9081
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #5e9538;
/* rgb */ color: rgb(94, 149, 56);
/* oklch */ color: oklch(61.1% 0.138 134.6);
Tailwind
colors: {
  custom: {
    50: '#8fb472',
    500: '#5e9538',
    950: '#000000',
  },
}
SCSS
$custom: #5e9538;
$custom-light: #8fb472;
$custom-dark: #000000;
JSON
{
  "hex": "#5e9538",
  "rgb": {
    "r": 94,
    "g": 149,
    "b": 56
  },
  "hsl": {
    "h": 95.484,
    "s": 45.366,
    "l": 40.196
  },
  "oklch": {
    "l": 0.61099,
    "c": 0.13821,
    "h": 134.6
  },
  "luminance": 0.2416
}

Semantic roles & 50–950 ramp

primary
#5E9538
secondary
#9B73B6
accent
#53D5A0
background
#F9FBF7
surface
#F1F6ED
border
#CBD0C8
text
#0D1108
muted
#7E807B

Preview Lab

Preview with #5E9538

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

Preview Lab → · Contrast checker → · Palette generator →

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