#BAD159#BAD159

#BAD159 is a light, vivid yellow-green. Relative luminance 0.568; OKLCH L 81.9% C 0.148 H 118.9°. Best body text is #000000 at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#BAD159
RGBrgb(186, 209, 89)
HSLhsl(72, 57%, 58%)
HSVhsv(72, 57%, 82%)
CMYKcmyk(11%, 0%, 57.4%, 18%)
CIE-LABlab(80.05, -24.71, 55.74)
CIE-LCHlch(80.05, 60.98, 113.91°)
OKLaboklab(81.95% -0.0713 0.1293)
OKLCHoklch(81.95% 0.148 118.9)
XYZxyz(44.8540, 56.7616, 18.0424)
Luminance0.5676 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAD159 #7059D1
analogous
#D1AC59 #BAD159 #7ED159
triadic
#BAD159 #59BAD1 #D159BA
tetradic
#BAD159 #59D1AC #7059D1 #D1597E
square
#BAD159 #59D1AC #7059D1 #D1597E
split-complementary
#BAD159 #597ED1 #AC59D1
monochromatic
#768926 #A0B933 #BAD159 #CEDE89 #E2ECB9

Accessibility & contrast

On white

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

On black

12.35
#BAD159 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAD159
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAD159#FFFFFF#000000##000000
##BAD1591.001.7012.3512.35
#FFFFFF1.701.0021.0021.00
#00000012.3521.001.001.00
##00000012.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC64C
Deuteranopia (green-blind)
#DBC761
Tritanopia (blue-blind)
#C4C7B7
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #bad159;
/* rgb */ color: rgb(186, 209, 89);
/* oklch */ color: oklch(81.9% 0.148 118.9);
Tailwind
colors: {
  custom: {
    50: '#d1df8c',
    500: '#bad159',
    950: '#000000',
  },
}
SCSS
$custom: #bad159;
$custom-light: #d1df8c;
$custom-dark: #000000;
JSON
{
  "hex": "#bad159",
  "rgb": {
    "r": 186,
    "g": 209,
    "b": 89
  },
  "hsl": {
    "h": 71.5,
    "s": 56.604,
    "l": 58.431
  },
  "oklch": {
    "l": 0.81945,
    "c": 0.14771,
    "h": 118.9
  },
  "luminance": 0.56761
}

Semantic roles & 50–950 ramp

primary
#BAD159
secondary
#4E3E90
accent
#48E065
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#14150C
muted
#83847F

Preview Lab

Preview with #BAD159

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

Preview Lab → · Contrast checker → · Palette generator →

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