#5F9923#5F9923

#5F9923 is a light, vivid yellow-green. Relative luminance 0.253; OKLCH L 62.0% C 0.158 H 132.7°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#5F9923
RGBrgb(95, 153, 35)
HSLhsl(89, 63%, 37%)
HSVhsv(89, 77%, 60%)
CMYKcmyk(37.9%, 0%, 77.1%, 40%)
CIE-LABlab(57.40, -37.95, 52.11)
CIE-LCHlch(57.40, 64.46, 126.06°)
OKLaboklab(62% -0.107 0.116)
OKLCHoklch(62% 0.158 132.7)
XYZxyz(16.4137, 25.3360, 5.6153)
Luminance0.2534 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F9923 #5D2399
analogous
#999823 #5F9923 #249923
triadic
#5F9923 #235F99 #99235F
tetradic
#5F9923 #239998 #5D2399 #992324
square
#5F9923 #239998 #5D2399 #992324
split-complementary
#5F9923 #232499 #982399
monochromatic
#21350C #406718 #5F9923 #7ECB2E #9CDA5D

Accessibility & contrast

On white

3.46
#5F9923 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#5F9923 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F9923
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F9923#FFFFFF#000000##000000
##5F99231.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D06
Deuteranopia (green-blind)
#98882F
Tritanopia (blue-blind)
#609383
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #5f9923;
/* rgb */ color: rgb(95, 153, 35);
/* oklch */ color: oklch(62.0% 0.158 132.7);
Tailwind
colors: {
  custom: {
    50: '#91b767',
    500: '#5f9923',
    950: '#000000',
  },
}
SCSS
$custom: #5f9923;
$custom-light: #91b767;
$custom-dark: #000000;
JSON
{
  "hex": "#5f9923",
  "rgb": {
    "r": 95,
    "g": 153,
    "b": 35
  },
  "hsl": {
    "h": 89.492,
    "s": 62.766,
    "l": 36.863
  },
  "oklch": {
    "l": 0.62004,
    "c": 0.15786,
    "h": 132.7
  },
  "luminance": 0.25337
}

Semantic roles & 50–950 ramp

primary
#5F9923
secondary
#8B59BE
accent
#42E693
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5F9923

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

Preview Lab → · Contrast checker → · Palette generator →

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