#BAD336#BAD336

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

Color values

HEX#BAD336
RGBrgb(186, 211, 54)
HSLhsl(70, 64%, 52%)
HSVhsv(70, 74%, 83%)
CMYKcmyk(11.8%, 0%, 74.4%, 17.3%)
CIE-LABlab(80.34, -27.87, 69.64)
CIE-LCHlch(80.34, 75.01, 111.81°)
OKLaboklab(82.1% -0.0834 0.1537)
OKLCHoklch(82.1% 0.175 118.5)
XYZxyz(44.2108, 57.2943, 12.2192)
Luminance0.5729 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAD336 #4F36D3
analogous
#D39E36 #BAD336 #6CD336
triadic
#BAD336 #36BAD3 #D336BA
tetradic
#BAD336 #36D39E #4F36D3 #D3366C
square
#BAD336 #36D39E #4F36D3 #D3366C
split-complementary
#BAD336 #366CD3 #9E36D3
monochromatic
#66751A #92A725 #BAD336 #CBDE68 #DCE99A

Accessibility & contrast

On white

1.69
#BAD336 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAD336#FFFFFF#000000##000000
##BAD3361.001.6912.4612.46
#FFFFFF1.691.0021.0021.00
#00000012.4621.001.001.00
##00000012.4621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bad336;
/* rgb */ color: rgb(186, 211, 54);
/* oklch */ color: oklch(82.1% 0.175 118.5);
Tailwind
colors: {
  custom: {
    50: '#d2e079',
    500: '#bad336',
    950: '#000000',
  },
}
SCSS
$custom: #bad336;
$custom-light: #d2e079;
$custom-dark: #000000;
JSON
{
  "hex": "#bad336",
  "rgb": {
    "r": 186,
    "g": 211,
    "b": 54
  },
  "hsl": {
    "h": 69.554,
    "s": 64.082,
    "l": 51.961
  },
  "oklch": {
    "l": 0.82104,
    "c": 0.17483,
    "h": 118.5
  },
  "luminance": 0.57294
}

Semantic roles & 50–950 ramp

primary
#BAD336
secondary
#3C307D
accent
#41E75B
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #BAD336

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

Preview Lab → · Contrast checker → · Palette generator →

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