#BAF462#BAF462

#BAF462 is a very light, vivid yellow-green. Relative luminance 0.760; OKLCH L 89.9% C 0.185 H 128.0°. Best body text is #000000 at 16.20:1 contrast (WCAG AA passes).

Color values

HEX#BAF462
RGBrgb(186, 244, 98)
HSLhsl(84, 87%, 67%)
HSVhsv(84, 60%, 96%)
CMYKcmyk(23.8%, 0%, 59.8%, 4.3%)
CIE-LABlab(89.87, -40.17, 62.84)
CIE-LCHlch(89.87, 74.58, 122.59°)
OKLaboklab(89.89% -0.1136 0.1455)
OKLCHoklch(89.89% 0.185 128)
XYZxyz(54.8048, 76.0213, 23.3391)
Luminance0.7602 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF462 #9C62F4
analogous
#F4E562 #BAF462 #71F462
triadic
#BAF462 #62BAF4 #F462BA
tetradic
#BAF462 #62F4E5 #9C62F4 #F46271
square
#BAF462 #62F4E5 #9C62F4 #F46271
split-complementary
#BAF462 #6271F4 #E562F4
monochromatic
#81CD0E #A1F029 #BAF462 #D3F89B #ECFCD4

Accessibility & contrast

On white

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

On black

16.20
#BAF462 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAF462
16.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAF462#FFFFFF#000000##000000
##BAF4621.001.3016.2016.20
#FFFFFF1.301.0021.0021.00
#00000016.2021.001.001.00
##00000016.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE451
Deuteranopia (green-blind)
#F7E16C
Tritanopia (blue-blind)
#C0EAD5
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #baf462;
/* rgb */ color: rgb(186, 244, 98);
/* oklch */ color: oklch(89.9% 0.185 128.0);
Tailwind
colors: {
  custom: {
    50: '#d2f894',
    500: '#baf462',
    950: '#000000',
  },
}
SCSS
$custom: #baf462;
$custom-light: #d2f894;
$custom-dark: #000000;
JSON
{
  "hex": "#baf462",
  "rgb": {
    "r": 186,
    "g": 244,
    "b": 98
  },
  "hsl": {
    "h": 83.836,
    "s": 86.905,
    "l": 67.059
  },
  "oklch": {
    "l": 0.89893,
    "c": 0.18454,
    "h": 128
  },
  "luminance": 0.76022
}

Semantic roles & 50–950 ramp

primary
#BAF462
secondary
#6D31C9
accent
#02E35C
background
#FEFFFC
surface
#FBFFF5
border
#D4D7CF
text
#14170D
muted
#83857F

Preview Lab

Preview with #BAF462

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

Preview Lab → · Contrast checker → · Palette generator →

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