#BAD04B#BAD04B

#BAD04B is a light, vivid yellow. Relative luminance 0.561; OKLCH L 81.6% C 0.158 H 118.1°. Best body text is #000000 at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#BAD04B
RGBrgb(186, 208, 75)
HSLhsl(70, 59%, 55%)
HSVhsv(70, 64%, 82%)
CMYKcmyk(10.6%, 0%, 63.9%, 18.4%)
CIE-LABlab(79.65, -25.26, 61.26)
CIE-LCHlch(79.65, 66.27, 112.41°)
OKLaboklab(81.59% -0.0742 0.1393)
OKLCHoklch(81.59% 0.158 118.1)
XYZxyz(44.0764, 56.0592, 15.1538)
Luminance0.5606 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAD04B #614BD0
analogous
#D0A34B #BAD04B #77D04B
triadic
#BAD04B #4BBAD0 #D04BBA
tetradic
#BAD04B #4BD0A3 #614BD0 #D04B77
square
#BAD04B #4BD0A3 #614BD0 #D04B77
split-complementary
#BAD04B #4B77D0 #A34BD0
monochromatic
#707F21 #9AB02E #BAD04B #CDDD7C #DFE9AC

Accessibility & contrast

On white

1.72
#BAD04B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.21
#BAD04B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAD04B
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAD04B#FFFFFF#000000##000000
##BAD04B1.001.7212.2112.21
#FFFFFF1.721.0021.0021.00
#00000012.2121.001.001.00
##00000012.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC53A
Deuteranopia (green-blind)
#DBC654
Tritanopia (blue-blind)
#C5C5B5
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #bad04b;
/* rgb */ color: rgb(186, 208, 75);
/* oklch */ color: oklch(81.6% 0.158 118.1);
Tailwind
colors: {
  custom: {
    50: '#d2de84',
    500: '#bad04b',
    950: '#000000',
  },
}
SCSS
$custom: #bad04b;
$custom-light: #d2de84;
$custom-dark: #000000;
JSON
{
  "hex": "#bad04b",
  "rgb": {
    "r": 186,
    "g": 208,
    "b": 75
  },
  "hsl": {
    "h": 69.925,
    "s": 58.59,
    "l": 55.49
  },
  "oklch": {
    "l": 0.81586,
    "c": 0.15784,
    "h": 118.1
  },
  "luminance": 0.56059
}

Semantic roles & 50–950 ramp

primary
#BAD04B
secondary
#453887
accent
#46E260
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #BAD04B

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

Preview Lab → · Contrast checker → · Palette generator →

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