#BAF165#BAF165

#BAF165 is a very light, vivid yellow-green. Relative luminance 0.743; OKLCH L 89.2% C 0.178 H 127.7°. Best body text is #000000 at 15.86:1 contrast (WCAG AA passes).

Color values

HEX#BAF165
RGBrgb(186, 241, 101)
HSLhsl(84, 83%, 67%)
HSVhsv(84, 58%, 95%)
CMYKcmyk(22.8%, 0%, 58.1%, 5.5%)
CIE-LABlab(89.06, -38.59, 60.66)
CIE-LCHlch(89.06, 71.89, 122.46°)
OKLaboklab(89.25% -0.1089 0.1411)
OKLCHoklch(89.25% 0.178 127.7)
XYZxyz(54.0538, 74.2883, 23.8007)
Luminance0.7429 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF165 #9C65F1
analogous
#F1E265 #BAF165 #74F165
triadic
#BAF165 #65BAF1 #F165BA
tetradic
#BAF165 #65F1E2 #9C65F1 #F16574
square
#BAF165 #65F1E2 #9C65F1 #F16574
split-complementary
#BAF165 #6574F1 #E265F1
monochromatic
#81C912 #A1EC2D #BAF165 #D3F69D #ECFBD5

Accessibility & contrast

On white

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

On black

15.86
#BAF165 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAF165
15.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAF165#FFFFFF#000000##000000
##BAF1651.001.3215.8615.86
#FFFFFF1.321.0021.0021.00
#00000015.8621.001.001.00
##00000015.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE256
Deuteranopia (green-blind)
#F4DF6F
Tritanopia (blue-blind)
#C0E7D3
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #baf165;
/* rgb */ color: rgb(186, 241, 101);
/* oklch */ color: oklch(89.2% 0.178 127.7);
Tailwind
colors: {
  custom: {
    50: '#d2f695',
    500: '#baf165',
    950: '#000000',
  },
}
SCSS
$custom: #baf165;
$custom-light: #d2f695;
$custom-dark: #000000;
JSON
{
  "hex": "#baf165",
  "rgb": {
    "r": 186,
    "g": 241,
    "b": 101
  },
  "hsl": {
    "h": 83.571,
    "s": 83.333,
    "l": 67.059
  },
  "oklch": {
    "l": 0.89246,
    "c": 0.17828,
    "h": 127.7
  },
  "luminance": 0.74289
}

Semantic roles & 50–950 ramp

primary
#BAF165
secondary
#6D34C6
accent
#06E05B
background
#FEFFFC
surface
#FBFEF5
border
#D4D6CF
text
#14170E
muted
#83857F

Preview Lab

Preview with #BAF165

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

Preview Lab → · Contrast checker → · Palette generator →

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