#BAF67B#BAF67B

#BAF67B is a very light, vivid yellow-green. Relative luminance 0.778; OKLCH L 90.6% C 0.166 H 130.5°. Best body text is #000000 at 16.56:1 contrast (WCAG AA passes).

Color values

HEX#BAF67B
RGBrgb(186, 246, 123)
HSLhsl(89, 87%, 72%)
HSVhsv(89, 50%, 96%)
CMYKcmyk(24.4%, 0%, 50%, 3.5%)
CIE-LABlab(90.68, -38.72, 52.70)
CIE-LCHlch(90.68, 65.40, 126.30°)
OKLaboklab(90.63% -0.1076 0.1258)
OKLCHoklch(90.63% 0.166 130.5)
XYZxyz(56.7799, 77.7794, 30.7565)
Luminance0.7778 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF67B #B77BF6
analogous
#F6F47B #BAF67B #7DF67B
triadic
#BAF67B #7BBAF6 #F67BBA
tetradic
#BAF67B #7BF6F4 #B77BF6 #F67B7D
square
#BAF67B #7BF6F4 #B77BF6 #F67B7D
split-complementary
#BAF67B #7B7DF6 #F47BF6
monochromatic
#7EE710 #9CF242 #BAF67B #D8FAB4 #F0FDE2

Accessibility & contrast

On white

1.27
#BAF67B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.56
#BAF67B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAF67B
16.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAF67B#FFFFFF#000000##000000
##BAF67B1.001.2716.5616.56
#FFFFFF1.271.0021.0021.00
#00000016.5621.001.001.00
##00000016.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE770
Deuteranopia (green-blind)
#F7E383
Tritanopia (blue-blind)
#BDEDDA
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #baf67b;
/* rgb */ color: rgb(186, 246, 123);
/* oklch */ color: oklch(90.6% 0.166 130.5);
Tailwind
colors: {
  custom: {
    50: '#d1f9a4',
    500: '#baf67b',
    950: '#000000',
  },
}
SCSS
$custom: #baf67b;
$custom-light: #d1f9a4;
$custom-dark: #000000;
JSON
{
  "hex": "#baf67b",
  "rgb": {
    "r": 186,
    "g": 246,
    "b": 123
  },
  "hsl": {
    "h": 89.268,
    "s": 87.234,
    "l": 72.353
  },
  "oklch": {
    "l": 0.9063,
    "c": 0.16553,
    "h": 130.5
  },
  "luminance": 0.77781
}

Semantic roles & 50–950 ramp

primary
#BAF67B
secondary
#8944D2
accent
#02E470
background
#FEFFFC
surface
#FBFFF6
border
#D4D7D0
text
#14170F
muted
#838580

Preview Lab

Preview with #BAF67B

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

Preview Lab → · Contrast checker → · Palette generator →

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