#BAD22C#BAD22C

#BAD22C is a light, vivid yellow. Relative luminance 0.567; OKLCH L 81.8% C 0.179 H 118.0°. Best body text is #000000 at 12.34:1 contrast (WCAG AA passes).

Color values

HEX#BAD22C
RGBrgb(186, 210, 44)
HSLhsl(69, 65%, 50%)
HSVhsv(69, 79%, 82%)
CMYKcmyk(11.4%, 0%, 79%, 17.6%)
CIE-LABlab(80.02, -27.81, 72.33)
CIE-LCHlch(80.02, 77.50, 111.03°)
OKLaboklab(81.83% -0.084 0.1577)
OKLCHoklch(81.83% 0.179 118)
XYZxyz(43.7520, 56.7146, 11.0245)
Luminance0.5671 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAD22C #442CD2
analogous
#D2972C #BAD22C #67D22C
triadic
#BAD22C #2CBAD2 #D22CBA
tetradic
#BAD22C #2CD297 #442CD2 #D22C67
square
#BAD22C #2CD297 #442CD2 #D22C67
split-complementary
#BAD22C #2C67D2 #972CD2
monochromatic
#606D17 #8D9F21 #BAD22C #CBDD5E #DBE891

Accessibility & contrast

On white

1.70
#BAD22C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.34
#BAD22C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAD22C
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAD22C#FFFFFF#000000##000000
##BAD22C1.001.7012.3412.34
#FFFFFF1.701.0021.0021.00
#00000012.3421.001.001.00
##00000012.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C600
Deuteranopia (green-blind)
#DEC73D
Tritanopia (blue-blind)
#C6C6B4
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #bad22c;
/* rgb */ color: rgb(186, 210, 44);
/* oklch */ color: oklch(81.8% 0.179 118.0);
Tailwind
colors: {
  custom: {
    50: '#d3df74',
    500: '#bad22c',
    950: '#000000',
  },
}
SCSS
$custom: #bad22c;
$custom-light: #d3df74;
$custom-dark: #000000;
JSON
{
  "hex": "#bad22c",
  "rgb": {
    "r": 186,
    "g": 210,
    "b": 44
  },
  "hsl": {
    "h": 68.675,
    "s": 65.354,
    "l": 49.804
  },
  "oklch": {
    "l": 0.81826,
    "c": 0.17866,
    "h": 118
  },
  "luminance": 0.56714
}

Semantic roles & 50–950 ramp

primary
#BAD22C
secondary
#372C76
accent
#3FE858
background
#FEFEFB
surface
#FBFCF1
border
#D4D5CB
text
#151509
muted
#84847D

Preview Lab

Preview with #BAD22C

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

Preview Lab → · Contrast checker → · Palette generator →

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