#BAF05F#BAF05F

#BAF05F is a very light, vivid yellow-green. Relative luminance 0.736; OKLCH L 89.0% C 0.182 H 127.1°. Best body text is #000000 at 15.72:1 contrast (WCAG AA passes).

Color values

HEX#BAF05F
RGBrgb(186, 240, 95)
HSLhsl(82, 83%, 66%)
HSVhsv(82, 60%, 94%)
CMYKcmyk(22.5%, 0%, 60.4%, 5.9%)
CIE-LABlab(88.73, -38.63, 62.83)
CIE-LCHlch(88.73, 73.76, 121.59°)
OKLaboklab(88.96% -0.1096 0.1451)
OKLCHoklch(88.96% 0.182 127.1)
XYZxyz(53.4753, 73.5846, 22.2102)
Luminance0.7359 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF05F #955FF0
analogous
#F0DE5F #BAF05F #71F05F
triadic
#BAF05F #5FBAF0 #F05FBA
tetradic
#BAF05F #5FF0DE #955FF0 #F05F71
square
#BAF05F #5FF0DE #955FF0 #F05F71
split-complementary
#BAF05F #5F71F0 #DE5FF0
monochromatic
#81C212 #A2EB27 #BAF05F #D2F597 #EAFACF

Accessibility & contrast

On white

1.34
#BAF05F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.72
#BAF05F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAF05F
15.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAF05F#FFFFFF#000000##000000
##BAF05F1.001.3415.7215.72
#FFFFFF1.341.0021.0021.00
#00000015.7221.001.001.00
##00000015.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE14E
Deuteranopia (green-blind)
#F4DE69
Tritanopia (blue-blind)
#C0E6D1
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #baf05f;
/* rgb */ color: rgb(186, 240, 95);
/* oklch */ color: oklch(89.0% 0.182 127.1);
Tailwind
colors: {
  custom: {
    50: '#d2f592',
    500: '#baf05f',
    950: '#000000',
  },
}
SCSS
$custom: #baf05f;
$custom-light: #d2f592;
$custom-dark: #000000;
JSON
{
  "hex": "#baf05f",
  "rgb": {
    "r": 186,
    "g": 240,
    "b": 95
  },
  "hsl": {
    "h": 82.345,
    "s": 82.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.88959,
    "c": 0.18183,
    "h": 127.1
  },
  "luminance": 0.73586
}

Semantic roles & 50–950 ramp

primary
#BAF05F
secondary
#6833C0
accent
#06DF57
background
#FEFFFC
surface
#FBFEF4
border
#D4D6CE
text
#14170D
muted
#83857F

Preview Lab

Preview with #BAF05F

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

Preview Lab → · Contrast checker → · Palette generator →

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