#BAF162#BAF162

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

Color values

HEX#BAF162
RGBrgb(186, 241, 98)
HSLhsl(83, 84%, 66%)
HSVhsv(83, 59%, 95%)
CMYKcmyk(22.8%, 0%, 59.3%, 5.5%)
CIE-LABlab(89.03, -38.84, 61.91)
CIE-LCHlch(89.03, 73.08, 122.10°)
OKLaboklab(89.22% -0.1099 0.1435)
OKLCHoklch(89.22% 0.181 127.4)
XYZxyz(53.9095, 74.2306, 23.0406)
Luminance0.7423 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF162 #9962F1
analogous
#F1E162 #BAF162 #73F162
triadic
#BAF162 #62BAF1 #F162BA
tetradic
#BAF162 #62F1E1 #9962F1 #F16273
square
#BAF162 #62F1E1 #9962F1 #F16273
split-complementary
#BAF162 #6273F1 #E162F1
monochromatic
#81C712 #A1EC2A #BAF162 #D3F69A #EBFBD2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAF162#FFFFFF#000000##000000
##BAF1621.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)
#FCE252
Deuteranopia (green-blind)
#F5DF6C
Tritanopia (blue-blind)
#C0E7D2
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #baf162;
/* rgb */ color: rgb(186, 241, 98);
/* oklch */ color: oklch(89.2% 0.181 127.4);
Tailwind
colors: {
  custom: {
    50: '#d2f694',
    500: '#baf162',
    950: '#000000',
  },
}
SCSS
$custom: #baf162;
$custom-light: #d2f694;
$custom-dark: #000000;
JSON
{
  "hex": "#baf162",
  "rgb": {
    "r": 186,
    "g": 241,
    "b": 98
  },
  "hsl": {
    "h": 83.077,
    "s": 83.626,
    "l": 66.471
  },
  "oklch": {
    "l": 0.89215,
    "c": 0.18072,
    "h": 127.4
  },
  "luminance": 0.74232
}

Semantic roles & 50–950 ramp

primary
#BAF162
secondary
#6B33C4
accent
#05E05A
background
#FEFFFC
surface
#FBFEF5
border
#D4D6CF
text
#14170D
muted
#83857F

Preview Lab

Preview with #BAF162

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

Preview Lab → · Contrast checker → · Palette generator →

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