#BAF368#BAF368

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

Color values

HEX#BAF368
RGBrgb(186, 243, 104)
HSLhsl(85, 85%, 68%)
HSVhsv(85, 57%, 95%)
CMYKcmyk(23.5%, 0%, 57.2%, 4.7%)
CIE-LABlab(89.64, -39.22, 60.03)
CIE-LCHlch(89.64, 71.70, 123.16°)
OKLaboklab(89.73% -0.1104 0.1401)
OKLCHoklch(89.73% 0.178 128.2)
XYZxyz(54.7987, 75.5387, 24.7874)
Luminance0.7554 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF368 #A168F3
analogous
#F3E668 #BAF368 #74F368
triadic
#BAF368 #68BAF3 #F368BA
tetradic
#BAF368 #68F3E6 #A168F3 #F36874
square
#BAF368 #68F3E6 #A168F3 #F36874
split-complementary
#BAF368 #6874F3 #E668F3
monochromatic
#82D011 #A0EE2F #BAF368 #D4F8A1 #EEFCD9

Accessibility & contrast

On white

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

On black

16.11
#BAF368 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAF368
16.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAF368#FFFFFF#000000##000000
##BAF3681.001.3016.1116.11
#FFFFFF1.301.0021.0021.00
#00000016.1121.001.001.00
##00000016.1121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #baf368;
/* rgb */ color: rgb(186, 243, 104);
/* oklch */ color: oklch(89.7% 0.178 128.2);
Tailwind
colors: {
  custom: {
    50: '#d2f797',
    500: '#baf368',
    950: '#000000',
  },
}
SCSS
$custom: #baf368;
$custom-light: #d2f797;
$custom-dark: #000000;
JSON
{
  "hex": "#baf368",
  "rgb": {
    "r": 186,
    "g": 243,
    "b": 104
  },
  "hsl": {
    "h": 84.604,
    "s": 85.276,
    "l": 68.039
  },
  "oklch": {
    "l": 0.89729,
    "c": 0.17837,
    "h": 128.2
  },
  "luminance": 0.7554
}

Semantic roles & 50–950 ramp

primary
#BAF368
secondary
#7234CC
accent
#04E25F
background
#FEFFFC
surface
#FBFEF5
border
#D4D6CF
text
#14170E
muted
#83857F

Preview Lab

Preview with #BAF368

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

Preview Lab → · Contrast checker → · Palette generator →

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