#5FA530#5FA530

#5FA530 is a light, vivid yellow-green. Relative luminance 0.296; OKLCH L 65.2% C 0.165 H 135.4°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#5FA530
RGBrgb(95, 165, 48)
HSLhsl(96, 55%, 42%)
HSVhsv(96, 71%, 65%)
CMYKcmyk(42.4%, 0%, 70.9%, 35.3%)
CIE-LABlab(61.27, -42.21, 51.18)
CIE-LCHlch(61.27, 66.34, 129.51°)
OKLaboklab(65.2% -0.1176 0.116)
OKLCHoklch(65.2% 0.165 135.4)
XYZxyz(18.7075, 29.5555, 7.5148)
Luminance0.2956 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA530 #7630A5
analogous
#9AA530 #5FA530 #30A53B
triadic
#5FA530 #305FA5 #A5305F
tetradic
#5FA530 #309AA5 #7630A5 #A53B30
square
#5FA530 #309AA5 #7630A5 #A53B30
split-complementary
#5FA530 #3B30A5 #A5309A
monochromatic
#284614 #447622 #5FA530 #7CCA48 #9ED878

Accessibility & contrast

On white

3.04
#5FA530 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.91
#5FA530 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5FA530
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA530#FFFFFF#000000##000000
##5FA5301.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB981D
Deuteranopia (green-blind)
#A2923B
Tritanopia (blue-blind)
#5D9F8E
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #5fa530;
/* rgb */ color: rgb(95, 165, 48);
/* oklch */ color: oklch(65.2% 0.165 135.4);
Tailwind
colors: {
  custom: {
    50: '#92c06f',
    500: '#5fa530',
    950: '#000000',
  },
}
SCSS
$custom: #5fa530;
$custom-light: #92c06f;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa530",
  "rgb": {
    "r": 95,
    "g": 165,
    "b": 48
  },
  "hsl": {
    "h": 95.897,
    "s": 54.93,
    "l": 41.765
  },
  "oklch": {
    "l": 0.65196,
    "c": 0.16521,
    "h": 135.4
  },
  "luminance": 0.29557
}

Semantic roles & 50–950 ramp

primary
#5FA530
secondary
#A071C0
accent
#4ADEA3
background
#F9FBF7
surface
#F2F7ED
border
#CCD0C8
text
#0D1208
muted
#7E817B

Preview Lab

Preview with #5FA530

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

Preview Lab → · Contrast checker → · Palette generator →

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