#BAD13B#BAD13B

#BAD13B is a light, vivid yellow. Relative luminance 0.564; OKLCH L 81.7% C 0.170 H 118.0°. Best body text is #000000 at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#BAD13B
RGBrgb(186, 209, 59)
HSLhsl(69, 62%, 53%)
HSVhsv(69, 72%, 82%)
CMYKcmyk(11%, 0%, 71.8%, 18%)
CIE-LABlab(79.82, -26.68, 67.47)
CIE-LCHlch(79.82, 72.55, 111.58°)
OKLaboklab(81.69% -0.0797 0.1499)
OKLCHoklch(81.69% 0.17 118)
XYZxyz(43.8406, 56.3562, 12.7051)
Luminance0.5636 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAD13B #523BD1
analogous
#D19D3B #BAD13B #6FD13B
triadic
#BAD13B #3BBAD1 #D13BBA
tetradic
#BAD13B #3BD19D #523BD1 #D13B6F
square
#BAD13B #3BD19D #523BD1 #D13B6F
split-complementary
#BAD13B #3B6FD1 #9D3BD1
monochromatic
#68761C #94A727 #BAD13B #CBDD6D #DDE89E

Accessibility & contrast

On white

1.71
#BAD13B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.27
#BAD13B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAD13B
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAD13B#FFFFFF#000000##000000
##BAD13B1.001.7112.2712.27
#FFFFFF1.711.0021.0021.00
#00000012.2721.001.001.00
##00000012.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC61F
Deuteranopia (green-blind)
#DCC748
Tritanopia (blue-blind)
#C5C5B4
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #bad13b;
/* rgb */ color: rgb(186, 209, 59);
/* oklch */ color: oklch(81.7% 0.170 118.0);
Tailwind
colors: {
  custom: {
    50: '#d2df7b',
    500: '#bad13b',
    950: '#000000',
  },
}
SCSS
$custom: #bad13b;
$custom-light: #d2df7b;
$custom-dark: #000000;
JSON
{
  "hex": "#bad13b",
  "rgb": {
    "r": 186,
    "g": 209,
    "b": 59
  },
  "hsl": {
    "h": 69.2,
    "s": 61.983,
    "l": 52.549
  },
  "oklch": {
    "l": 0.81687,
    "c": 0.16976,
    "h": 118
  },
  "luminance": 0.56356
}

Semantic roles & 50–950 ramp

primary
#BAD13B
secondary
#3E327E
accent
#43E55C
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #BAD13B

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

Preview Lab → · Contrast checker → · Palette generator →

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