#BAD23C#BAD23C

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

Color values

HEX#BAD23C
RGBrgb(186, 210, 60)
HSLhsl(70, 63%, 53%)
HSVhsv(70, 71%, 82%)
CMYKcmyk(11.4%, 0%, 71.4%, 17.6%)
CIE-LABlab(80.10, -27.10, 67.40)
CIE-LCHlch(80.10, 72.64, 111.91°)
OKLaboklab(81.92% -0.0808 0.1499)
OKLCHoklch(81.92% 0.17 118.3)
XYZxyz(44.1129, 56.8589, 12.9251)
Luminance0.5686 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAD23C #543CD2
analogous
#D29F3C #BAD23C #6FD23C
triadic
#BAD23C #3CBAD2 #D23CBA
tetradic
#BAD23C #3CD29F #543CD2 #D23C6F
square
#BAD23C #3CD29F #543CD2 #D23C6F
split-complementary
#BAD23C #3C6FD2 #9F3CD2
monochromatic
#69781C #95AA27 #BAD23C #CCDD6E #DDE99F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAD23C#FFFFFF#000000##000000
##BAD23C1.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)
#E0C620
Deuteranopia (green-blind)
#DDC748
Tritanopia (blue-blind)
#C5C7B5
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #bad23c;
/* rgb */ color: rgb(186, 210, 60);
/* oklch */ color: oklch(81.9% 0.170 118.3);
Tailwind
colors: {
  custom: {
    50: '#d2df7c',
    500: '#bad23c',
    950: '#000000',
  },
}
SCSS
$custom: #bad23c;
$custom-light: #d2df7c;
$custom-dark: #000000;
JSON
{
  "hex": "#bad23c",
  "rgb": {
    "r": 186,
    "g": 210,
    "b": 60
  },
  "hsl": {
    "h": 69.6,
    "s": 62.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.81917,
    "c": 0.17028,
    "h": 118.3
  },
  "luminance": 0.56859
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BAD23C

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

Preview Lab → · Contrast checker → · Palette generator →

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