#BAF168#BAF168

#BAF168 is a very light, vivid yellow-green. Relative luminance 0.743; OKLCH L 89.3% C 0.176 H 127.9°. Best body text is #000000 at 15.87:1 contrast (WCAG AA passes).

Color values

HEX#BAF168
RGBrgb(186, 241, 104)
HSLhsl(84, 83%, 68%)
HSVhsv(84, 57%, 95%)
CMYKcmyk(22.8%, 0%, 56.8%, 5.5%)
CIE-LABlab(89.09, -38.33, 59.39)
CIE-LCHlch(89.09, 70.68, 122.83°)
OKLaboklab(89.28% -0.108 0.1387)
OKLCHoklch(89.28% 0.176 127.9)
XYZxyz(54.2035, 74.3482, 24.5889)
Luminance0.7435 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF168 #9F68F1
analogous
#F1E468 #BAF168 #75F168
triadic
#BAF168 #68BAF1 #F168BA
tetradic
#BAF168 #68F1E4 #9F68F1 #F16875
square
#BAF168 #68F1E4 #9F68F1 #F16875
split-complementary
#BAF168 #6875F1 #E468F1
monochromatic
#82CC13 #A0EC30 #BAF168 #D4F6A0 #EDFBD8

Accessibility & contrast

On white

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

On black

15.87
#BAF168 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAF168
15.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAF168#FFFFFF#000000##000000
##BAF1681.001.3215.8715.87
#FFFFFF1.321.0021.0021.00
#00000015.8721.001.001.00
##00000015.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE25A
Deuteranopia (green-blind)
#F4DF71
Tritanopia (blue-blind)
#C0E7D3
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #baf168;
/* rgb */ color: rgb(186, 241, 104);
/* oklch */ color: oklch(89.3% 0.176 127.9);
Tailwind
colors: {
  custom: {
    50: '#d2f697',
    500: '#baf168',
    950: '#000000',
  },
}
SCSS
$custom: #baf168;
$custom-light: #d2f697;
$custom-dark: #000000;
JSON
{
  "hex": "#baf168",
  "rgb": {
    "r": 186,
    "g": 241,
    "b": 104
  },
  "hsl": {
    "h": 84.088,
    "s": 83.03,
    "l": 67.647
  },
  "oklch": {
    "l": 0.89278,
    "c": 0.17578,
    "h": 127.9
  },
  "luminance": 0.74349
}

Semantic roles & 50–950 ramp

primary
#BAF168
secondary
#7035C8
accent
#06DF5D
background
#FEFFFC
surface
#FBFEF5
border
#D4D6CF
text
#14170E
muted
#83857F

Preview Lab

Preview with #BAF168

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

Preview Lab → · Contrast checker → · Palette generator →

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