#BAF670#BAF670

#BAF670 is a very light, vivid yellow-green. Relative luminance 0.775; OKLCH L 90.5% C 0.175 H 129.4°. Best body text is #000000 at 16.50:1 contrast (WCAG AA passes).

Color values

HEX#BAF670
RGBrgb(186, 246, 112)
HSLhsl(87, 88%, 70%)
HSVhsv(87, 54%, 96%)
CMYKcmyk(24.4%, 0%, 54.5%, 3.5%)
CIE-LABlab(90.56, -39.82, 57.56)
CIE-LCHlch(90.56, 69.99, 124.68°)
OKLaboklab(90.5% -0.1115 0.1355)
OKLCHoklch(90.5% 0.175 129.4)
XYZxyz(56.1297, 77.5193, 27.3316)
Luminance0.7752 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF670 #AC70F6
analogous
#F6EF70 #BAF670 #77F670
triadic
#BAF670 #70BAF6 #F670BA
tetradic
#BAF670 #70F6EF #AC70F6 #F67077
square
#BAF670 #70F6EF #AC70F6 #F67077
split-complementary
#BAF670 #7077F6 #EF70F6
monochromatic
#81DE0E #9EF236 #BAF670 #D6FAAA #F1FDE2

Accessibility & contrast

On white

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

On black

16.50
#BAF670 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAF670
16.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAF670#FFFFFF#000000##000000
##BAF6701.001.2716.5016.50
#FFFFFF1.271.0021.0021.00
#00000016.5021.001.001.00
##00000016.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE763
Deuteranopia (green-blind)
#F8E379
Tritanopia (blue-blind)
#BEEDD8
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #baf670;
/* rgb */ color: rgb(186, 246, 112);
/* oklch */ color: oklch(90.5% 0.175 129.4);
Tailwind
colors: {
  custom: {
    50: '#d1f99d',
    500: '#baf670',
    950: '#000000',
  },
}
SCSS
$custom: #baf670;
$custom-light: #d1f99d;
$custom-dark: #000000;
JSON
{
  "hex": "#baf670",
  "rgb": {
    "r": 186,
    "g": 246,
    "b": 112
  },
  "hsl": {
    "h": 86.866,
    "s": 88.158,
    "l": 70.196
  },
  "oklch": {
    "l": 0.90495,
    "c": 0.17547,
    "h": 129.4
  },
  "luminance": 0.7752
}

Semantic roles & 50–950 ramp

primary
#BAF670
secondary
#7D3AD0
accent
#01E567
background
#FEFFFC
surface
#FBFFF5
border
#D4D7CF
text
#14170E
muted
#83857F

Preview Lab

Preview with #BAF670

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

Preview Lab → · Contrast checker → · Palette generator →

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