#BAF662#BAF662

#BAF662 is a very light, vivid yellow-green. Relative luminance 0.772; OKLCH L 90.3% C 0.187 H 128.3°. Best body text is #000000 at 16.45:1 contrast (WCAG AA passes).

Color values

HEX#BAF662
RGBrgb(186, 246, 98)
HSLhsl(84, 89%, 67%)
HSVhsv(84, 60%, 96%)
CMYKcmyk(24.4%, 0%, 60.2%, 3.5%)
CIE-LABlab(90.43, -41.05, 63.46)
CIE-LCHlch(90.43, 75.58, 122.90°)
OKLaboklab(90.35% -0.116 0.1468)
OKLCHoklch(90.35% 0.187 128.3)
XYZxyz(55.4099, 77.2313, 23.5408)
Luminance0.7723 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF662 #9E62F6
analogous
#F6E862 #BAF662 #70F662
triadic
#BAF662 #62BAF6 #F662BA
tetradic
#BAF662 #62F6E8 #9E62F6 #F66270
square
#BAF662 #62F6E8 #9E62F6 #F66270
split-complementary
#BAF662 #6270F6 #E862F6
monochromatic
#81D20C #A1F328 #BAF662 #D3F99C #EDFDD6

Accessibility & contrast

On white

1.28
#BAF662 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.45
#BAF662 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAF662
16.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAF662#FFFFFF#000000##000000
##BAF6621.001.2816.4516.45
#FFFFFF1.281.0021.0021.00
#00000016.4521.001.001.00
##00000016.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE651
Deuteranopia (green-blind)
#F9E26D
Tritanopia (blue-blind)
#BFECD7
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #baf662;
/* rgb */ color: rgb(186, 246, 98);
/* oklch */ color: oklch(90.3% 0.187 128.3);
Tailwind
colors: {
  custom: {
    50: '#d2f994',
    500: '#baf662',
    950: '#000000',
  },
}
SCSS
$custom: #baf662;
$custom-light: #d2f994;
$custom-dark: #000000;
JSON
{
  "hex": "#baf662",
  "rgb": {
    "r": 186,
    "g": 246,
    "b": 98
  },
  "hsl": {
    "h": 84.324,
    "s": 89.157,
    "l": 67.451
  },
  "oklch": {
    "l": 0.90346,
    "c": 0.18708,
    "h": 128.3
  },
  "luminance": 0.77232
}

Semantic roles & 50–950 ramp

primary
#BAF662
secondary
#6F2FCD
accent
#00E65D
background
#FEFFFC
surface
#FBFFF5
border
#D4D7CF
text
#14170E
muted
#83857F

Preview Lab

Preview with #BAF662

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

Preview Lab → · Contrast checker → · Palette generator →

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