#BAF583#BAF583

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

Color values

HEX#BAF583
RGBrgb(186, 245, 131)
HSLhsl(91, 85%, 74%)
HSVhsv(91, 47%, 96%)
CMYKcmyk(24.1%, 0%, 46.5%, 3.9%)
CIE-LABlab(90.50, -37.40, 48.73)
CIE-LCHlch(90.50, 61.43, 127.50°)
OKLaboklab(90.51% -0.1034 0.1175)
OKLCHoklch(90.51% 0.157 131.4)
XYZxyz(56.9980, 77.3813, 33.4014)
Luminance0.7738 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF583 #BE83F5
analogous
#F3F583 #BAF583 #83F585
triadic
#BAF583 #83BAF5 #F583BA
tetradic
#BAF583 #83F3F5 #BE83F5 #F58583
square
#BAF583 #83F3F5 #BE83F5 #F58583
split-complementary
#BAF583 #8583F5 #F583F3
monochromatic
#7BEB13 #9AF04A #BAF583 #DAFABC #EFFDE3

Accessibility & contrast

On white

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

On black

16.48
#BAF583 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAF583
16.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAF583#FFFFFF#000000##000000
##BAF5831.001.2716.4816.48
#FFFFFF1.271.0021.0021.00
#00000016.4821.001.001.00
##00000016.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE77A
Deuteranopia (green-blind)
#F5E28A
Tritanopia (blue-blind)
#BCEDDA
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #baf583;
/* rgb */ color: rgb(186, 245, 131);
/* oklch */ color: oklch(90.5% 0.157 131.4);
Tailwind
colors: {
  custom: {
    50: '#d1f8a9',
    500: '#baf583',
    950: '#000000',
  },
}
SCSS
$custom: #baf583;
$custom-light: #d1f8a9;
$custom-dark: #000000;
JSON
{
  "hex": "#baf583",
  "rgb": {
    "r": 186,
    "g": 245,
    "b": 131
  },
  "hsl": {
    "h": 91.053,
    "s": 85.075,
    "l": 73.725
  },
  "oklch": {
    "l": 0.90514,
    "c": 0.15651,
    "h": 131.4
  },
  "luminance": 0.77383
}

Semantic roles & 50–950 ramp

primary
#BAF583
secondary
#904BD1
accent
#04E277
background
#FEFFFD
surface
#FBFFF7
border
#D4D7D0
text
#141710
muted
#838581

Preview Lab

Preview with #BAF583

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

Preview Lab → · Contrast checker → · Palette generator →

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