#BAD02E#BAD02E

#BAD02E 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#BAD02E
RGBrgb(186, 208, 46)
HSLhsl(68, 64%, 50%)
HSVhsv(68, 78%, 82%)
CMYKcmyk(10.6%, 0%, 77.9%, 18.4%)
CIE-LABlab(79.47, -26.78, 71.28)
CIE-LCHlch(79.47, 76.14, 110.59°)
OKLaboklab(81.39% -0.081 0.1558)
OKLCHoklch(81.39% 0.176 117.5)
XYZxyz(43.2998, 55.7486, 11.0638)
Luminance0.5575 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAD02E #442ED0
analogous
#D0952E #BAD02E #69D02E
triadic
#BAD02E #2EBAD0 #D02EBA
tetradic
#BAD02E #2ED095 #442ED0 #D02E69
square
#BAD02E #2ED095 #442ED0 #D02E69
split-complementary
#BAD02E #2E69D0 #952ED0
monochromatic
#606C18 #8D9E23 #BAD02E #CBDC5F #DBE792

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #bad02e;
/* rgb */ color: rgb(186, 208, 46);
/* oklch */ color: oklch(81.4% 0.176 117.5);
Tailwind
colors: {
  custom: {
    50: '#d3de75',
    500: '#bad02e',
    950: '#000000',
  },
}
SCSS
$custom: #bad02e;
$custom-light: #d3de75;
$custom-dark: #000000;
JSON
{
  "hex": "#bad02e",
  "rgb": {
    "r": 186,
    "g": 208,
    "b": 46
  },
  "hsl": {
    "h": 68.148,
    "s": 63.78,
    "l": 49.804
  },
  "oklch": {
    "l": 0.81388,
    "c": 0.17558,
    "h": 117.5
  },
  "luminance": 0.55748
}

Semantic roles & 50–950 ramp

primary
#BAD02E
secondary
#372D75
accent
#41E758
background
#FEFEFB
surface
#FBFCF1
border
#D4D5CB
text
#151509
muted
#84847D

Preview Lab

Preview with #BAD02E

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

Preview Lab → · Contrast checker → · Palette generator →

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