#BAF45F#BAF45F

#BAF45F is a very light, vivid yellow-green. Relative luminance 0.760; OKLCH L 89.9% C 0.187 H 127.8°. Best body text is #000000 at 16.19:1 contrast (WCAG AA passes).

Color values

HEX#BAF45F
RGBrgb(186, 244, 95)
HSLhsl(83, 87%, 66%)
HSVhsv(83, 61%, 96%)
CMYKcmyk(23.8%, 0%, 61.1%, 4.3%)
CIE-LABlab(89.84, -40.41, 64.06)
CIE-LCHlch(89.84, 75.74, 122.24°)
OKLaboklab(89.86% -0.1145 0.1477)
OKLCHoklch(89.86% 0.187 127.8)
XYZxyz(54.6658, 75.9657, 22.6070)
Luminance0.7597 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF45F #995FF4
analogous
#F4E45F #BAF45F #70F45F
triadic
#BAF45F #5FBAF4 #F45FBA
tetradic
#BAF45F #5FF4E4 #995FF4 #F45F70
square
#BAF45F #5FF4E4 #995FF4 #F45F70
split-complementary
#BAF45F #5F70F4 #E45FF4
monochromatic
#81CB0E #A1F026 #BAF45F #D3F898 #EBFCD2

Accessibility & contrast

On white

1.30
#BAF45F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.19
#BAF45F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAF45F
16.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAF45F#FFFFFF#000000##000000
##BAF45F1.001.3016.1916.19
#FFFFFF1.301.0021.0021.00
#00000016.1921.001.001.00
##00000016.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE44D
Deuteranopia (green-blind)
#F7E16A
Tritanopia (blue-blind)
#C0EAD5
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #baf45f;
/* rgb */ color: rgb(186, 244, 95);
/* oklch */ color: oklch(89.9% 0.187 127.8);
Tailwind
colors: {
  custom: {
    50: '#d2f892',
    500: '#baf45f',
    950: '#000000',
  },
}
SCSS
$custom: #baf45f;
$custom-light: #d2f892;
$custom-dark: #000000;
JSON
{
  "hex": "#baf45f",
  "rgb": {
    "r": 186,
    "g": 244,
    "b": 95
  },
  "hsl": {
    "h": 83.356,
    "s": 87.135,
    "l": 66.471
  },
  "oklch": {
    "l": 0.89864,
    "c": 0.18689,
    "h": 127.8
  },
  "luminance": 0.75967
}

Semantic roles & 50–950 ramp

primary
#BAF45F
secondary
#6B30C7
accent
#02E45A
background
#FEFFFC
surface
#FBFFF4
border
#D4D7CE
text
#14170D
muted
#83857F

Preview Lab

Preview with #BAF45F

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

Preview Lab → · Contrast checker → · Palette generator →

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