#BADF4F#BADF4F

#BADF4F is a very light, vivid yellow-green. Relative luminance 0.638; OKLCH L 85.0% C 0.173 H 122.5°. Best body text is #000000 at 13.76:1 contrast (WCAG AA passes).

Color values

HEX#BADF4F
RGBrgb(186, 223, 79)
HSLhsl(75, 69%, 59%)
HSVhsv(75, 65%, 87%)
CMYKcmyk(16.6%, 0%, 64.6%, 12.5%)
CIE-LABlab(83.85, -32.08, 64.09)
CIE-LCHlch(83.85, 71.67, 116.59°)
OKLaboklab(84.98% -0.0928 0.1458)
OKLCHoklch(84.98% 0.173 122.5)
XYZxyz(48.0492, 63.7788, 17.1748)
Luminance0.6378 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BADF4F #744FDF
analogous
#DFBC4F #BADF4F #72DF4F
triadic
#BADF4F #4FBADF #DF4FBA
tetradic
#BADF4F #4FDFBC #744FDF #DF4F72
square
#BADF4F #4FDFBC #744FDF #DF4F72
split-complementary
#BADF4F #4F72DF #BC4FDF
monochromatic
#78981C #A1CC25 #BADF4F #CEE883 #E3F2B7

Accessibility & contrast

On white

1.53
#BADF4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.76
#BADF4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BADF4F
13.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BADF4F#FFFFFF#000000##000000
##BADF4F1.001.5313.7613.76
#FFFFFF1.531.0021.0021.00
#00000013.7621.001.001.00
##00000013.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD23C
Deuteranopia (green-blind)
#E7D15A
Tritanopia (blue-blind)
#C3D4C1
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #badf4f;
/* rgb */ color: rgb(186, 223, 79);
/* oklch */ color: oklch(85.0% 0.173 122.5);
Tailwind
colors: {
  custom: {
    50: '#d2e987',
    500: '#badf4f',
    950: '#000000',
  },
}
SCSS
$custom: #badf4f;
$custom-light: #d2e987;
$custom-dark: #000000;
JSON
{
  "hex": "#badf4f",
  "rgb": {
    "r": 186,
    "g": 223,
    "b": 79
  },
  "hsl": {
    "h": 75.417,
    "s": 69.231,
    "l": 59.216
  },
  "oklch": {
    "l": 0.84979,
    "c": 0.17285,
    "h": 122.5
  },
  "luminance": 0.63779
}

Semantic roles & 50–950 ramp

primary
#BADF4F
secondary
#50369C
accent
#3CEC69
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#14160C
muted
#83847F

Preview Lab

Preview with #BADF4F

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

Preview Lab → · Contrast checker → · Palette generator →

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