#BAD157#BAD157

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

Color values

HEX#BAD157
RGBrgb(186, 209, 87)
HSLhsl(71, 57%, 58%)
HSVhsv(71, 58%, 82%)
CMYKcmyk(11%, 0%, 58.4%, 18%)
CIE-LABlab(80.03, -24.87, 56.60)
CIE-LCHlch(80.03, 61.83, 113.72°)
OKLaboklab(81.92% -0.072 0.131)
OKLCHoklch(81.92% 0.149 118.8)
XYZxyz(44.7711, 56.7284, 17.6061)
Luminance0.5673 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAD157 #6E57D1
analogous
#D1AB57 #BAD157 #7DD157
triadic
#BAD157 #57BAD1 #D157BA
tetradic
#BAD157 #57D1AB #6E57D1 #D1577D
square
#BAD157 #57D1AB #6E57D1 #D1577D
split-complementary
#BAD157 #577DD1 #AB57D1
monochromatic
#768825 #9FB832 #BAD157 #CEDE87 #E1EBB7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAD157#FFFFFF#000000##000000
##BAD1571.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)
#DDC64A
Deuteranopia (green-blind)
#DBC75F
Tritanopia (blue-blind)
#C4C7B7
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #bad157;
/* rgb */ color: rgb(186, 209, 87);
/* oklch */ color: oklch(81.9% 0.149 118.8);
Tailwind
colors: {
  custom: {
    50: '#d1df8b',
    500: '#bad157',
    950: '#000000',
  },
}
SCSS
$custom: #bad157;
$custom-light: #d1df8b;
$custom-dark: #000000;
JSON
{
  "hex": "#bad157",
  "rgb": {
    "r": 186,
    "g": 209,
    "b": 87
  },
  "hsl": {
    "h": 71.311,
    "s": 57.009,
    "l": 58.039
  },
  "oklch": {
    "l": 0.81924,
    "c": 0.14943,
    "h": 118.8
  },
  "luminance": 0.56728
}

Semantic roles & 50–950 ramp

primary
#BAD157
secondary
#4D3D8F
accent
#48E064
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#14150C
muted
#83847F

Preview Lab

Preview with #BAD157

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

Preview Lab → · Contrast checker → · Palette generator →

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