#5F9F23#5F9F23

#5F9F23 is a light, vivid yellow-green. Relative luminance 0.274; OKLCH L 63.6% C 0.165 H 133.6°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#5F9F23
RGBrgb(95, 159, 35)
HSLhsl(91, 64%, 38%)
HSVhsv(91, 78%, 62%)
CMYKcmyk(40.3%, 0%, 78%, 37.6%)
CIE-LABlab(59.30, -40.54, 53.92)
CIE-LCHlch(59.30, 67.46, 126.93°)
OKLaboklab(63.55% -0.114 0.1198)
OKLCHoklch(63.55% 0.165 133.6)
XYZxyz(17.4205, 27.3497, 5.9509)
Luminance0.2735 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F9F23 #63239F
analogous
#9D9F23 #5F9F23 #239F25
triadic
#5F9F23 #235F9F #9F235F
tetradic
#5F9F23 #239D9F #63239F #9F2523
square
#5F9F23 #239D9F #63239F #9F2523
split-complementary
#5F9F23 #25239F #9F239D
monochromatic
#233B0D #416D18 #5F9F23 #7DD12E #9CDC60

Accessibility & contrast

On white

3.25
#5F9F23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.47
#5F9F23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F9F23
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F9F23#FFFFFF#000000##000000
##5F9F231.003.256.476.47
#FFFFFF3.251.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69202
Deuteranopia (green-blind)
#9D8D30
Tritanopia (blue-blind)
#5F9888
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #5f9f23;
/* rgb */ color: rgb(95, 159, 35);
/* oklch */ color: oklch(63.6% 0.165 133.6);
Tailwind
colors: {
  custom: {
    50: '#92bc68',
    500: '#5f9f23',
    950: '#000000',
  },
}
SCSS
$custom: #5f9f23;
$custom-light: #92bc68;
$custom-dark: #000000;
JSON
{
  "hex": "#5f9f23",
  "rgb": {
    "r": 95,
    "g": 159,
    "b": 35
  },
  "hsl": {
    "h": 90.968,
    "s": 63.918,
    "l": 38.039
  },
  "oklch": {
    "l": 0.63554,
    "c": 0.16541,
    "h": 133.6
  },
  "luminance": 0.27351
}

Semantic roles & 50–950 ramp

primary
#5F9F23
secondary
#915DC1
accent
#41E797
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5F9F23

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

Preview Lab → · Contrast checker → · Palette generator →

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