#BAD02B#BAD02B

#BAD02B is a light, vivid yellow. Relative luminance 0.557; OKLCH L 81.4% C 0.177 H 117.4°. Best body text is #000000 at 12.15:1 contrast (WCAG AA passes).

Color values

HEX#BAD02B
RGBrgb(186, 208, 43)
HSLhsl(68, 66%, 49%)
HSVhsv(68, 79%, 82%)
CMYKcmyk(10.6%, 0%, 79.3%, 18.4%)
CIE-LABlab(79.46, -26.90, 72.11)
CIE-LCHlch(79.46, 76.96, 110.46°)
OKLaboklab(81.37% -0.0815 0.157)
OKLCHoklch(81.37% 0.177 117.4)
XYZxyz(43.2427, 55.7258, 10.7632)
Luminance0.5573 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAD02B #412BD0
analogous
#D0942B #BAD02B #68D02B
triadic
#BAD02B #2BBAD0 #D02BBA
tetradic
#BAD02B #2BD094 #412BD0 #D02B68
square
#BAD02B #2BD094 #412BD0 #D02B68
split-complementary
#BAD02B #2B68D0 #942BD0
monochromatic
#5F6B16 #8D9D21 #BAD02B #CCDD5B #DCE88E

Accessibility & contrast

On white

1.73
#BAD02B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.15
#BAD02B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAD02B
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAD02B#FFFFFF#000000##000000
##BAD02B1.001.7312.1512.15
#FFFFFF1.731.0021.0021.00
#00000012.1521.001.001.00
##00000012.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC400
Deuteranopia (green-blind)
#DCC63C
Tritanopia (blue-blind)
#C6C4B2
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #bad02b;
/* rgb */ color: rgb(186, 208, 43);
/* oklch */ color: oklch(81.4% 0.177 117.4);
Tailwind
colors: {
  custom: {
    50: '#d3de74',
    500: '#bad02b',
    950: '#000000',
  },
}
SCSS
$custom: #bad02b;
$custom-light: #d3de74;
$custom-dark: #000000;
JSON
{
  "hex": "#bad02b",
  "rgb": {
    "r": 186,
    "g": 208,
    "b": 43
  },
  "hsl": {
    "h": 68,
    "s": 65.737,
    "l": 49.216
  },
  "oklch": {
    "l": 0.81373,
    "c": 0.17695,
    "h": 117.4
  },
  "luminance": 0.55725
}

Semantic roles & 50–950 ramp

primary
#BAD02B
secondary
#352B74
accent
#3FE956
background
#FEFEFB
surface
#FBFCF1
border
#D4D5CB
text
#151509
muted
#84847D

Preview Lab

Preview with #BAD02B

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

Preview Lab → · Contrast checker → · Palette generator →

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