#BAF585#BAF585

#BAF585 is a very light, vivid yellow-green. Relative luminance 0.774; OKLCH L 90.5% C 0.155 H 131.6°. Best body text is #000000 at 16.49:1 contrast (WCAG AA passes).

Color values

HEX#BAF585
RGBrgb(186, 245, 133)
HSLhsl(92, 85%, 74%)
HSVhsv(92, 46%, 96%)
CMYKcmyk(24.1%, 0%, 45.7%, 3.9%)
CIE-LABlab(90.52, -37.17, 47.81)
CIE-LCHlch(90.52, 60.56, 127.86°)
OKLaboklab(90.54% -0.1026 0.1156)
OKLCHoklch(90.54% 0.155 131.6)
XYZxyz(57.1349, 77.4360, 34.1222)
Luminance0.7744 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF585 #C085F5
analogous
#F2F585 #BAF585 #85F588
triadic
#BAF585 #85BAF5 #F585BA
tetradic
#BAF585 #85F2F5 #C085F5 #F58885
square
#BAF585 #85F2F5 #C085F5 #F58885
split-complementary
#BAF585 #8885F5 #F585F2
monochromatic
#7AEC14 #9AF04C #BAF585 #DAFABE #EFFDE3

Accessibility & contrast

On white

1.27
#BAF585 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.49
#BAF585 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAF585
16.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAF585#FFFFFF#000000##000000
##BAF5851.001.2716.4916.49
#FFFFFF1.271.0021.0021.00
#00000016.4921.001.001.00
##00000016.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE77C
Deuteranopia (green-blind)
#F5E28C
Tritanopia (blue-blind)
#BCEDDB
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #baf585;
/* rgb */ color: rgb(186, 245, 133);
/* oklch */ color: oklch(90.5% 0.155 131.6);
Tailwind
colors: {
  custom: {
    50: '#d1f8aa',
    500: '#baf585',
    950: '#000000',
  },
}
SCSS
$custom: #baf585;
$custom-light: #d1f8aa;
$custom-dark: #000000;
JSON
{
  "hex": "#baf585",
  "rgb": {
    "r": 186,
    "g": 245,
    "b": 133
  },
  "hsl": {
    "h": 91.607,
    "s": 84.848,
    "l": 74.118
  },
  "oklch": {
    "l": 0.90542,
    "c": 0.15455,
    "h": 131.6
  },
  "luminance": 0.77437
}

Semantic roles & 50–950 ramp

primary
#BAF585
secondary
#934DD2
accent
#04E179
background
#FEFFFD
surface
#FBFFF7
border
#D4D7D0
text
#141710
muted
#838581

Preview Lab

Preview with #BAF585

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

Preview Lab → · Contrast checker → · Palette generator →

#BAF585 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva