#BAF173#BAF173

#BAF173 is a very light, vivid yellow-green. Relative luminance 0.746; OKLCH L 89.4% C 0.166 H 128.9°. Best body text is #000000 at 15.92:1 contrast (WCAG AA passes).

Color values

HEX#BAF173
RGBrgb(186, 241, 115)
HSLhsl(86, 82%, 70%)
HSVhsv(86, 52%, 95%)
CMYKcmyk(22.8%, 0%, 52.3%, 5.5%)
CIE-LABlab(89.20, -37.30, 54.61)
CIE-LCHlch(89.20, 66.13, 124.33°)
OKLaboklab(89.41% -0.1042 0.1294)
OKLCHoklch(89.41% 0.166 128.9)
XYZxyz(54.7991, 74.5864, 27.7258)
Luminance0.7459 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF173 #AA73F1
analogous
#F1E973 #BAF173 #7BF173
triadic
#BAF173 #73BAF1 #F173BA
tetradic
#BAF173 #73F1E9 #AA73F1 #F1737B
square
#BAF173 #73F1E9 #AA73F1 #F1737B
split-complementary
#BAF173 #737BF1 #E973F1
monochromatic
#81D415 #9FEB3B #BAF173 #D5F7AB #F1FCE2

Accessibility & contrast

On white

1.32
#BAF173 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.92
#BAF173 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAF173
15.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAF173#FFFFFF#000000##000000
##BAF1731.001.3215.9215.92
#FFFFFF1.321.0021.0021.00
#00000015.9221.001.001.00
##00000015.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE367
Deuteranopia (green-blind)
#F3DF7B
Tritanopia (blue-blind)
#BFE8D5
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #baf173;
/* rgb */ color: rgb(186, 241, 115);
/* oklch */ color: oklch(89.4% 0.166 128.9);
Tailwind
colors: {
  custom: {
    50: '#d1f69e',
    500: '#baf173',
    950: '#000000',
  },
}
SCSS
$custom: #baf173;
$custom-light: #d1f69e;
$custom-dark: #000000;
JSON
{
  "hex": "#baf173",
  "rgb": {
    "r": 186,
    "g": 241,
    "b": 115
  },
  "hsl": {
    "h": 86.19,
    "s": 81.818,
    "l": 69.804
  },
  "oklch": {
    "l": 0.89405,
    "c": 0.16613,
    "h": 128.9
  },
  "luminance": 0.74588
}

Semantic roles & 50–950 ramp

primary
#BAF173
secondary
#7B3ECA
accent
#07DE65
background
#FEFFFC
surface
#FBFEF5
border
#D4D6CF
text
#14170F
muted
#838580

Preview Lab

Preview with #BAF173

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

Preview Lab → · Contrast checker → · Palette generator →

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