#BAF161#BAF161

#BAF161 is a very light, vivid yellow-green. Relative luminance 0.742; OKLCH L 89.2% C 0.182 H 127.4°. Best body text is #000000 at 15.84:1 contrast (WCAG AA passes).

Color values

HEX#BAF161
RGBrgb(186, 241, 97)
HSLhsl(83, 84%, 66%)
HSVhsv(83, 60%, 95%)
CMYKcmyk(22.8%, 0%, 59.8%, 5.5%)
CIE-LABlab(89.02, -38.92, 62.32)
CIE-LCHlch(89.02, 73.47, 121.98°)
OKLaboklab(89.21% -0.1102 0.1443)
OKLCHoklch(89.21% 0.182 127.4)
XYZxyz(53.8626, 74.2118, 22.7935)
Luminance0.7421 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF161 #9861F1
analogous
#F1E061 #BAF161 #72F161
triadic
#BAF161 #61BAF1 #F161BA
tetradic
#BAF161 #61F1E0 #9861F1 #F16172
square
#BAF161 #61F1E0 #9861F1 #F16172
split-complementary
#BAF161 #6172F1 #E061F1
monochromatic
#81C612 #A1EC29 #BAF161 #D3F699 #EBFBD1

Accessibility & contrast

On white

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

On black

15.84
#BAF161 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAF161
15.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAF161#FFFFFF#000000##000000
##BAF1611.001.3315.8415.84
#FFFFFF1.331.0021.0021.00
#00000015.8421.001.001.00
##00000015.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE251
Deuteranopia (green-blind)
#F5DF6B
Tritanopia (blue-blind)
#C0E7D2
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #baf161;
/* rgb */ color: rgb(186, 241, 97);
/* oklch */ color: oklch(89.2% 0.182 127.4);
Tailwind
colors: {
  custom: {
    50: '#d2f693',
    500: '#baf161',
    950: '#000000',
  },
}
SCSS
$custom: #baf161;
$custom-light: #d2f693;
$custom-dark: #000000;
JSON
{
  "hex": "#baf161",
  "rgb": {
    "r": 186,
    "g": 241,
    "b": 97
  },
  "hsl": {
    "h": 82.917,
    "s": 83.721,
    "l": 66.275
  },
  "oklch": {
    "l": 0.89205,
    "c": 0.18152,
    "h": 127.4
  },
  "luminance": 0.74213
}

Semantic roles & 50–950 ramp

primary
#BAF161
secondary
#6A33C3
accent
#05E059
background
#FEFFFC
surface
#FBFEF4
border
#D4D6CE
text
#14170D
muted
#83857F

Preview Lab

Preview with #BAF161

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

Preview Lab → · Contrast checker → · Palette generator →

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