#BAF672#BAF672

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

Color values

HEX#BAF672
RGBrgb(186, 246, 114)
HSLhsl(87, 88%, 71%)
HSVhsv(87, 54%, 96%)
CMYKcmyk(24.4%, 0%, 53.7%, 3.5%)
CIE-LABlab(90.58, -39.63, 56.69)
CIE-LCHlch(90.58, 69.17, 124.96°)
OKLaboklab(90.52% -0.1108 0.1338)
OKLCHoklch(90.52% 0.174 129.6)
XYZxyz(56.2422, 77.5643, 27.9246)
Luminance0.7757 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF672 #AE72F6
analogous
#F6F072 #BAF672 #78F672
triadic
#BAF672 #72BAF6 #F672BA
tetradic
#BAF672 #72F6F0 #AE72F6 #F67278
square
#BAF672 #72F6F0 #AE72F6 #F67278
split-complementary
#BAF672 #7278F6 #F072F6
monochromatic
#80DF0E #9EF238 #BAF672 #D6FAAC #F1FDE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAF672#FFFFFF#000000##000000
##BAF6721.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)
#FFE765
Deuteranopia (green-blind)
#F8E37B
Tritanopia (blue-blind)
#BEEDD9
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #baf672;
/* rgb */ color: rgb(186, 246, 114);
/* oklch */ color: oklch(90.5% 0.174 129.6);
Tailwind
colors: {
  custom: {
    50: '#d1f99e',
    500: '#baf672',
    950: '#000000',
  },
}
SCSS
$custom: #baf672;
$custom-light: #d1f99e;
$custom-dark: #000000;
JSON
{
  "hex": "#baf672",
  "rgb": {
    "r": 186,
    "g": 246,
    "b": 114
  },
  "hsl": {
    "h": 87.273,
    "s": 88,
    "l": 70.588
  },
  "oklch": {
    "l": 0.90518,
    "c": 0.17372,
    "h": 129.6
  },
  "luminance": 0.77566
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BAF672

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

Preview Lab → · Contrast checker → · Palette generator →

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