#5F9123#5F9123

#5F9123 is a mid, vivid yellow-green. Relative luminance 0.228; OKLCH L 59.9% C 0.148 H 131.3°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#5F9123
RGBrgb(95, 145, 35)
HSLhsl(87, 61%, 35%)
HSVhsv(87, 76%, 57%)
CMYKcmyk(34.5%, 0%, 75.9%, 43.1%)
CIE-LABlab(54.87, -34.39, 49.66)
CIE-LCHlch(54.87, 60.40, 124.70°)
OKLaboklab(59.94% -0.0974 0.1109)
OKLCHoklch(59.94% 0.148 131.3)
XYZxyz(15.1480, 22.8045, 5.1934)
Luminance0.2281 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F9123 #552391
analogous
#918C23 #5F9123 #289123
triadic
#5F9123 #235F91 #91235F
tetradic
#5F9123 #23918C #552391 #912328
square
#5F9123 #23918C #552391 #912328
split-complementary
#5F9123 #232891 #8C2391
monochromatic
#1E2E0B #3F6017 #5F9123 #7FC22F #9DD758

Accessibility & contrast

On white

3.78
#5F9123 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#5F9123 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F9123
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F9123#FFFFFF#000000##000000
##5F91231.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#98860C
Deuteranopia (green-blind)
#91822E
Tritanopia (blue-blind)
#618B7C
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #5f9123;
/* rgb */ color: rgb(95, 145, 35);
/* oklch */ color: oklch(59.9% 0.148 131.3);
Tailwind
colors: {
  custom: {
    50: '#91b166',
    500: '#5f9123',
    950: '#000000',
  },
}
SCSS
$custom: #5f9123;
$custom-light: #91b166;
$custom-dark: #000000;
JSON
{
  "hex": "#5f9123",
  "rgb": {
    "r": 95,
    "g": 145,
    "b": 35
  },
  "hsl": {
    "h": 87.273,
    "s": 61.111,
    "l": 35.294
  },
  "oklch": {
    "l": 0.59938,
    "c": 0.14759,
    "h": 131.3
  },
  "luminance": 0.22805
}

Semantic roles & 50–950 ramp

primary
#5F9123
secondary
#8355BB
accent
#44E48D
background
#F9FAF6
surface
#F1F5EB
border
#CBCFC6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5F9123

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

Preview Lab → · Contrast checker → · Palette generator →

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