#5E9123#5E9123

#5E9123 is a mid, vivid yellow-green. Relative luminance 0.228; OKLCH L 59.9% C 0.148 H 131.6°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#5E9123
RGBrgb(94, 145, 35)
HSLhsl(88, 61%, 35%)
HSVhsv(88, 76%, 57%)
CMYKcmyk(35.2%, 0%, 75.9%, 43.1%)
CIE-LABlab(54.82, -34.77, 49.59)
CIE-LCHlch(54.82, 60.56, 125.04°)
OKLaboklab(59.88% -0.0984 0.1108)
OKLCHoklch(59.88% 0.148 131.6)
XYZxyz(15.0447, 22.7513, 5.1885)
Luminance0.2275 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E9123 #562391
analogous
#918D23 #5E9123 #279123
triadic
#5E9123 #235E91 #91235E
tetradic
#5E9123 #23918D #562391 #912327
square
#5E9123 #23918D #562391 #912327
split-complementary
#5E9123 #232791 #8D2391
monochromatic
#1E2E0B #3E6017 #5E9123 #7EC22F #9CD758

Accessibility & contrast

On white

3.78
#5E9123 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#5E9123 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E9123
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E9123#FFFFFF#000000##000000
##5E91231.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#97860C
Deuteranopia (green-blind)
#90822E
Tritanopia (blue-blind)
#608B7C
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #5e9123;
/* rgb */ color: rgb(94, 145, 35);
/* oklch */ color: oklch(59.9% 0.148 131.6);
Tailwind
colors: {
  custom: {
    50: '#90b166',
    500: '#5e9123',
    950: '#000000',
  },
}
SCSS
$custom: #5e9123;
$custom-light: #90b166;
$custom-dark: #000000;
JSON
{
  "hex": "#5e9123",
  "rgb": {
    "r": 94,
    "g": 145,
    "b": 35
  },
  "hsl": {
    "h": 87.818,
    "s": 61.111,
    "l": 35.294
  },
  "oklch": {
    "l": 0.59878,
    "c": 0.14813,
    "h": 131.6
  },
  "luminance": 0.22752
}

Semantic roles & 50–950 ramp

primary
#5E9123
secondary
#8455BB
accent
#44E48E
background
#F9FAF6
surface
#F1F5EB
border
#CBCFC6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5E9123

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

Preview Lab → · Contrast checker → · Palette generator →

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