#BAD45F#BAD45F

#BAD45F is a very light, vivid yellow-green. Relative luminance 0.584; OKLCH L 82.7% C 0.146 H 120.2°. Best body text is #000000 at 12.67:1 contrast (WCAG AA passes).

Color values

HEX#BAD45F
RGBrgb(186, 212, 95)
HSLhsl(73, 58%, 60%)
HSVhsv(73, 55%, 83%)
CMYKcmyk(12.3%, 0%, 55.2%, 16.9%)
CIE-LABlab(80.93, -25.66, 54.06)
CIE-LCHlch(80.93, 59.84, 115.39°)
OKLaboklab(82.68% -0.0734 0.1264)
OKLCHoklch(82.68% 0.146 120.2)
XYZxyz(45.8592, 58.3524, 19.6715)
Luminance0.5835 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAD45F #795FD4
analogous
#D4B35F #BAD45F #80D45F
triadic
#BAD45F #5FBAD4 #D45FBA
tetradic
#BAD45F #5FD4B3 #795FD4 #D45F80
square
#BAD45F #5FD4B3 #795FD4 #D45F80
split-complementary
#BAD45F #5F80D4 #B35FD4
monochromatic
#7A9127 #A2C234 #BAD45F #CFE18F #E4EEBF

Accessibility & contrast

On white

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

On black

12.67
#BAD45F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAD45F
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAD45F#FFFFFF#000000##000000
##BAD45F1.001.6612.6712.67
#FFFFFF1.661.0021.0021.00
#00000012.6721.001.001.00
##00000012.6721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bad45f;
/* rgb */ color: rgb(186, 212, 95);
/* oklch */ color: oklch(82.7% 0.146 120.2);
Tailwind
colors: {
  custom: {
    50: '#d1e190',
    500: '#bad45f',
    950: '#000000',
  },
}
SCSS
$custom: #bad45f;
$custom-light: #d1e190;
$custom-dark: #000000;
JSON
{
  "hex": "#bad45f",
  "rgb": {
    "r": 186,
    "g": 212,
    "b": 95
  },
  "hsl": {
    "h": 73.333,
    "s": 57.635,
    "l": 60.196
  },
  "oklch": {
    "l": 0.82677,
    "c": 0.14616,
    "h": 120.2
  },
  "luminance": 0.58352
}

Semantic roles & 50–950 ramp

primary
#BAD45F
secondary
#534097
accent
#20C545
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#14150D
muted
#83847F

Preview Lab

Preview with #BAD45F

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

Preview Lab → · Contrast checker → · Palette generator →

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