#BAD479#BAD479

#BAD479 is a very light, vivid yellow-green. Relative luminance 0.589; OKLCH L 83.0% C 0.120 H 122.1°. Best body text is #000000 at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#BAD479
RGBrgb(186, 212, 121)
HSLhsl(77, 51%, 65%)
HSVhsv(77, 43%, 83%)
CMYKcmyk(12.3%, 0%, 42.9%, 16.9%)
CIE-LABlab(81.24, -23.07, 42.06)
CIE-LCHlch(81.24, 47.97, 118.74°)
OKLaboklab(83.02% -0.064 0.102)
OKLCHoklch(83.02% 0.12 122.1)
XYZxyz(47.2444, 58.9065, 26.9666)
Luminance0.5891 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAD479 #9379D4
analogous
#D4C079 #BAD479 #8CD479
triadic
#BAD479 #79BAD4 #D479BA
tetradic
#BAD479 #79D4C0 #9379D4 #D4798C
square
#BAD479 #79D4C0 #9379D4 #D4798C
split-complementary
#BAD479 #798CD4 #C079D4
monochromatic
#819F33 #A2C54B #BAD479 #D2E3A7 #EAF2D6

Accessibility & contrast

On white

1.64
#BAD479 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.78
#BAD479 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAD479
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAD479#FFFFFF#000000##000000
##BAD4791.001.6412.7812.78
#FFFFFF1.641.0021.0021.00
#00000012.7821.001.001.00
##00000012.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DECA72
Deuteranopia (green-blind)
#DACA7E
Tritanopia (blue-blind)
#C1CCBE
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #bad479;
/* rgb */ color: rgb(186, 212, 121);
/* oklch */ color: oklch(83.0% 0.120 122.1);
Tailwind
colors: {
  custom: {
    50: '#d0e1a1',
    500: '#bad479',
    950: '#000000',
  },
}
SCSS
$custom: #bad479;
$custom-light: #d0e1a1;
$custom-dark: #000000;
JSON
{
  "hex": "#bad479",
  "rgb": {
    "r": 186,
    "g": 212,
    "b": 121
  },
  "hsl": {
    "h": 77.143,
    "s": 51.412,
    "l": 65.294
  },
  "oklch": {
    "l": 0.83022,
    "c": 0.12037,
    "h": 122.1
  },
  "luminance": 0.58907
}

Semantic roles & 50–950 ramp

primary
#BAD479
secondary
#664DA4
accent
#27BF52
background
#FEFEFC
surface
#FBFCF5
border
#D4D5CF
text
#14150F
muted
#838480

Preview Lab

Preview with #BAD479

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

Preview Lab → · Contrast checker → · Palette generator →

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