#5F9028#5F9028

#5F9028 is a mid, vivid yellow-green. Relative luminance 0.225; OKLCH L 59.7% C 0.143 H 131.5°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#5F9028
RGBrgb(95, 144, 40)
HSLhsl(88, 57%, 36%)
HSVhsv(88, 72%, 56%)
CMYKcmyk(34%, 0%, 72.2%, 43.5%)
CIE-LABlab(54.59, -33.60, 47.49)
CIE-LCHlch(54.59, 58.18, 125.28°)
OKLaboklab(59.72% -0.0949 0.1071)
OKLCHoklch(59.72% 0.143 131.5)
XYZxyz(15.0754, 22.5321, 5.5619)
Luminance0.2253 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F9028 #592890
analogous
#908D28 #5F9028 #2B9028
triadic
#5F9028 #285F90 #90285F
tetradic
#5F9028 #28908D #592890 #90282B
square
#5F9028 #28908D #592890 #90282B
split-complementary
#5F9028 #282B90 #8D2890
monochromatic
#20300D #3F601B #5F9028 #7FC035 #9DD360

Accessibility & contrast

On white

3.81
#5F9028 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#5F9028 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F9028
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F9028#FFFFFF#000000##000000
##5F90281.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#968517
Deuteranopia (green-blind)
#908131
Tritanopia (blue-blind)
#618A7C
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #5f9028;
/* rgb */ color: rgb(95, 144, 40);
/* oklch */ color: oklch(59.7% 0.143 131.5);
Tailwind
colors: {
  custom: {
    50: '#90b169',
    500: '#5f9028',
    950: '#000000',
  },
}
SCSS
$custom: #5f9028;
$custom-light: #90b169;
$custom-dark: #000000;
JSON
{
  "hex": "#5f9028",
  "rgb": {
    "r": 95,
    "g": 144,
    "b": 40
  },
  "hsl": {
    "h": 88.269,
    "s": 56.522,
    "l": 36.078
  },
  "oklch": {
    "l": 0.59717,
    "c": 0.14309,
    "h": 131.5
  },
  "luminance": 0.22533
}

Semantic roles & 50–950 ramp

primary
#5F9028
secondary
#875CB8
accent
#48E090
background
#F9FAF6
surface
#F1F5EB
border
#CBCFC6
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #5F9028

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

Preview Lab → · Contrast checker → · Palette generator →

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