#BAF370#BAF370

#BAF370 is a very light, vivid yellow-green. Relative luminance 0.757; OKLCH L 89.8% C 0.171 H 128.9°. Best body text is #000000 at 16.14:1 contrast (WCAG AA passes).

Color values

HEX#BAF370
RGBrgb(186, 243, 112)
HSLhsl(86, 85%, 70%)
HSVhsv(86, 54%, 95%)
CMYKcmyk(23.5%, 0%, 53.9%, 4.7%)
CIE-LABlab(89.72, -38.48, 56.59)
CIE-LCHlch(89.72, 68.43, 124.22°)
OKLaboklab(89.82% -0.1078 0.1334)
OKLCHoklch(89.82% 0.171 128.9)
XYZxyz(55.2245, 75.7090, 27.0299)
Luminance0.7571 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF370 #A970F3
analogous
#F3EB70 #BAF370 #79F370
triadic
#BAF370 #70BAF3 #F370BA
tetradic
#BAF370 #70F3EB #A970F3 #F37079
square
#BAF370 #70F3EB #A970F3 #F37079
split-complementary
#BAF370 #7079F3 #EB70F3
monochromatic
#81D712 #9FEE38 #BAF370 #D5F8A8 #F0FCE1

Accessibility & contrast

On white

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

On black

16.14
#BAF370 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAF370
16.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAF370#FFFFFF#000000##000000
##BAF3701.001.3016.1416.14
#FFFFFF1.301.0021.0021.00
#00000016.1421.001.001.00
##00000016.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE463
Deuteranopia (green-blind)
#F5E079
Tritanopia (blue-blind)
#BFEAD6
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #baf370;
/* rgb */ color: rgb(186, 243, 112);
/* oklch */ color: oklch(89.8% 0.171 128.9);
Tailwind
colors: {
  custom: {
    50: '#d1f79c',
    500: '#baf370',
    950: '#000000',
  },
}
SCSS
$custom: #baf370;
$custom-light: #d1f79c;
$custom-dark: #000000;
JSON
{
  "hex": "#baf370",
  "rgb": {
    "r": 186,
    "g": 243,
    "b": 112
  },
  "hsl": {
    "h": 86.107,
    "s": 84.516,
    "l": 69.608
  },
  "oklch": {
    "l": 0.89819,
    "c": 0.17149,
    "h": 128.9
  },
  "luminance": 0.7571
}

Semantic roles & 50–950 ramp

primary
#BAF370
secondary
#7A3BCD
accent
#05E164
background
#FEFFFC
surface
#FBFEF5
border
#D4D6CF
text
#14170E
muted
#83857F

Preview Lab

Preview with #BAF370

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

Preview Lab → · Contrast checker → · Palette generator →

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