#BAD04F#BAD04F

#BAD04F is a light, vivid yellow-green. Relative luminance 0.561; OKLCH L 81.6% C 0.155 H 118.2°. Best body text is #000000 at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#BAD04F
RGBrgb(186, 208, 79)
HSLhsl(70, 58%, 56%)
HSVhsv(70, 62%, 82%)
CMYKcmyk(10.6%, 0%, 62%, 18.4%)
CIE-LABlab(79.68, -24.99, 59.65)
CIE-LCHlch(79.68, 64.67, 112.73°)
OKLaboklab(81.62% -0.0731 0.1364)
OKLCHoklch(81.62% 0.155 118.2)
XYZxyz(44.2176, 56.1157, 15.8976)
Luminance0.5612 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAD04F #654FD0
analogous
#D0A64F #BAD04F #7AD04F
triadic
#BAD04F #4FBAD0 #D04FBA
tetradic
#BAD04F #4FD0A6 #654FD0 #D04F7A
square
#BAD04F #4FD0A6 #654FD0 #D04F7A
split-complementary
#BAD04F #4F7AD0 #A64FD0
monochromatic
#728223 #9CB230 #BAD04F #CDDD7F #E0EAB0

Accessibility & contrast

On white

1.72
#BAD04F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.22
#BAD04F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAD04F
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAD04F#FFFFFF#000000##000000
##BAD04F1.001.7212.2212.22
#FFFFFF1.721.0021.0021.00
#00000012.2221.001.001.00
##00000012.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC53F
Deuteranopia (green-blind)
#DBC658
Tritanopia (blue-blind)
#C4C5B5
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #bad04f;
/* rgb */ color: rgb(186, 208, 79);
/* oklch */ color: oklch(81.6% 0.155 118.2);
Tailwind
colors: {
  custom: {
    50: '#d1de86',
    500: '#bad04f',
    950: '#000000',
  },
}
SCSS
$custom: #bad04f;
$custom-light: #d1de86;
$custom-dark: #000000;
JSON
{
  "hex": "#bad04f",
  "rgb": {
    "r": 186,
    "g": 208,
    "b": 79
  },
  "hsl": {
    "h": 70.233,
    "s": 57.848,
    "l": 56.275
  },
  "oklch": {
    "l": 0.81623,
    "c": 0.15477,
    "h": 118.2
  },
  "luminance": 0.56115
}

Semantic roles & 50–950 ramp

primary
#BAD04F
secondary
#483A89
accent
#47E161
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #BAD04F

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

Preview Lab → · Contrast checker → · Palette generator →

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