#BAD23B#BAD23B

#BAD23B is a light, vivid yellow. Relative luminance 0.568; OKLCH L 81.9% C 0.171 H 118.3°. Best body text is #000000 at 12.37:1 contrast (WCAG AA passes).

Color values

HEX#BAD23B
RGBrgb(186, 210, 59)
HSLhsl(70, 63%, 53%)
HSVhsv(70, 72%, 82%)
CMYKcmyk(11.4%, 0%, 71.9%, 17.6%)
CIE-LABlab(80.09, -27.16, 67.74)
CIE-LCHlch(80.09, 72.98, 111.85°)
OKLaboklab(81.91% -0.081 0.1505)
OKLCHoklch(81.91% 0.171 118.3)
XYZxyz(44.0867, 56.8484, 12.7872)
Luminance0.5685 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAD23B #533BD2
analogous
#D29E3B #BAD23B #6FD23B
triadic
#BAD23B #3BBAD2 #D23BBA
tetradic
#BAD23B #3BD29E #533BD2 #D23B6F
square
#BAD23B #3BD29E #533BD2 #D23B6F
split-complementary
#BAD23B #3B6FD2 #9E3BD2
monochromatic
#69771B #94A927 #BAD23B #CCDD6D #DDE99F

Accessibility & contrast

On white

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

On black

12.37
#BAD23B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAD23B
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAD23B#FFFFFF#000000##000000
##BAD23B1.001.7012.3712.37
#FFFFFF1.701.0021.0021.00
#00000012.3721.001.001.00
##00000012.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C61E
Deuteranopia (green-blind)
#DDC748
Tritanopia (blue-blind)
#C5C6B5
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #bad23b;
/* rgb */ color: rgb(186, 210, 59);
/* oklch */ color: oklch(81.9% 0.171 118.3);
Tailwind
colors: {
  custom: {
    50: '#d2df7b',
    500: '#bad23b',
    950: '#000000',
  },
}
SCSS
$custom: #bad23b;
$custom-light: #d2df7b;
$custom-dark: #000000;
JSON
{
  "hex": "#bad23b",
  "rgb": {
    "r": 186,
    "g": 210,
    "b": 59
  },
  "hsl": {
    "h": 69.536,
    "s": 62.656,
    "l": 52.745
  },
  "oklch": {
    "l": 0.81911,
    "c": 0.17088,
    "h": 118.3
  },
  "luminance": 0.56848
}

Semantic roles & 50–950 ramp

primary
#BAD23B
secondary
#3E327F
accent
#42E65C
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #BAD23B

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

Preview Lab → · Contrast checker → · Palette generator →

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