#5F9C23#5F9C23

#5F9C23 is a light, vivid yellow-green. Relative luminance 0.263; OKLCH L 62.8% C 0.162 H 133.1°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#5F9C23
RGBrgb(95, 156, 35)
HSLhsl(90, 63%, 37%)
HSVhsv(90, 78%, 61%)
CMYKcmyk(39.1%, 0%, 77.6%, 38.8%)
CIE-LABlab(58.35, -39.25, 53.02)
CIE-LCHlch(58.35, 65.97, 126.51°)
OKLaboklab(62.78% -0.1105 0.1179)
OKLCHoklch(62.78% 0.162 133.1)
XYZxyz(16.9109, 26.3304, 5.7810)
Luminance0.2633 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F9C23 #60239C
analogous
#9C9C23 #5F9C23 #239C23
triadic
#5F9C23 #235F9C #9C235F
tetradic
#5F9C23 #239C9C #60239C #9C2323
square
#5F9C23 #239C9C #60239C #9C2323
split-complementary
#5F9C23 #23239C #9C239C
monochromatic
#22380D #416A18 #5F9C23 #7DCE2E #9CDB5E

Accessibility & contrast

On white

3.35
#5F9C23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#5F9C23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F9C23
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F9C23#FFFFFF#000000##000000
##5F9C231.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A38F04
Deuteranopia (green-blind)
#9A8B30
Tritanopia (blue-blind)
#5F9685
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #5f9c23;
/* rgb */ color: rgb(95, 156, 35);
/* oklch */ color: oklch(62.8% 0.162 133.1);
Tailwind
colors: {
  custom: {
    50: '#92b968',
    500: '#5f9c23',
    950: '#000000',
  },
}
SCSS
$custom: #5f9c23;
$custom-light: #92b968;
$custom-dark: #000000;
JSON
{
  "hex": "#5f9c23",
  "rgb": {
    "r": 95,
    "g": 156,
    "b": 35
  },
  "hsl": {
    "h": 90.248,
    "s": 63.351,
    "l": 37.451
  },
  "oklch": {
    "l": 0.62779,
    "c": 0.16164,
    "h": 133.1
  },
  "luminance": 0.26331
}

Semantic roles & 50–950 ramp

primary
#5F9C23
secondary
#8E5BC0
accent
#41E695
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1107
muted
#7E807A

Preview Lab

Preview with #5F9C23

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

Preview Lab → · Contrast checker → · Palette generator →

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