#BAF08C#BAF08C

#BAF08C is a very light, vivid yellow-green. Relative luminance 0.747; OKLCH L 89.5% C 0.140 H 131.8°. Best body text is #000000 at 15.93:1 contrast (WCAG AA passes).

Color values

HEX#BAF08C
RGBrgb(186, 240, 140)
HSLhsl(92, 77%, 75%)
HSVhsv(92, 42%, 94%)
CMYKcmyk(22.5%, 0%, 41.7%, 5.9%)
CIE-LABlab(89.23, -34.05, 42.81)
CIE-LCHlch(89.23, 54.70, 128.50°)
OKLaboklab(89.53% -0.0936 0.1046)
OKLCHoklch(89.53% 0.14 131.8)
XYZxyz(56.1425, 74.6515, 36.2571)
Luminance0.7465 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF08C #C28CF0
analogous
#ECF08C #BAF08C #8CF090
triadic
#BAF08C #8CBAF0 #F08CBA
tetradic
#BAF08C #8CECF0 #C28CF0 #F0908C
square
#BAF08C #8CECF0 #C28CF0 #F0908C
split-complementary
#BAF08C #908CF0 #F08CEC
monochromatic
#79E220 #9AE956 #BAF08C #DAF7C2 #EFFBE4

Accessibility & contrast

On white

1.32
#BAF08C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.93
#BAF08C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAF08C
15.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAF08C#FFFFFF#000000##000000
##BAF08C1.001.3215.9315.93
#FFFFFF1.321.0021.0021.00
#00000015.9321.001.001.00
##00000015.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E384
Deuteranopia (green-blind)
#F0DF92
Tritanopia (blue-blind)
#BCE9D8
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #baf08c;
/* rgb */ color: rgb(186, 240, 140);
/* oklch */ color: oklch(89.5% 0.140 131.8);
Tailwind
colors: {
  custom: {
    50: '#d0f5af',
    500: '#baf08c',
    950: '#000000',
  },
}
SCSS
$custom: #baf08c;
$custom-light: #d0f5af;
$custom-dark: #000000;
JSON
{
  "hex": "#baf08c",
  "rgb": {
    "r": 186,
    "g": 240,
    "b": 140
  },
  "hsl": {
    "h": 92.4,
    "s": 76.923,
    "l": 74.51
  },
  "oklch": {
    "l": 0.89529,
    "c": 0.14036,
    "h": 131.8
  },
  "luminance": 0.74653
}

Semantic roles & 50–950 ramp

primary
#BAF08C
secondary
#9554CC
accent
#0CD97B
background
#FEFFFD
surface
#FBFEF7
border
#D4D6D0
text
#141710
muted
#838581

Preview Lab

Preview with #BAF08C

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

Preview Lab → · Contrast checker → · Palette generator →

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