#BAD13F#BAD13F

#BAD13F is a light, vivid yellow. Relative luminance 0.564; OKLCH L 81.7% C 0.167 H 118.1°. Best body text is #000000 at 12.28:1 contrast (WCAG AA passes).

Color values

HEX#BAD13F
RGBrgb(186, 209, 63)
HSLhsl(69, 61%, 53%)
HSVhsv(69, 70%, 82%)
CMYKcmyk(11%, 0%, 69.9%, 18%)
CIE-LABlab(79.84, -26.47, 66.08)
CIE-LCHlch(79.84, 71.18, 111.83°)
OKLaboklab(81.71% -0.0787 0.1476)
OKLCHoklch(81.71% 0.167 118.1)
XYZxyz(43.9483, 56.3993, 13.2726)
Luminance0.5640 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAD13F #563FD1
analogous
#D19F3F #BAD13F #71D13F
triadic
#BAD13F #3FBAD1 #D13FBA
tetradic
#BAD13F #3FD19F #563FD1 #D13F71
square
#BAD13F #3FD19F #563FD1 #D13F71
split-complementary
#BAD13F #3F71D1 #9F3FD1
monochromatic
#6A791D #96AA29 #BAD13F #CCDD70 #DDE9A2

Accessibility & contrast

On white

1.71
#BAD13F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.28
#BAD13F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAD13F
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAD13F#FFFFFF#000000##000000
##BAD13F1.001.7112.2812.28
#FFFFFF1.711.0021.0021.00
#00000012.2821.001.001.00
##00000012.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC626
Deuteranopia (green-blind)
#DCC74B
Tritanopia (blue-blind)
#C5C6B4
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #bad13f;
/* rgb */ color: rgb(186, 209, 63);
/* oklch */ color: oklch(81.7% 0.167 118.1);
Tailwind
colors: {
  custom: {
    50: '#d2df7d',
    500: '#bad13f',
    950: '#000000',
  },
}
SCSS
$custom: #bad13f;
$custom-light: #d2df7d;
$custom-dark: #000000;
JSON
{
  "hex": "#bad13f",
  "rgb": {
    "r": 186,
    "g": 209,
    "b": 63
  },
  "hsl": {
    "h": 69.452,
    "s": 61.345,
    "l": 53.333
  },
  "oklch": {
    "l": 0.81714,
    "c": 0.1673,
    "h": 118.1
  },
  "luminance": 0.56399
}

Semantic roles & 50–950 ramp

primary
#BAD13F
secondary
#403381
accent
#43E45D
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #BAD13F

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

Preview Lab → · Contrast checker → · Palette generator →

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