#BAF67A#BAF67A

#BAF67A is a very light, vivid yellow-green. Relative luminance 0.778; OKLCH L 90.6% C 0.166 H 130.4°. Best body text is #000000 at 16.55:1 contrast (WCAG AA passes).

Color values

HEX#BAF67A
RGBrgb(186, 246, 122)
HSLhsl(89, 87%, 72%)
HSVhsv(89, 50%, 96%)
CMYKcmyk(24.4%, 0%, 50.4%, 3.5%)
CIE-LABlab(90.67, -38.83, 53.15)
CIE-LCHlch(90.67, 65.82, 126.15°)
OKLaboklab(90.62% -0.108 0.1267)
OKLCHoklch(90.62% 0.166 130.4)
XYZxyz(56.7177, 77.7545, 30.4285)
Luminance0.7776 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF67A #B67AF6
analogous
#F6F47A #BAF67A #7CF67A
triadic
#BAF67A #7ABAF6 #F67ABA
tetradic
#BAF67A #7AF6F4 #B67AF6 #F67A7C
square
#BAF67A #7AF6F4 #B67AF6 #F67A7C
split-complementary
#BAF67A #7A7CF6 #F47AF6
monochromatic
#7EE610 #9CF241 #BAF67A #D8FAB3 #F0FDE2

Accessibility & contrast

On white

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

On black

16.55
#BAF67A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAF67A
16.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAF67A#FFFFFF#000000##000000
##BAF67A1.001.2716.5516.55
#FFFFFF1.271.0021.0021.00
#00000016.5521.001.001.00
##00000016.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE76F
Deuteranopia (green-blind)
#F7E382
Tritanopia (blue-blind)
#BDEDDA
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #baf67a;
/* rgb */ color: rgb(186, 246, 122);
/* oklch */ color: oklch(90.6% 0.166 130.4);
Tailwind
colors: {
  custom: {
    50: '#d1f9a3',
    500: '#baf67a',
    950: '#000000',
  },
}
SCSS
$custom: #baf67a;
$custom-light: #d1f9a3;
$custom-dark: #000000;
JSON
{
  "hex": "#baf67a",
  "rgb": {
    "r": 186,
    "g": 246,
    "b": 122
  },
  "hsl": {
    "h": 89.032,
    "s": 87.324,
    "l": 72.157
  },
  "oklch": {
    "l": 0.90617,
    "c": 0.16646,
    "h": 130.4
  },
  "luminance": 0.77756
}

Semantic roles & 50–950 ramp

primary
#BAF67A
secondary
#8843D2
accent
#02E46F
background
#FEFFFC
surface
#FBFFF6
border
#D4D7D0
text
#14170F
muted
#838580

Preview Lab

Preview with #BAF67A

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

Preview Lab → · Contrast checker → · Palette generator →

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