#BAF673#BAF673

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

Color values

HEX#BAF673
RGBrgb(186, 246, 115)
HSLhsl(87, 88%, 71%)
HSVhsv(87, 53%, 96%)
CMYKcmyk(24.4%, 0%, 53.3%, 3.5%)
CIE-LABlab(90.59, -39.53, 56.25)
CIE-LCHlch(90.59, 68.76, 125.10°)
OKLaboklab(90.53% -0.1104 0.1329)
OKLCHoklch(90.53% 0.173 129.7)
XYZxyz(56.2995, 77.5872, 28.2260)
Luminance0.7759 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF673 #AF73F6
analogous
#F6F073 #BAF673 #78F673
triadic
#BAF673 #73BAF6 #F673BA
tetradic
#BAF673 #73F6F0 #AF73F6 #F67378
square
#BAF673 #73F6F0 #AF73F6 #F67378
split-complementary
#BAF673 #7378F6 #F073F6
monochromatic
#80E00E #9EF239 #BAF673 #D6FAAD #F1FDE2

Accessibility & contrast

On white

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

On black

16.52
#BAF673 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAF673
16.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAF673#FFFFFF#000000##000000
##BAF6731.001.2716.5216.52
#FFFFFF1.271.0021.0021.00
#00000016.5221.001.001.00
##00000016.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE766
Deuteranopia (green-blind)
#F8E37C
Tritanopia (blue-blind)
#BEEDD9
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #baf673;
/* rgb */ color: rgb(186, 246, 115);
/* oklch */ color: oklch(90.5% 0.173 129.7);
Tailwind
colors: {
  custom: {
    50: '#d1f99f',
    500: '#baf673',
    950: '#000000',
  },
}
SCSS
$custom: #baf673;
$custom-light: #d1f99f;
$custom-dark: #000000;
JSON
{
  "hex": "#baf673",
  "rgb": {
    "r": 186,
    "g": 246,
    "b": 115
  },
  "hsl": {
    "h": 87.481,
    "s": 87.919,
    "l": 70.784
  },
  "oklch": {
    "l": 0.9053,
    "c": 0.17282,
    "h": 129.7
  },
  "luminance": 0.77588
}

Semantic roles & 50–950 ramp

primary
#BAF673
secondary
#803DD1
accent
#01E469
background
#FEFFFC
surface
#FBFFF5
border
#D4D7CF
text
#14170F
muted
#838580

Preview Lab

Preview with #BAF673

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

Preview Lab → · Contrast checker → · Palette generator →

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