#BAD23D#BAD23D

#BAD23D 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#BAD23D
RGBrgb(186, 210, 61)
HSLhsl(70, 62%, 53%)
HSVhsv(70, 71%, 82%)
CMYKcmyk(11.4%, 0%, 71%, 17.6%)
CIE-LABlab(80.11, -27.05, 67.05)
CIE-LCHlch(80.11, 72.30, 111.97°)
OKLaboklab(81.92% -0.0805 0.1494)
OKLCHoklch(81.92% 0.17 118.3)
XYZxyz(44.1395, 56.8696, 13.0656)
Luminance0.5687 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAD23D #553DD2
analogous
#D29F3D #BAD23D #70D23D
triadic
#BAD23D #3DBAD2 #D23DBA
tetradic
#BAD23D #3DD29F #553DD2 #D23D70
square
#BAD23D #3DD29F #553DD2 #D23D70
split-complementary
#BAD23D #3D70D2 #9F3DD2
monochromatic
#6A791C #95AA28 #BAD23D #CCDE6F #DDE9A0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAD23D#FFFFFF#000000##000000
##BAD23D1.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)
#E0C622
Deuteranopia (green-blind)
#DDC749
Tritanopia (blue-blind)
#C5C7B5
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #bad23d;
/* rgb */ color: rgb(186, 210, 61);
/* oklch */ color: oklch(81.9% 0.170 118.3);
Tailwind
colors: {
  custom: {
    50: '#d2df7c',
    500: '#bad23d',
    950: '#000000',
  },
}
SCSS
$custom: #bad23d;
$custom-light: #d2df7c;
$custom-dark: #000000;
JSON
{
  "hex": "#bad23d",
  "rgb": {
    "r": 186,
    "g": 210,
    "b": 61
  },
  "hsl": {
    "h": 69.664,
    "s": 62.343,
    "l": 53.137
  },
  "oklch": {
    "l": 0.81924,
    "c": 0.16968,
    "h": 118.3
  },
  "luminance": 0.56869
}

Semantic roles & 50–950 ramp

primary
#BAD23D
secondary
#3F3281
accent
#42E55D
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #BAD23D

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

Preview Lab → · Contrast checker → · Palette generator →

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