#BAF671#BAF671

#BAF671 is a very light, vivid yellow-green. Relative luminance 0.775; OKLCH L 90.5% C 0.175 H 129.5°. Best body text is #000000 at 16.51:1 contrast (WCAG AA passes).

Color values

HEX#BAF671
RGBrgb(186, 246, 113)
HSLhsl(87, 88%, 70%)
HSVhsv(87, 54%, 96%)
CMYKcmyk(24.4%, 0%, 54.1%, 3.5%)
CIE-LABlab(90.57, -39.73, 57.13)
CIE-LCHlch(90.57, 69.58, 124.81°)
OKLaboklab(90.51% -0.1111 0.1347)
OKLCHoklch(90.51% 0.175 129.5)
XYZxyz(56.1856, 77.5417, 27.6264)
Luminance0.7754 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF671 #AD71F6
analogous
#F6F071 #BAF671 #77F671
triadic
#BAF671 #71BAF6 #F671BA
tetradic
#BAF671 #71F6F0 #AD71F6 #F67177
square
#BAF671 #71F6F0 #AD71F6 #F67177
split-complementary
#BAF671 #7177F6 #F071F6
monochromatic
#80DE0E #9EF237 #BAF671 #D6FAAB #F1FDE2

Accessibility & contrast

On white

1.27
#BAF671 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.51
#BAF671 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAF671
16.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAF671#FFFFFF#000000##000000
##BAF6711.001.2716.5116.51
#FFFFFF1.271.0021.0021.00
#00000016.5121.001.001.00
##00000016.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE764
Deuteranopia (green-blind)
#F8E37A
Tritanopia (blue-blind)
#BEEDD8
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #baf671;
/* rgb */ color: rgb(186, 246, 113);
/* oklch */ color: oklch(90.5% 0.175 129.5);
Tailwind
colors: {
  custom: {
    50: '#d1f99d',
    500: '#baf671',
    950: '#000000',
  },
}
SCSS
$custom: #baf671;
$custom-light: #d1f99d;
$custom-dark: #000000;
JSON
{
  "hex": "#baf671",
  "rgb": {
    "r": 186,
    "g": 246,
    "b": 113
  },
  "hsl": {
    "h": 87.068,
    "s": 88.079,
    "l": 70.392
  },
  "oklch": {
    "l": 0.90507,
    "c": 0.1746,
    "h": 129.5
  },
  "luminance": 0.77543
}

Semantic roles & 50–950 ramp

primary
#BAF671
secondary
#7E3BD0
accent
#01E568
background
#FEFFFC
surface
#FBFFF5
border
#D4D7CF
text
#14170F
muted
#838580

Preview Lab

Preview with #BAF671

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

Preview Lab → · Contrast checker → · Palette generator →

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