#BAD23F#BAD23F

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

Color values

HEX#BAD23F
RGBrgb(186, 210, 63)
HSLhsl(70, 62%, 54%)
HSVhsv(70, 70%, 82%)
CMYKcmyk(11.4%, 0%, 70%, 17.6%)
CIE-LABlab(80.12, -26.95, 66.35)
CIE-LCHlch(80.12, 71.61, 112.10°)
OKLaboklab(81.94% -0.0801 0.1482)
OKLCHoklch(81.94% 0.168 118.4)
XYZxyz(44.1944, 56.8915, 13.3547)
Luminance0.5689 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAD23F #573FD2
analogous
#D2A03F #BAD23F #70D23F
triadic
#BAD23F #3FBAD2 #D23FBA
tetradic
#BAD23F #3FD2A0 #573FD2 #D23F70
square
#BAD23F #3FD2A0 #573FD2 #D23F70
split-complementary
#BAD23F #3F70D2 #A03FD2
monochromatic
#6B7A1D #96AC28 #BAD23F #CCDE71 #DEE9A2

Accessibility & contrast

On white

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

On black

12.38
#BAD23F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAD23F
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAD23F#FFFFFF#000000##000000
##BAD23F1.001.7012.3812.38
#FFFFFF1.701.0021.0021.00
#00000012.3821.001.001.00
##00000012.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C626
Deuteranopia (green-blind)
#DDC74B
Tritanopia (blue-blind)
#C5C7B5
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #bad23f;
/* rgb */ color: rgb(186, 210, 63);
/* oklch */ color: oklch(81.9% 0.168 118.4);
Tailwind
colors: {
  custom: {
    50: '#d2df7d',
    500: '#bad23f',
    950: '#000000',
  },
}
SCSS
$custom: #bad23f;
$custom-light: #d2df7d;
$custom-dark: #000000;
JSON
{
  "hex": "#bad23f",
  "rgb": {
    "r": 186,
    "g": 210,
    "b": 63
  },
  "hsl": {
    "h": 69.796,
    "s": 62.025,
    "l": 53.529
  },
  "oklch": {
    "l": 0.81938,
    "c": 0.16843,
    "h": 118.4
  },
  "luminance": 0.56891
}

Semantic roles & 50–950 ramp

primary
#BAD23F
secondary
#403382
accent
#43E55D
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #BAD23F

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

Preview Lab → · Contrast checker → · Palette generator →

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