#BAF074#BAF074

#BAF074 is a very light, vivid yellow-green. Relative luminance 0.740; OKLCH L 89.2% C 0.164 H 128.8°. Best body text is #000000 at 15.80:1 contrast (WCAG AA passes).

Color values

HEX#BAF074
RGBrgb(186, 240, 116)
HSLhsl(86, 81%, 70%)
HSVhsv(86, 52%, 94%)
CMYKcmyk(22.5%, 0%, 51.7%, 5.9%)
CIE-LABlab(88.93, -36.74, 53.84)
CIE-LCHlch(88.93, 65.18, 124.31°)
OKLaboklab(89.19% -0.1026 0.1278)
OKLCHoklch(89.19% 0.164 128.8)
XYZxyz(54.5618, 74.0192, 27.9321)
Luminance0.7402 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF074 #AA74F0
analogous
#F0E874 #BAF074 #7CF074
triadic
#BAF074 #74BAF0 #F074BA
tetradic
#BAF074 #74F0E8 #AA74F0 #F0747C
square
#BAF074 #74F0E8 #AA74F0 #F0747C
split-complementary
#BAF074 #747CF0 #E874F0
monochromatic
#81D317 #9FEA3D #BAF074 #D5F6AB #F1FCE2

Accessibility & contrast

On white

1.33
#BAF074 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.80
#BAF074 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAF074
15.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAF074#FFFFFF#000000##000000
##BAF0741.001.3315.8015.80
#FFFFFF1.331.0021.0021.00
#00000015.8021.001.001.00
##00000015.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE269
Deuteranopia (green-blind)
#F2DE7C
Tritanopia (blue-blind)
#BFE7D4
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #baf074;
/* rgb */ color: rgb(186, 240, 116);
/* oklch */ color: oklch(89.2% 0.164 128.8);
Tailwind
colors: {
  custom: {
    50: '#d1f59f',
    500: '#baf074',
    950: '#000000',
  },
}
SCSS
$custom: #baf074;
$custom-light: #d1f59f;
$custom-dark: #000000;
JSON
{
  "hex": "#baf074",
  "rgb": {
    "r": 186,
    "g": 240,
    "b": 116
  },
  "hsl": {
    "h": 86.129,
    "s": 80.519,
    "l": 69.804
  },
  "oklch": {
    "l": 0.89192,
    "c": 0.16386,
    "h": 128.8
  },
  "luminance": 0.7402
}

Semantic roles & 50–950 ramp

primary
#BAF074
secondary
#7B3FC9
accent
#09DD65
background
#FEFFFC
surface
#FBFEF5
border
#D4D6CF
text
#14170F
muted
#838580

Preview Lab

Preview with #BAF074

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

Preview Lab → · Contrast checker → · Palette generator →

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