#BAF668#BAF668

#BAF668 is a very light, vivid yellow-green. Relative luminance 0.773; OKLCH L 90.4% C 0.182 H 128.8°. Best body text is #000000 at 16.47:1 contrast (WCAG AA passes).

Color values

HEX#BAF668
RGBrgb(186, 246, 104)
HSLhsl(85, 89%, 69%)
HSVhsv(85, 58%, 96%)
CMYKcmyk(24.4%, 0%, 57.7%, 3.5%)
CIE-LABlab(90.48, -40.55, 60.98)
CIE-LCHlch(90.48, 73.23, 123.62°)
OKLaboklab(90.41% -0.1141 0.1421)
OKLCHoklch(90.41% 0.182 128.8)
XYZxyz(55.7039, 77.3489, 25.0891)
Luminance0.7735 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF668 #A468F6
analogous
#F6EB68 #BAF668 #73F668
triadic
#BAF668 #68BAF6 #F668BA
tetradic
#BAF668 #68F6EB #A468F6 #F66873
square
#BAF668 #68F6EB #A468F6 #F66873
split-complementary
#BAF668 #6873F6 #EB68F6
monochromatic
#81D70D #A0F32E #BAF668 #D4F9A2 #EFFDDC

Accessibility & contrast

On white

1.28
#BAF668 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.47
#BAF668 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAF668
16.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAF668#FFFFFF#000000##000000
##BAF6681.001.2816.4716.47
#FFFFFF1.281.0021.0021.00
#00000016.4721.001.001.00
##00000016.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE659
Deuteranopia (green-blind)
#F8E272
Tritanopia (blue-blind)
#BFECD7
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #baf668;
/* rgb */ color: rgb(186, 246, 104);
/* oklch */ color: oklch(90.4% 0.182 128.8);
Tailwind
colors: {
  custom: {
    50: '#d2f998',
    500: '#baf668',
    950: '#000000',
  },
}
SCSS
$custom: #baf668;
$custom-light: #d2f998;
$custom-dark: #000000;
JSON
{
  "hex": "#baf668",
  "rgb": {
    "r": 186,
    "g": 246,
    "b": 104
  },
  "hsl": {
    "h": 85.352,
    "s": 88.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.90407,
    "c": 0.18226,
    "h": 128.8
  },
  "luminance": 0.7735
}

Semantic roles & 50–950 ramp

primary
#BAF668
secondary
#7533CF
accent
#00E561
background
#FEFFFC
surface
#FBFFF5
border
#D4D7CF
text
#14170E
muted
#83857F

Preview Lab

Preview with #BAF668

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

Preview Lab → · Contrast checker → · Palette generator →

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