#BAF98D#BAF98D

#BAF98D is a very light, vivid yellow-green. Relative luminance 0.801; OKLCH L 91.6% C 0.152 H 133.4°. Best body text is #000000 at 17.02:1 contrast (WCAG AA passes).

Color values

HEX#BAF98D
RGBrgb(186, 249, 141)
HSLhsl(95, 90%, 76%)
HSVhsv(95, 43%, 98%)
CMYKcmyk(25.3%, 0%, 43.4%, 2.4%)
CIE-LABlab(91.73, -38.02, 45.49)
CIE-LCHlch(91.73, 59.29, 129.88°)
OKLaboklab(91.56% -0.1046 0.1107)
OKLCHoklch(91.56% 0.152 133.4)
XYZxyz(58.9319, 80.1119, 37.5524)
Luminance0.8011 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF98D #CC8DF9
analogous
#F0F98D #BAF98D #8DF996
triadic
#BAF98D #8DBAF9 #F98DBA
tetradic
#BAF98D #8DF0F9 #CC8DF9 #F9968D
square
#BAF98D #8DF0F9 #CC8DF9 #F9968D
split-complementary
#BAF98D #968DF9 #F98DF0
monochromatic
#74F319 #97F653 #BAF98D #DDFCC7 #EDFDE2

Accessibility & contrast

On white

1.23
#BAF98D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.02
#BAF98D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAF98D
17.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAF98D#FFFFFF#000000##000000
##BAF98D1.001.2317.0217.02
#FFFFFF1.231.0021.0021.00
#00000017.0221.001.001.00
##00000017.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB85
Deuteranopia (green-blind)
#F8E593
Tritanopia (blue-blind)
#BBF1DF
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #baf98d;
/* rgb */ color: rgb(186, 249, 141);
/* oklch */ color: oklch(91.6% 0.152 133.4);
Tailwind
colors: {
  custom: {
    50: '#d1fbb0',
    500: '#baf98d',
    950: '#000000',
  },
}
SCSS
$custom: #baf98d;
$custom-light: #d1fbb0;
$custom-dark: #000000;
JSON
{
  "hex": "#baf98d",
  "rgb": {
    "r": 186,
    "g": 249,
    "b": 141
  },
  "hsl": {
    "h": 95,
    "s": 90,
    "l": 76.471
  },
  "oklch": {
    "l": 0.91556,
    "c": 0.15231,
    "h": 133.4
  },
  "luminance": 0.80114
}

Semantic roles & 50–950 ramp

primary
#BAF98D
secondary
#A052D8
accent
#00E686
background
#FEFFFD
surface
#FBFFF7
border
#D4D7D0
text
#141711
muted
#838581

Preview Lab

Preview with #BAF98D

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

Preview Lab → · Contrast checker → · Palette generator →

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