#BAF07D#BAF07D

#BAF07D is a very light, vivid yellow-green. Relative luminance 0.742; OKLCH L 89.3% C 0.155 H 129.8°. Best body text is #000000 at 15.85:1 contrast (WCAG AA passes).

Color values

HEX#BAF07D
RGBrgb(186, 240, 125)
HSLhsl(88, 79%, 72%)
HSVhsv(88, 48%, 94%)
CMYKcmyk(22.5%, 0%, 47.9%, 5.9%)
CIE-LABlab(89.04, -35.80, 49.77)
CIE-LCHlch(89.04, 61.31, 125.73°)
OKLaboklab(89.31% -0.0993 0.1195)
OKLCHoklch(89.31% 0.155 129.8)
XYZxyz(55.1109, 74.2388, 30.8241)
Luminance0.7424 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF07D #B37DF0
analogous
#F0ED7D #BAF07D #81F07D
triadic
#BAF07D #7DBAF0 #F07DBA
tetradic
#BAF07D #7DF0ED #B37DF0 #F07D81
square
#BAF07D #7DF0ED #B37DF0 #F07D81
split-complementary
#BAF07D #7D81F0 #ED7DF0
monochromatic
#7FDA19 #9DEA46 #BAF07D #D7F6B4 #F0FCE4

Accessibility & contrast

On white

1.33
#BAF07D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.85
#BAF07D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAF07D
15.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAF07D#FFFFFF#000000##000000
##BAF07D1.001.3315.8515.85
#FFFFFF1.331.0021.0021.00
#00000015.8521.001.001.00
##00000015.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9E273
Deuteranopia (green-blind)
#F1DE84
Tritanopia (blue-blind)
#BEE7D5
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #baf07d;
/* rgb */ color: rgb(186, 240, 125);
/* oklch */ color: oklch(89.3% 0.155 129.8);
Tailwind
colors: {
  custom: {
    50: '#d1f5a5',
    500: '#baf07d',
    950: '#000000',
  },
}
SCSS
$custom: #baf07d;
$custom-light: #d1f5a5;
$custom-dark: #000000;
JSON
{
  "hex": "#baf07d",
  "rgb": {
    "r": 186,
    "g": 240,
    "b": 125
  },
  "hsl": {
    "h": 88.174,
    "s": 79.31,
    "l": 71.569
  },
  "oklch": {
    "l": 0.89309,
    "c": 0.15537,
    "h": 129.8
  },
  "luminance": 0.7424
}

Semantic roles & 50–950 ramp

primary
#BAF07D
secondary
#8547CA
accent
#0ADC6C
background
#FEFFFC
surface
#FBFEF6
border
#D4D6D0
text
#14170F
muted
#838580

Preview Lab

Preview with #BAF07D

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

Preview Lab → · Contrast checker → · Palette generator →

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