#BAD45B#BAD45B

#BAD45B is a very light, vivid yellow-green. Relative luminance 0.583; OKLCH L 82.6% C 0.150 H 120.0°. Best body text is #000000 at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#BAD45B
RGBrgb(186, 212, 91)
HSLhsl(73, 58%, 59%)
HSVhsv(73, 57%, 83%)
CMYKcmyk(12.3%, 0%, 57.1%, 16.9%)
CIE-LABlab(80.90, -25.99, 55.81)
CIE-LCHlch(80.90, 61.57, 114.97°)
OKLaboklab(82.63% -0.0747 0.1297)
OKLCHoklch(82.63% 0.15 120)
XYZxyz(45.6821, 58.2816, 18.7384)
Luminance0.5828 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAD45B #755BD4
analogous
#D4B25B #BAD45B #7DD45B
triadic
#BAD45B #5BBAD4 #D45BBA
tetradic
#BAD45B #5BD4B2 #755BD4 #D45B7D
square
#BAD45B #5BD4B2 #755BD4 #D45B7D
split-complementary
#BAD45B #5B7DD4 #B25BD4
monochromatic
#788F26 #A1C032 #BAD45B #CEE18B #E3EDBC

Accessibility & contrast

On white

1.66
#BAD45B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.66
#BAD45B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAD45B
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAD45B#FFFFFF#000000##000000
##BAD45B1.001.6612.6612.66
#FFFFFF1.661.0021.0021.00
#00000012.6621.001.001.00
##00000012.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C94E
Deuteranopia (green-blind)
#DDC963
Tritanopia (blue-blind)
#C3CABA
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #bad45b;
/* rgb */ color: rgb(186, 212, 91);
/* oklch */ color: oklch(82.6% 0.150 120.0);
Tailwind
colors: {
  custom: {
    50: '#d1e18d',
    500: '#bad45b',
    950: '#000000',
  },
}
SCSS
$custom: #bad45b;
$custom-light: #d1e18d;
$custom-dark: #000000;
JSON
{
  "hex": "#bad45b",
  "rgb": {
    "r": 186,
    "g": 212,
    "b": 91
  },
  "hsl": {
    "h": 72.893,
    "s": 58.454,
    "l": 59.412
  },
  "oklch": {
    "l": 0.82633,
    "c": 0.14971,
    "h": 120
  },
  "luminance": 0.58281
}

Semantic roles & 50–950 ramp

primary
#BAD45B
secondary
#513E95
accent
#46E268
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#14150C
muted
#83847F

Preview Lab

Preview with #BAD45B

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

Preview Lab → · Contrast checker → · Palette generator →

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