#BAD22F#BAD22F

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

Color values

HEX#BAD22F
RGBrgb(186, 210, 47)
HSLhsl(69, 64%, 50%)
HSVhsv(69, 78%, 82%)
CMYKcmyk(11.4%, 0%, 77.6%, 17.6%)
CIE-LABlab(80.03, -27.70, 71.50)
CIE-LCHlch(80.03, 76.67, 111.18°)
OKLaboklab(81.84% -0.0834 0.1564)
OKLCHoklch(81.84% 0.177 118.1)
XYZxyz(43.8104, 56.7380, 11.3324)
Luminance0.5674 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAD22F #472FD2
analogous
#D2982F #BAD22F #69D22F
triadic
#BAD22F #2FBAD2 #D22FBA
tetradic
#BAD22F #2FD298 #472FD2 #D22F69
square
#BAD22F #2FD298 #472FD2 #D22F69
split-complementary
#BAD22F #2F69D2 #982FD2
monochromatic
#626F18 #8EA123 #BAD22F #CBDD61 #DBE894

Accessibility & contrast

On white

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

On black

12.35
#BAD22F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAD22F
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAD22F#FFFFFF#000000##000000
##BAD22F1.001.7012.3512.35
#FFFFFF1.701.0021.0021.00
#00000012.3521.001.001.00
##00000012.3521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bad22f;
/* rgb */ color: rgb(186, 210, 47);
/* oklch */ color: oklch(81.8% 0.177 118.1);
Tailwind
colors: {
  custom: {
    50: '#d3df75',
    500: '#bad22f',
    950: '#000000',
  },
}
SCSS
$custom: #bad22f;
$custom-light: #d3df75;
$custom-dark: #000000;
JSON
{
  "hex": "#bad22f",
  "rgb": {
    "r": 186,
    "g": 210,
    "b": 47
  },
  "hsl": {
    "h": 68.834,
    "s": 64.427,
    "l": 50.392
  },
  "oklch": {
    "l": 0.81841,
    "c": 0.17728,
    "h": 118.1
  },
  "luminance": 0.56738
}

Semantic roles & 50–950 ramp

primary
#BAD22F
secondary
#382D78
accent
#40E759
background
#FEFEFB
surface
#FBFCF1
border
#D4D5CB
text
#151509
muted
#84847D

Preview Lab

Preview with #BAD22F

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

Preview Lab → · Contrast checker → · Palette generator →

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