#BAF45C#BAF45C

#BAF45C is a very light, vivid yellow-green. Relative luminance 0.759; OKLCH L 89.8% C 0.189 H 127.6°. Best body text is #000000 at 16.18:1 contrast (WCAG AA passes).

Color values

HEX#BAF45C
RGBrgb(186, 244, 92)
HSLhsl(83, 87%, 66%)
HSVhsv(83, 62%, 96%)
CMYKcmyk(23.8%, 0%, 62.3%, 4.3%)
CIE-LABlab(89.82, -40.64, 65.26)
CIE-LCHlch(89.82, 76.88, 121.91°)
OKLaboklab(89.84% -0.1154 0.1499)
OKLCHoklch(89.84% 0.189 127.6)
XYZxyz(54.5321, 75.9122, 21.9026)
Luminance0.7591 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF45C #965CF4
analogous
#F4E25C #BAF45C #6EF45C
triadic
#BAF45C #5CBAF4 #F45CBA
tetradic
#BAF45C #5CF4E2 #965CF4 #F45C6E
square
#BAF45C #5CF4E2 #965CF4 #F45C6E
split-complementary
#BAF45C #5C6EF4 #E25CF4
monochromatic
#81C80E #A2F023 #BAF45C #D2F895 #EBFCCF

Accessibility & contrast

On white

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

On black

16.18
#BAF45C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAF45C
16.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAF45C#FFFFFF#000000##000000
##BAF45C1.001.3016.1816.18
#FFFFFF1.301.0021.0021.00
#00000016.1821.001.001.00
##00000016.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE449
Deuteranopia (green-blind)
#F8E167
Tritanopia (blue-blind)
#C0EAD4
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #baf45c;
/* rgb */ color: rgb(186, 244, 92);
/* oklch */ color: oklch(89.8% 0.189 127.6);
Tailwind
colors: {
  custom: {
    50: '#d2f890',
    500: '#baf45c',
    950: '#000000',
  },
}
SCSS
$custom: #baf45c;
$custom-light: #d2f890;
$custom-dark: #000000;
JSON
{
  "hex": "#baf45c",
  "rgb": {
    "r": 186,
    "g": 244,
    "b": 92
  },
  "hsl": {
    "h": 82.895,
    "s": 87.356,
    "l": 65.882
  },
  "oklch": {
    "l": 0.89836,
    "c": 0.18916,
    "h": 127.6
  },
  "luminance": 0.75913
}

Semantic roles & 50–950 ramp

primary
#BAF45C
secondary
#682FC5
accent
#02E458
background
#FEFFFC
surface
#FBFFF4
border
#D4D7CE
text
#14170D
muted
#83857F

Preview Lab

Preview with #BAF45C

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

Preview Lab → · Contrast checker → · Palette generator →

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