#5F9B23#5F9B23

#5F9B23 is a light, vivid yellow-green. Relative luminance 0.260; OKLCH L 62.5% C 0.160 H 133.0°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#5F9B23
RGBrgb(95, 155, 35)
HSLhsl(90, 63%, 37%)
HSVhsv(90, 77%, 61%)
CMYKcmyk(38.7%, 0%, 77.4%, 39.2%)
CIE-LABlab(58.03, -38.82, 52.72)
CIE-LCHlch(58.03, 65.47, 126.37°)
OKLaboklab(62.52% -0.1094 0.1173)
OKLCHoklch(62.52% 0.16 133)
XYZxyz(16.7438, 25.9962, 5.7253)
Luminance0.2600 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F9B23 #5F239B
analogous
#9B9B23 #5F9B23 #239B23
triadic
#5F9B23 #235F9B #9B235F
tetradic
#5F9B23 #239B9B #5F239B #9B2323
square
#5F9B23 #239B9B #5F239B #9B2323
split-complementary
#5F9B23 #23239B #9B239B
monochromatic
#22370C #406918 #5F9B23 #7ECD2E #9CDB5E

Accessibility & contrast

On white

3.39
#5F9B23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#5F9B23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F9B23
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F9B23#FFFFFF#000000##000000
##5F9B231.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28E05
Deuteranopia (green-blind)
#998A30
Tritanopia (blue-blind)
#5F9584
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #5f9b23;
/* rgb */ color: rgb(95, 155, 35);
/* oklch */ color: oklch(62.5% 0.160 133.0);
Tailwind
colors: {
  custom: {
    50: '#92b968',
    500: '#5f9b23',
    950: '#000000',
  },
}
SCSS
$custom: #5f9b23;
$custom-light: #92b968;
$custom-dark: #000000;
JSON
{
  "hex": "#5f9b23",
  "rgb": {
    "r": 95,
    "g": 155,
    "b": 35
  },
  "hsl": {
    "h": 90,
    "s": 63.158,
    "l": 37.255
  },
  "oklch": {
    "l": 0.62521,
    "c": 0.16038,
    "h": 133
  },
  "luminance": 0.25997
}

Semantic roles & 50–950 ramp

primary
#5F9B23
secondary
#8D5ABF
accent
#42E694
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1107
muted
#7E807A

Preview Lab

Preview with #5F9B23

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

Preview Lab → · Contrast checker → · Palette generator →

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