#BAD42C#BAD42C

#BAD42C is a very light, vivid yellow. Relative luminance 0.577; OKLCH L 82.3% C 0.181 H 118.6°. Best body text is #000000 at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#BAD42C
RGBrgb(186, 212, 44)
HSLhsl(69, 66%, 50%)
HSVhsv(69, 79%, 83%)
CMYKcmyk(12.3%, 0%, 79.2%, 16.9%)
CIE-LABlab(80.58, -28.76, 72.83)
CIE-LCHlch(80.58, 78.30, 111.55°)
OKLaboklab(82.28% -0.0866 0.1588)
OKLCHoklch(82.28% 0.181 118.6)
XYZxyz(44.2488, 57.7083, 11.1902)
Luminance0.5771 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAD42C #462CD4
analogous
#D49A2C #BAD42C #66D42C
triadic
#BAD42C #2CBAD4 #D42CBA
tetradic
#BAD42C #2CD49A #462CD4 #D42C66
square
#BAD42C #2CD49A #462CD4 #D42C66
split-complementary
#BAD42C #2C66D4 #9A2CD4
monochromatic
#616F17 #8EA221 #BAD42C #CBDE5F #DBE992

Accessibility & contrast

On white

1.67
#BAD42C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.54
#BAD42C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAD42C
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAD42C#FFFFFF#000000##000000
##BAD42C1.001.6712.5412.54
#FFFFFF1.671.0021.0021.00
#00000012.5421.001.001.00
##00000012.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2C800
Deuteranopia (green-blind)
#DFC93D
Tritanopia (blue-blind)
#C5C8B6
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #bad42c;
/* rgb */ color: rgb(186, 212, 44);
/* oklch */ color: oklch(82.3% 0.181 118.6);
Tailwind
colors: {
  custom: {
    50: '#d3e174',
    500: '#bad42c',
    950: '#000000',
  },
}
SCSS
$custom: #bad42c;
$custom-light: #d3e174;
$custom-dark: #000000;
JSON
{
  "hex": "#bad42c",
  "rgb": {
    "r": 186,
    "g": 212,
    "b": 44
  },
  "hsl": {
    "h": 69.286,
    "s": 66.142,
    "l": 50.196
  },
  "oklch": {
    "l": 0.82275,
    "c": 0.18082,
    "h": 118.6
  },
  "luminance": 0.57708
}

Semantic roles & 50–950 ramp

primary
#BAD42C
secondary
#382C78
accent
#3FE959
background
#FEFEFB
surface
#FBFCF1
border
#D4D5CB
text
#151509
muted
#84847D

Preview Lab

Preview with #BAD42C

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

Preview Lab → · Contrast checker → · Palette generator →

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