#BAF273#BAF273

#BAF273 is a very light, vivid yellow-green. Relative luminance 0.752; OKLCH L 89.6% C 0.167 H 129.0°. Best body text is #000000 at 16.04:1 contrast (WCAG AA passes).

Color values

HEX#BAF273
RGBrgb(186, 242, 115)
HSLhsl(86, 83%, 70%)
HSVhsv(86, 52%, 95%)
CMYKcmyk(23.1%, 0%, 52.5%, 5.1%)
CIE-LABlab(89.48, -37.74, 54.94)
CIE-LCHlch(89.48, 66.66, 124.49°)
OKLaboklab(89.63% -0.1055 0.1301)
OKLCHoklch(89.63% 0.167 129)
XYZxyz(55.0959, 75.1801, 27.8248)
Luminance0.7518 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF273 #AB73F2
analogous
#F2EB73 #BAF273 #7AF273
triadic
#BAF273 #73BAF2 #F273BA
tetradic
#BAF273 #73F2EB #AB73F2 #F2737A
square
#BAF273 #73F2EB #AB73F2 #F2737A
split-complementary
#BAF273 #737AF2 #EB73F2
monochromatic
#81D714 #9EED3B #BAF273 #D6F7AB #F1FCE3

Accessibility & contrast

On white

1.31
#BAF273 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.04
#BAF273 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAF273
16.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAF273#FFFFFF#000000##000000
##BAF2731.001.3116.0416.04
#FFFFFF1.311.0021.0021.00
#00000016.0421.001.001.00
##00000016.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE367
Deuteranopia (green-blind)
#F4E07B
Tritanopia (blue-blind)
#BEE9D5
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #baf273;
/* rgb */ color: rgb(186, 242, 115);
/* oklch */ color: oklch(89.6% 0.167 129.0);
Tailwind
colors: {
  custom: {
    50: '#d1f69e',
    500: '#baf273',
    950: '#000000',
  },
}
SCSS
$custom: #baf273;
$custom-light: #d1f69e;
$custom-dark: #000000;
JSON
{
  "hex": "#baf273",
  "rgb": {
    "r": 186,
    "g": 242,
    "b": 115
  },
  "hsl": {
    "h": 86.457,
    "s": 83.007,
    "l": 70
  },
  "oklch": {
    "l": 0.8963,
    "c": 0.16747,
    "h": 129
  },
  "luminance": 0.75181
}

Semantic roles & 50–950 ramp

primary
#BAF273
secondary
#7C3DCC
accent
#06DF66
background
#FEFFFC
surface
#FBFEF5
border
#D4D6CF
text
#14170F
muted
#838580

Preview Lab

Preview with #BAF273

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

Preview Lab → · Contrast checker → · Palette generator →

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