#BADF57#BADF57

#BADF57 is a very light, vivid yellow-green. Relative luminance 0.639; OKLCH L 85.1% C 0.167 H 122.9°. Best body text is #000000 at 13.78:1 contrast (WCAG AA passes).

Color values

HEX#BADF57
RGBrgb(186, 223, 87)
HSLhsl(76, 68%, 61%)
HSVhsv(76, 61%, 87%)
CMYKcmyk(16.6%, 0%, 61%, 12.5%)
CIE-LABlab(83.91, -31.51, 60.90)
CIE-LCHlch(83.91, 68.56, 117.36°)
OKLaboklab(85.05% -0.0905 0.1401)
OKLCHoklch(85.05% 0.167 122.9)
XYZxyz(48.3581, 63.9024, 18.8017)
Luminance0.6390 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BADF57 #7C57DF
analogous
#DFC057 #BADF57 #76DF57
triadic
#BADF57 #57BADF #DF57BA
tetradic
#BADF57 #57DFC0 #7C57DF #DF5776
square
#BADF57 #57DFC0 #7C57DF #DF5776
split-complementary
#BADF57 #5776DF #C057DF
monochromatic
#7B9E1E #A3D128 #BADF57 #CFE98A #E4F3BE

Accessibility & contrast

On white

1.52
#BADF57 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.78
#BADF57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BADF57
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BADF57#FFFFFF#000000##000000
##BADF571.001.5213.7813.78
#FFFFFF1.521.0021.0021.00
#00000013.7821.001.001.00
##00000013.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD247
Deuteranopia (green-blind)
#E6D160
Tritanopia (blue-blind)
#C3D5C2
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #badf57;
/* rgb */ color: rgb(186, 223, 87);
/* oklch */ color: oklch(85.1% 0.167 122.9);
Tailwind
colors: {
  custom: {
    50: '#d2e98c',
    500: '#badf57',
    950: '#000000',
  },
}
SCSS
$custom: #badf57;
$custom-light: #d2e98c;
$custom-dark: #000000;
JSON
{
  "hex": "#badf57",
  "rgb": {
    "r": 186,
    "g": 223,
    "b": 87
  },
  "hsl": {
    "h": 76.324,
    "s": 68,
    "l": 60.784
  },
  "oklch": {
    "l": 0.85052,
    "c": 0.16677,
    "h": 122.9
  },
  "luminance": 0.63903
}

Semantic roles & 50–950 ramp

primary
#BADF57
secondary
#5539A1
accent
#16D048
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#14160C
muted
#83847F

Preview Lab

Preview with #BADF57

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

Preview Lab → · Contrast checker → · Palette generator →

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