#BAF366#BAF366

#BAF366 is a very light, vivid yellow-green. Relative luminance 0.755; OKLCH L 89.7% C 0.180 H 128.1°. Best body text is #000000 at 16.10:1 contrast (WCAG AA passes).

Color values

HEX#BAF366
RGBrgb(186, 243, 102)
HSLhsl(84, 85%, 68%)
HSVhsv(84, 58%, 95%)
CMYKcmyk(23.5%, 0%, 58%, 4.7%)
CIE-LABlab(89.63, -39.39, 60.87)
CIE-LCHlch(89.63, 72.50, 122.91°)
OKLaboklab(89.71% -0.1111 0.1417)
OKLCHoklch(89.71% 0.18 128.1)
XYZxyz(54.6984, 75.4986, 24.2587)
Luminance0.7550 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF366 #9F66F3
analogous
#F3E566 #BAF366 #74F366
triadic
#BAF366 #66BAF3 #F366BA
tetradic
#BAF366 #66F3E5 #9F66F3 #F36674
square
#BAF366 #66F3E5 #9F66F3 #F36674
split-complementary
#BAF366 #6674F3 #E566F3
monochromatic
#82CE10 #A0EF2D #BAF366 #D4F79F #EDFCD7

Accessibility & contrast

On white

1.30
#BAF366 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.10
#BAF366 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAF366
16.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAF366#FFFFFF#000000##000000
##BAF3661.001.3016.1016.10
#FFFFFF1.301.0021.0021.00
#00000016.1021.001.001.00
##00000016.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE457
Deuteranopia (green-blind)
#F6E070
Tritanopia (blue-blind)
#BFE9D5
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #baf366;
/* rgb */ color: rgb(186, 243, 102);
/* oklch */ color: oklch(89.7% 0.180 128.1);
Tailwind
colors: {
  custom: {
    50: '#d2f796',
    500: '#baf366',
    950: '#000000',
  },
}
SCSS
$custom: #baf366;
$custom-light: #d2f796;
$custom-dark: #000000;
JSON
{
  "hex": "#baf366",
  "rgb": {
    "r": 186,
    "g": 243,
    "b": 102
  },
  "hsl": {
    "h": 84.255,
    "s": 85.455,
    "l": 67.647
  },
  "oklch": {
    "l": 0.89708,
    "c": 0.18003,
    "h": 128.1
  },
  "luminance": 0.755
}

Semantic roles & 50–950 ramp

primary
#BAF366
secondary
#7033CA
accent
#04E25D
background
#FEFFFC
surface
#FBFEF5
border
#D4D6CF
text
#14170E
muted
#83857F

Preview Lab

Preview with #BAF366

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

Preview Lab → · Contrast checker → · Palette generator →

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