#BAD339#BAD339

#BAD339 is a very light, vivid yellow. Relative luminance 0.573; OKLCH L 82.1% C 0.173 H 118.5°. Best body text is #000000 at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#BAD339
RGBrgb(186, 211, 57)
HSLhsl(70, 64%, 53%)
HSVhsv(70, 73%, 83%)
CMYKcmyk(11.8%, 0%, 73%, 17.3%)
CIE-LABlab(80.36, -27.73, 68.67)
CIE-LCHlch(80.36, 74.06, 111.99°)
OKLaboklab(82.12% -0.0827 0.1521)
OKLCHoklch(82.12% 0.173 118.5)
XYZxyz(44.2834, 57.3234, 12.6018)
Luminance0.5732 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAD339 #5239D3
analogous
#D39F39 #BAD339 #6DD339
triadic
#BAD339 #39BAD3 #D339BA
tetradic
#BAD339 #39D39F #5239D3 #D3396D
square
#BAD339 #39D39F #5239D3 #D3396D
split-complementary
#BAD339 #396DD3 #9F39D3
monochromatic
#68771A #94A926 #BAD339 #CBDE6B #DDE99D

Accessibility & contrast

On white

1.68
#BAD339 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.46
#BAD339 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAD339
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAD339#FFFFFF#000000##000000
##BAD3391.001.6812.4612.46
#FFFFFF1.681.0021.0021.00
#00000012.4621.001.001.00
##00000012.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C719
Deuteranopia (green-blind)
#DEC846
Tritanopia (blue-blind)
#C5C7B6
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #bad339;
/* rgb */ color: rgb(186, 211, 57);
/* oklch */ color: oklch(82.1% 0.173 118.5);
Tailwind
colors: {
  custom: {
    50: '#d2e07a',
    500: '#bad339',
    950: '#000000',
  },
}
SCSS
$custom: #bad339;
$custom-light: #d2e07a;
$custom-dark: #000000;
JSON
{
  "hex": "#bad339",
  "rgb": {
    "r": 186,
    "g": 211,
    "b": 57
  },
  "hsl": {
    "h": 69.74,
    "s": 63.636,
    "l": 52.549
  },
  "oklch": {
    "l": 0.82122,
    "c": 0.17316,
    "h": 118.5
  },
  "luminance": 0.57323
}

Semantic roles & 50–950 ramp

primary
#BAD339
secondary
#3E317F
accent
#41E75C
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #BAD339

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

Preview Lab → · Contrast checker → · Palette generator →

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