#BAF35F#BAF35F

#BAF35F is a very light, vivid yellow-green. Relative luminance 0.754; OKLCH L 89.6% C 0.186 H 127.6°. Best body text is #000000 at 16.07:1 contrast (WCAG AA passes).

Color values

HEX#BAF35F
RGBrgb(186, 243, 95)
HSLhsl(83, 86%, 66%)
HSVhsv(83, 61%, 95%)
CMYKcmyk(23.5%, 0%, 60.9%, 4.7%)
CIE-LABlab(89.56, -39.97, 63.75)
CIE-LCHlch(89.56, 75.25, 122.08°)
OKLaboklab(89.64% -0.1133 0.1471)
OKLCHoklch(89.64% 0.186 127.6)
XYZxyz(54.3658, 75.3655, 22.5070)
Luminance0.7537 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF35F #985FF3
analogous
#F3E25F #BAF35F #70F35F
triadic
#BAF35F #5FBAF3 #F35FBA
tetradic
#BAF35F #5FF3E2 #985FF3 #F35F70
square
#BAF35F #5FF3E2 #985FF3 #F35F70
split-complementary
#BAF35F #5F70F3 #E25FF3
monochromatic
#81C90F #A1EF26 #BAF35F #D3F798 #EBFCD1

Accessibility & contrast

On white

1.31
#BAF35F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.07
#BAF35F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAF35F
16.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAF35F#FFFFFF#000000##000000
##BAF35F1.001.3116.0716.07
#FFFFFF1.311.0021.0021.00
#00000016.0721.001.001.00
##00000016.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE44E
Deuteranopia (green-blind)
#F6E06A
Tritanopia (blue-blind)
#C0E9D4
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #baf35f;
/* rgb */ color: rgb(186, 243, 95);
/* oklch */ color: oklch(89.6% 0.186 127.6);
Tailwind
colors: {
  custom: {
    50: '#d2f792',
    500: '#baf35f',
    950: '#000000',
  },
}
SCSS
$custom: #baf35f;
$custom-light: #d2f792;
$custom-dark: #000000;
JSON
{
  "hex": "#baf35f",
  "rgb": {
    "r": 186,
    "g": 243,
    "b": 95
  },
  "hsl": {
    "h": 83.108,
    "s": 86.047,
    "l": 66.275
  },
  "oklch": {
    "l": 0.89638,
    "c": 0.18563,
    "h": 127.6
  },
  "luminance": 0.75367
}

Semantic roles & 50–950 ramp

primary
#BAF35F
secondary
#6A31C5
accent
#03E359
background
#FEFFFC
surface
#FBFEF4
border
#D4D6CE
text
#14170D
muted
#83857F

Preview Lab

Preview with #BAF35F

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

Preview Lab → · Contrast checker → · Palette generator →

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