#BAD54F#BAD54F

#BAD54F is a very light, vivid yellow-green. Relative luminance 0.586; OKLCH L 82.7% C 0.161 H 119.8°. Best body text is #000000 at 12.72:1 contrast (WCAG AA passes).

Color values

HEX#BAD54F
RGBrgb(186, 213, 79)
HSLhsl(72, 61%, 57%)
HSVhsv(72, 63%, 84%)
CMYKcmyk(12.7%, 0%, 62.9%, 16.5%)
CIE-LABlab(81.07, -27.38, 61.14)
CIE-LCHlch(81.07, 66.99, 114.13°)
OKLaboklab(82.74% -0.0798 0.1396)
OKLCHoklch(82.74% 0.161 119.8)
XYZxyz(45.4559, 58.5923, 16.3104)
Luminance0.5859 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAD54F #6A4FD5
analogous
#D5AD4F #BAD54F #77D54F
triadic
#BAD54F #4FBAD5 #D54FBA
tetradic
#BAD54F #4FD5AD #6A4FD5 #D54F77
square
#BAD54F #4FD5AD #6A4FD5 #D54F77
split-complementary
#BAD54F #4F77D5 #AD4FD5
monochromatic
#748921 #9EBA2C #BAD54F #CDE180 #E1EDB2

Accessibility & contrast

On white

1.65
#BAD54F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.72
#BAD54F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAD54F
12.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAD54F#FFFFFF#000000##000000
##BAD54F1.001.6512.7212.72
#FFFFFF1.651.0021.0021.00
#00000012.7221.001.001.00
##00000012.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2C93E
Deuteranopia (green-blind)
#DFCA58
Tritanopia (blue-blind)
#C4CAB9
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #bad54f;
/* rgb */ color: rgb(186, 213, 79);
/* oklch */ color: oklch(82.7% 0.161 119.8);
Tailwind
colors: {
  custom: {
    50: '#d2e286',
    500: '#bad54f',
    950: '#000000',
  },
}
SCSS
$custom: #bad54f;
$custom-light: #d2e286;
$custom-dark: #000000;
JSON
{
  "hex": "#bad54f",
  "rgb": {
    "r": 186,
    "g": 213,
    "b": 79
  },
  "hsl": {
    "h": 72.09,
    "s": 61.468,
    "l": 57.255
  },
  "oklch": {
    "l": 0.82738,
    "c": 0.16076,
    "h": 119.8
  },
  "luminance": 0.58592
}

Semantic roles & 50–950 ramp

primary
#BAD54F
secondary
#4A398F
accent
#43E564
background
#FEFEFC
surface
#FBFCF3
border
#D4D5CD
text
#14150C
muted
#83847F

Preview Lab

Preview with #BAD54F

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

Preview Lab → · Contrast checker → · Palette generator →

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