#BAF674#BAF674

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

Color values

HEX#BAF674
RGBrgb(186, 246, 116)
HSLhsl(88, 88%, 71%)
HSVhsv(88, 53%, 96%)
CMYKcmyk(24.4%, 0%, 52.8%, 3.5%)
CIE-LABlab(90.60, -39.43, 55.81)
CIE-LCHlch(90.60, 68.34, 125.24°)
OKLaboklab(90.54% -0.1101 0.1321)
OKLCHoklch(90.54% 0.172 129.8)
XYZxyz(56.3573, 77.6103, 28.5307)
Luminance0.7761 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF674 #B074F6
analogous
#F6F174 #BAF674 #79F674
triadic
#BAF674 #74BAF6 #F674BA
tetradic
#BAF674 #74F6F1 #B074F6 #F67479
square
#BAF674 #74F6F1 #B074F6 #F67479
split-complementary
#BAF674 #7479F6 #F174F6
monochromatic
#80E10F #9DF23B #BAF674 #D7FAAD #F1FDE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAF674#FFFFFF#000000##000000
##BAF6741.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)
#FFE768
Deuteranopia (green-blind)
#F7E37C
Tritanopia (blue-blind)
#BEEDD9
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #baf674;
/* rgb */ color: rgb(186, 246, 116);
/* oklch */ color: oklch(90.5% 0.172 129.8);
Tailwind
colors: {
  custom: {
    50: '#d1f99f',
    500: '#baf674',
    950: '#000000',
  },
}
SCSS
$custom: #baf674;
$custom-light: #d1f99f;
$custom-dark: #000000;
JSON
{
  "hex": "#baf674",
  "rgb": {
    "r": 186,
    "g": 246,
    "b": 116
  },
  "hsl": {
    "h": 87.692,
    "s": 87.838,
    "l": 70.98
  },
  "oklch": {
    "l": 0.90542,
    "c": 0.17193,
    "h": 129.8
  },
  "luminance": 0.77612
}

Semantic roles & 50–950 ramp

primary
#BAF674
secondary
#813DD1
accent
#01E46A
background
#FEFFFC
surface
#FBFFF5
border
#D4D7CF
text
#14170F
muted
#838580

Preview Lab

Preview with #BAF674

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

Preview Lab → · Contrast checker → · Palette generator →

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