#BAD235#BAD235

#BAD235 is a light, vivid yellow. Relative luminance 0.568; OKLCH L 81.9% C 0.174 H 118.2°. Best body text is #000000 at 12.36:1 contrast (WCAG AA passes).

Color values

HEX#BAD235
RGBrgb(186, 210, 53)
HSLhsl(69, 64%, 52%)
HSVhsv(69, 75%, 82%)
CMYKcmyk(11.4%, 0%, 74.8%, 17.6%)
CIE-LABlab(80.06, -27.44, 69.70)
CIE-LCHlch(80.06, 74.90, 111.49°)
OKLaboklab(81.87% -0.0823 0.1536)
OKLCHoklch(81.87% 0.174 118.2)
XYZxyz(43.9399, 56.7897, 12.0142)
Luminance0.5679 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAD235 #4D35D2
analogous
#D29C35 #BAD235 #6CD235
triadic
#BAD235 #35BAD2 #D235BA
tetradic
#BAD235 #35D29C #4D35D2 #D2356C
square
#BAD235 #35D29C #4D35D2 #D2356C
split-complementary
#BAD235 #356CD2 #9C35D2
monochromatic
#65731A #91A525 #BAD235 #CBDD67 #DCE899

Accessibility & contrast

On white

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

On black

12.36
#BAD235 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAD235
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAD235#FFFFFF#000000##000000
##BAD2351.001.7012.3612.36
#FFFFFF1.701.0021.0021.00
#00000012.3621.001.001.00
##00000012.3621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bad235;
/* rgb */ color: rgb(186, 210, 53);
/* oklch */ color: oklch(81.9% 0.174 118.2);
Tailwind
colors: {
  custom: {
    50: '#d2df78',
    500: '#bad235',
    950: '#000000',
  },
}
SCSS
$custom: #bad235;
$custom-light: #d2df78;
$custom-dark: #000000;
JSON
{
  "hex": "#bad235",
  "rgb": {
    "r": 186,
    "g": 210,
    "b": 53
  },
  "hsl": {
    "h": 69.172,
    "s": 63.563,
    "l": 51.569
  },
  "oklch": {
    "l": 0.81874,
    "c": 0.17425,
    "h": 118.2
  },
  "luminance": 0.56789
}

Semantic roles & 50–950 ramp

primary
#BAD235
secondary
#3B307C
accent
#41E75A
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #BAD235

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

Preview Lab → · Contrast checker → · Palette generator →

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