#5F9E23#5F9E23

#5F9E23 is a light, vivid yellow-green. Relative luminance 0.270; OKLCH L 63.3% C 0.164 H 133.4°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#5F9E23
RGBrgb(95, 158, 35)
HSLhsl(91, 64%, 38%)
HSVhsv(91, 78%, 62%)
CMYKcmyk(39.9%, 0%, 77.8%, 38%)
CIE-LABlab(58.98, -40.11, 53.62)
CIE-LCHlch(58.98, 66.96, 126.80°)
OKLaboklab(63.3% -0.1129 0.1192)
OKLCHoklch(63.3% 0.164 133.4)
XYZxyz(17.2493, 27.0071, 5.8938)
Luminance0.2701 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F9E23 #62239E
analogous
#9C9E23 #5F9E23 #239E25
triadic
#5F9E23 #235F9E #9E235F
tetradic
#5F9E23 #239C9E #62239E #9E2523
square
#5F9E23 #239C9E #62239E #9E2523
split-complementary
#5F9E23 #25239E #9E239C
monochromatic
#233A0D #416C18 #5F9E23 #7DD02E #9CDC60

Accessibility & contrast

On white

3.28
#5F9E23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#5F9E23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F9E23
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F9E23#FFFFFF#000000##000000
##5F9E231.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59103
Deuteranopia (green-blind)
#9C8C30
Tritanopia (blue-blind)
#5F9887
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #5f9e23;
/* rgb */ color: rgb(95, 158, 35);
/* oklch */ color: oklch(63.3% 0.164 133.4);
Tailwind
colors: {
  custom: {
    50: '#92bb68',
    500: '#5f9e23',
    950: '#000000',
  },
}
SCSS
$custom: #5f9e23;
$custom-light: #92bb68;
$custom-dark: #000000;
JSON
{
  "hex": "#5f9e23",
  "rgb": {
    "r": 95,
    "g": 158,
    "b": 35
  },
  "hsl": {
    "h": 90.732,
    "s": 63.731,
    "l": 37.843
  },
  "oklch": {
    "l": 0.63296,
    "c": 0.16416,
    "h": 133.4
  },
  "luminance": 0.27008
}

Semantic roles & 50–950 ramp

primary
#5F9E23
secondary
#905CC1
accent
#41E796
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5F9E23

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

Preview Lab → · Contrast checker → · Palette generator →

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