#BAD134#BAD134

#BAD134 is a light, vivid yellow. Relative luminance 0.563; OKLCH L 81.6% C 0.174 H 117.9°. Best body text is #000000 at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#BAD134
RGBrgb(186, 209, 52)
HSLhsl(69, 63%, 51%)
HSVhsv(69, 75%, 82%)
CMYKcmyk(11%, 0%, 75.1%, 18%)
CIE-LABlab(79.78, -27.01, 69.75)
CIE-LCHlch(79.78, 74.80, 111.17°)
OKLaboklab(81.64% -0.0812 0.1535)
OKLCHoklch(81.64% 0.174 117.9)
XYZxyz(43.6710, 56.2884, 11.8123)
Luminance0.5629 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAD134 #4B34D1
analogous
#D19934 #BAD134 #6BD134
triadic
#BAD134 #34BAD1 #D134BA
tetradic
#BAD134 #34D199 #4B34D1 #D1346B
square
#BAD134 #34D199 #4B34D1 #D1346B
split-complementary
#BAD134 #346BD1 #9934D1
monochromatic
#64711A #90A325 #BAD134 #CBDC66 #DCE898

Accessibility & contrast

On white

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

On black

12.26
#BAD134 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAD134
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAD134#FFFFFF#000000##000000
##BAD1341.001.7112.2612.26
#FFFFFF1.711.0021.0021.00
#00000012.2621.001.001.00
##00000012.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC50C
Deuteranopia (green-blind)
#DDC742
Tritanopia (blue-blind)
#C5C5B3
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #bad134;
/* rgb */ color: rgb(186, 209, 52);
/* oklch */ color: oklch(81.6% 0.174 117.9);
Tailwind
colors: {
  custom: {
    50: '#d3df78',
    500: '#bad134',
    950: '#000000',
  },
}
SCSS
$custom: #bad134;
$custom-light: #d3df78;
$custom-dark: #000000;
JSON
{
  "hex": "#bad134",
  "rgb": {
    "r": 186,
    "g": 209,
    "b": 52
  },
  "hsl": {
    "h": 68.79,
    "s": 63.052,
    "l": 51.176
  },
  "oklch": {
    "l": 0.81644,
    "c": 0.17368,
    "h": 117.9
  },
  "luminance": 0.56288
}

Semantic roles & 50–950 ramp

primary
#BAD134
secondary
#3A2F7A
accent
#42E65A
background
#FEFEFB
surface
#FBFCF1
border
#D4D5CB
text
#15150A
muted
#84847D

Preview Lab

Preview with #BAD134

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

Preview Lab → · Contrast checker → · Palette generator →

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