#BAD234#BAD234

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

Color values

HEX#BAD234
RGBrgb(186, 210, 52)
HSLhsl(69, 64%, 51%)
HSVhsv(69, 75%, 82%)
CMYKcmyk(11.4%, 0%, 75.2%, 17.6%)
CIE-LABlab(80.06, -27.49, 70.01)
CIE-LCHlch(80.06, 75.21, 111.44°)
OKLaboklab(81.87% -0.0825 0.1541)
OKLCHoklch(81.87% 0.175 118.2)
XYZxyz(43.9171, 56.7806, 11.8943)
Luminance0.5678 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAD234 #4C34D2
analogous
#D29B34 #BAD234 #6BD234
triadic
#BAD234 #34BAD2 #D234BA
tetradic
#BAD234 #34D29B #4C34D2 #D2346B
square
#BAD234 #34D29B #4C34D2 #D2346B
split-complementary
#BAD234 #346BD2 #9B34D2
monochromatic
#657219 #91A424 #BAD234 #CBDD66 #DCE898

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAD234#FFFFFF#000000##000000
##BAD2341.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)
#E0C60B
Deuteranopia (green-blind)
#DEC742
Tritanopia (blue-blind)
#C5C6B4
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #bad234;
/* rgb */ color: rgb(186, 210, 52);
/* oklch */ color: oklch(81.9% 0.175 118.2);
Tailwind
colors: {
  custom: {
    50: '#d3df78',
    500: '#bad234',
    950: '#000000',
  },
}
SCSS
$custom: #bad234;
$custom-light: #d3df78;
$custom-dark: #000000;
JSON
{
  "hex": "#bad234",
  "rgb": {
    "r": 186,
    "g": 210,
    "b": 52
  },
  "hsl": {
    "h": 69.114,
    "s": 63.71,
    "l": 51.373
  },
  "oklch": {
    "l": 0.81868,
    "c": 0.17478,
    "h": 118.2
  },
  "luminance": 0.5678
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BAD234

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

Preview Lab → · Contrast checker → · Palette generator →

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