#BAF67D#BAF67D

#BAF67D is a very light, vivid yellow-green. Relative luminance 0.778; OKLCH L 90.7% C 0.164 H 130.8°. Best body text is #000000 at 16.57:1 contrast (WCAG AA passes).

Color values

HEX#BAF67D
RGBrgb(186, 246, 125)
HSLhsl(90, 87%, 73%)
HSVhsv(90, 49%, 96%)
CMYKcmyk(24.4%, 0%, 49.2%, 3.5%)
CIE-LABlab(90.70, -38.51, 51.80)
CIE-LCHlch(90.70, 64.55, 126.63°)
OKLaboklab(90.66% -0.1069 0.1239)
OKLCHoklch(90.66% 0.164 130.8)
XYZxyz(56.9064, 77.8300, 31.4226)
Luminance0.7783 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF67D #B97DF6
analogous
#F6F57D #BAF67D #7DF67D
triadic
#BAF67D #7DBAF6 #F67DBA
tetradic
#BAF67D #7DF6F5 #B97DF6 #F67D7D
square
#BAF67D #7DF6F5 #B97DF6 #F67D7D
split-complementary
#BAF67D #7D7DF6 #F57DF6
monochromatic
#7DE910 #9CF244 #BAF67D #D8FAB6 #F0FDE2

Accessibility & contrast

On white

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

On black

16.57
#BAF67D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAF67D
16.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAF67D#FFFFFF#000000##000000
##BAF67D1.001.2716.5716.57
#FFFFFF1.271.0021.0021.00
#00000016.5721.001.001.00
##00000016.5721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #baf67d;
/* rgb */ color: rgb(186, 246, 125);
/* oklch */ color: oklch(90.7% 0.164 130.8);
Tailwind
colors: {
  custom: {
    50: '#d1f9a5',
    500: '#baf67d',
    950: '#000000',
  },
}
SCSS
$custom: #baf67d;
$custom-light: #d1f9a5;
$custom-dark: #000000;
JSON
{
  "hex": "#baf67d",
  "rgb": {
    "r": 186,
    "g": 246,
    "b": 125
  },
  "hsl": {
    "h": 89.752,
    "s": 87.05,
    "l": 72.745
  },
  "oklch": {
    "l": 0.90656,
    "c": 0.16365,
    "h": 130.8
  },
  "luminance": 0.77831
}

Semantic roles & 50–950 ramp

primary
#BAF67D
secondary
#8B45D2
accent
#02E472
background
#FEFFFC
surface
#FBFFF6
border
#D4D7D0
text
#14170F
muted
#838580

Preview Lab

Preview with #BAF67D

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

Preview Lab → · Contrast checker → · Palette generator →

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