#BAD239#BAD239

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

Color values

HEX#BAD239
RGBrgb(186, 210, 57)
HSLhsl(69, 63%, 52%)
HSVhsv(69, 73%, 82%)
CMYKcmyk(11.4%, 0%, 72.9%, 17.6%)
CIE-LABlab(80.08, -27.26, 68.41)
CIE-LCHlch(80.08, 73.64, 111.72°)
OKLaboklab(81.9% -0.0814 0.1516)
OKLCHoklch(81.9% 0.172 118.3)
XYZxyz(44.0358, 56.8281, 12.5192)
Luminance0.5683 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAD239 #5139D2
analogous
#D29E39 #BAD239 #6DD239
triadic
#BAD239 #39BAD2 #D239BA
tetradic
#BAD239 #39D29E #5139D2 #D2396D
square
#BAD239 #39D29E #5139D2 #D2396D
split-complementary
#BAD239 #396DD2 #9E39D2
monochromatic
#68761B #93A826 #BAD239 #CBDD6B #DDE99D

Accessibility & contrast

On white

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

On black

12.37
#BAD239 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAD239
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAD239#FFFFFF#000000##000000
##BAD2391.001.7012.3712.37
#FFFFFF1.701.0021.0021.00
#00000012.3721.001.001.00
##00000012.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C61A
Deuteranopia (green-blind)
#DDC746
Tritanopia (blue-blind)
#C5C6B5
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #bad239;
/* rgb */ color: rgb(186, 210, 57);
/* oklch */ color: oklch(81.9% 0.172 118.3);
Tailwind
colors: {
  custom: {
    50: '#d2df7a',
    500: '#bad239',
    950: '#000000',
  },
}
SCSS
$custom: #bad239;
$custom-light: #d2df7a;
$custom-dark: #000000;
JSON
{
  "hex": "#bad239",
  "rgb": {
    "r": 186,
    "g": 210,
    "b": 57
  },
  "hsl": {
    "h": 69.412,
    "s": 62.963,
    "l": 52.353
  },
  "oklch": {
    "l": 0.81898,
    "c": 0.17205,
    "h": 118.3
  },
  "luminance": 0.56828
}

Semantic roles & 50–950 ramp

primary
#BAD239
secondary
#3D317E
accent
#42E65C
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #BAD239

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

Preview Lab → · Contrast checker → · Palette generator →

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