#5F9018#5F9018

#5F9018 is a mid, vivid yellow-green. Relative luminance 0.224; OKLCH L 59.6% C 0.152 H 130.4°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#5F9018
RGBrgb(95, 144, 24)
HSLhsl(85, 71%, 33%)
HSVhsv(85, 83%, 56%)
CMYKcmyk(34%, 0%, 83.3%, 43.5%)
CIE-LABlab(54.50, -34.52, 52.84)
CIE-LCHlch(54.50, 63.12, 123.15°)
OKLaboklab(59.61% -0.0985 0.1158)
OKLCHoklch(59.61% 0.152 130.4)
XYZxyz(14.8574, 22.4448, 4.4135)
Luminance0.2245 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F9018 #491890
analogous
#908518 #5F9018 #239018
triadic
#5F9018 #185F90 #90185F
tetradic
#5F9018 #189085 #491890 #901823
square
#5F9018 #189085 #491890 #901823
split-complementary
#5F9018 #182390 #851890
monochromatic
#1A2707 #3C5C0F #5F9018 #82C421 #A0E043

Accessibility & contrast

On white

3.83
#5F9018 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#5F9018 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F9018
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F9018#FFFFFF#000000##000000
##5F90181.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#978500
Deuteranopia (green-blind)
#908126
Tritanopia (blue-blind)
#61897A
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5f9018;
/* rgb */ color: rgb(95, 144, 24);
/* oklch */ color: oklch(59.6% 0.152 130.4);
Tailwind
colors: {
  custom: {
    50: '#91b161',
    500: '#5f9018',
    950: '#000000',
  },
}
SCSS
$custom: #5f9018;
$custom-light: #91b161;
$custom-dark: #000000;
JSON
{
  "hex": "#5f9018",
  "rgb": {
    "r": 95,
    "g": 144,
    "b": 24
  },
  "hsl": {
    "h": 84.5,
    "s": 71.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.59614,
    "c": 0.15205,
    "h": 130.4
  },
  "luminance": 0.22445
}

Semantic roles & 50–950 ramp

primary
#5F9018
secondary
#7643C0
accent
#3AEE83
background
#F9FAF6
surface
#F2F5EB
border
#CCCFC6
text
#0D1005
muted
#7E7F7A

Preview Lab

Preview with #5F9018

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

Preview Lab → · Contrast checker → · Palette generator →

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