#5FBA2D#5FBA2D

#5FBA2D is a light, vivid yellow-green. Relative luminance 0.377; OKLCH L 70.6% C 0.193 H 137.0°. Best body text is #000000 at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#5FBA2D
RGBrgb(95, 186, 45)
HSLhsl(99, 61%, 45%)
HSVhsv(99, 76%, 73%)
CMYKcmyk(48.9%, 0%, 75.8%, 27.1%)
CIE-LABlab(67.83, -50.88, 58.83)
CIE-LCHlch(67.83, 77.78, 130.85°)
OKLaboklab(70.57% -0.1412 0.1316)
OKLCHoklch(70.57% 0.193 137)
XYZxyz(22.7512, 37.7386, 8.5675)
Luminance0.3774 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FBA2D #882DBA
analogous
#A6BA2D #5FBA2D #2DBA41
triadic
#5FBA2D #2D5FBA #BA2D5F
tetradic
#5FBA2D #2DA6BA #882DBA #BA412D
square
#5FBA2D #2DA6BA #882DBA #BA412D
split-complementary
#5FBA2D #412DBA #BA2DA6
monochromatic
#2D5715 #468921 #5FBA2D #7FD550 #A3E081

Accessibility & contrast

On white

2.46
#5FBA2D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.55
#5FBA2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FBA2D
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FBA2D#FFFFFF#000000##000000
##5FBA2D1.002.468.558.55
#FFFFFF2.461.0021.0021.00
#0000008.5521.001.001.00
##0000008.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA0C
Deuteranopia (green-blind)
#B4A23C
Tritanopia (blue-blind)
#5AB39F
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #5fba2d;
/* rgb */ color: rgb(95, 186, 45);
/* oklch */ color: oklch(70.6% 0.193 137.0);
Tailwind
colors: {
  custom: {
    50: '#95cf70',
    500: '#5fba2d',
    950: '#000000',
  },
}
SCSS
$custom: #5fba2d;
$custom-light: #95cf70;
$custom-dark: #000000;
JSON
{
  "hex": "#5fba2d",
  "rgb": {
    "r": 95,
    "g": 186,
    "b": 45
  },
  "hsl": {
    "h": 98.723,
    "s": 61.039,
    "l": 45.294
  },
  "oklch": {
    "l": 0.70573,
    "c": 0.19302,
    "h": 137
  },
  "luminance": 0.3774
}

Semantic roles & 50–950 ramp

primary
#5FBA2D
secondary
#AD79C9
accent
#44E4AB
background
#F9FCF7
surface
#F2F9ED
border
#CCD2C8
text
#0E1408
muted
#7E827B

Preview Lab

Preview with #5FBA2D

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

Preview Lab → · Contrast checker → · Palette generator →

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