#BAD02D#BAD02D

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

Color values

HEX#BAD02D
RGBrgb(186, 208, 45)
HSLhsl(68, 64%, 50%)
HSVhsv(68, 78%, 82%)
CMYKcmyk(10.6%, 0%, 78.4%, 18.4%)
CIE-LABlab(79.47, -26.82, 71.56)
CIE-LCHlch(79.47, 76.42, 110.55°)
OKLaboklab(81.38% -0.0812 0.1562)
OKLCHoklch(81.38% 0.176 117.5)
XYZxyz(43.2803, 55.7408, 10.9612)
Luminance0.5574 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAD02D #432DD0
analogous
#D0952D #BAD02D #69D02D
triadic
#BAD02D #2DBAD0 #D02DBA
tetradic
#BAD02D #2DD095 #432DD0 #D02D69
square
#BAD02D #2DD095 #432DD0 #D02D69
split-complementary
#BAD02D #2D69D0 #952DD0
monochromatic
#606B17 #8D9E22 #BAD02D #CBDC5E #DBE790

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAD02D#FFFFFF#000000##000000
##BAD02D1.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)
#DCC63D
Tritanopia (blue-blind)
#C6C4B2
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #bad02d;
/* rgb */ color: rgb(186, 208, 45);
/* oklch */ color: oklch(81.4% 0.176 117.5);
Tailwind
colors: {
  custom: {
    50: '#d3de74',
    500: '#bad02d',
    950: '#000000',
  },
}
SCSS
$custom: #bad02d;
$custom-light: #d3de74;
$custom-dark: #000000;
JSON
{
  "hex": "#bad02d",
  "rgb": {
    "r": 186,
    "g": 208,
    "b": 45
  },
  "hsl": {
    "h": 68.098,
    "s": 64.427,
    "l": 49.608
  },
  "oklch": {
    "l": 0.81383,
    "c": 0.17604,
    "h": 117.5
  },
  "luminance": 0.5574
}

Semantic roles & 50–950 ramp

primary
#BAD02D
secondary
#362C75
accent
#40E757
background
#FEFEFB
surface
#FBFCF1
border
#D4D5CB
text
#151509
muted
#84847D

Preview Lab

Preview with #BAD02D

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

Preview Lab → · Contrast checker → · Palette generator →

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