#BAF867#BAF867

#BAF867 is a very light, vivid yellow-green. Relative luminance 0.786; OKLCH L 90.8% C 0.186 H 129.0°. Best body text is #000000 at 16.71:1 contrast (WCAG AA passes).

Color values

HEX#BAF867
RGBrgb(186, 248, 103)
HSLhsl(86, 91%, 69%)
HSVhsv(86, 58%, 97%)
CMYKcmyk(25%, 0%, 58.5%, 2.7%)
CIE-LABlab(91.03, -41.51, 62.02)
CIE-LCHlch(91.03, 74.64, 123.80°)
OKLaboklab(90.85% -0.1169 0.1443)
OKLCHoklch(90.85% 0.186 129)
XYZxyz(56.2650, 78.5519, 25.0270)
Luminance0.7855 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF867 #A567F8
analogous
#F8ED67 #BAF867 #72F867
triadic
#BAF867 #67BAF8 #F867BA
tetradic
#BAF867 #67F8ED #A567F8 #F86772
square
#BAF867 #67F8ED #A567F8 #F86772
split-complementary
#BAF867 #6772F8 #ED67F8
monochromatic
#81DB0A #9FF52C #BAF867 #D5FBA2 #EFFDDC

Accessibility & contrast

On white

1.26
#BAF867 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.71
#BAF867 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAF867
16.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAF867#FFFFFF#000000##000000
##BAF8671.001.2616.7116.71
#FFFFFF1.261.0021.0021.00
#00000016.7121.001.001.00
##00000016.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE857
Deuteranopia (green-blind)
#FAE471
Tritanopia (blue-blind)
#BFEED9
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #baf867;
/* rgb */ color: rgb(186, 248, 103);
/* oklch */ color: oklch(90.8% 0.186 129.0);
Tailwind
colors: {
  custom: {
    50: '#d2fb97',
    500: '#baf867',
    950: '#000000',
  },
}
SCSS
$custom: #baf867;
$custom-light: #d2fb97;
$custom-dark: #000000;
JSON
{
  "hex": "#baf867",
  "rgb": {
    "r": 186,
    "g": 248,
    "b": 103
  },
  "hsl": {
    "h": 85.655,
    "s": 91.195,
    "l": 68.824
  },
  "oklch": {
    "l": 0.90849,
    "c": 0.18566,
    "h": 129
  },
  "luminance": 0.78553
}

Semantic roles & 50–950 ramp

primary
#BAF867
secondary
#7632D2
accent
#00E662
background
#FEFFFC
surface
#FBFFF5
border
#D4D7CF
text
#14170E
muted
#83857F

Preview Lab

Preview with #BAF867

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

Preview Lab → · Contrast checker → · Palette generator →

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