#BAD74F#BAD74F

#BAD74F is a very light, vivid yellow-green. Relative luminance 0.596; OKLCH L 83.2% C 0.163 H 120.3°. Best body text is #000000 at 12.92:1 contrast (WCAG AA passes).

Color values

HEX#BAD74F
RGBrgb(186, 215, 79)
HSLhsl(73, 63%, 58%)
HSVhsv(73, 63%, 84%)
CMYKcmyk(13.5%, 0%, 63.3%, 15.7%)
CIE-LABlab(81.62, -28.33, 61.73)
CIE-LCHlch(81.62, 67.92, 114.65°)
OKLaboklab(83.19% -0.0824 0.1408)
OKLCHoklch(83.19% 0.163 120.3)
XYZxyz(45.9621, 59.6046, 16.4791)
Luminance0.5960 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAD74F #6C4FD7
analogous
#D7B04F #BAD74F #76D74F
triadic
#BAD74F #4FBAD7 #D74FBA
tetradic
#BAD74F #4FD7B0 #6C4FD7 #D74F76
square
#BAD74F #4FD7B0 #6C4FD7 #D74F76
split-complementary
#BAD74F #4F76D7 #B04FD7
monochromatic
#758C20 #9EBE2B #BAD74F #CEE281 #E1EEB3

Accessibility & contrast

On white

1.63
#BAD74F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.92
#BAD74F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAD74F
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAD74F#FFFFFF#000000##000000
##BAD74F1.001.6312.9212.92
#FFFFFF1.631.0021.0021.00
#00000012.9221.001.001.00
##00000012.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CB3E
Deuteranopia (green-blind)
#E0CB59
Tritanopia (blue-blind)
#C4CCBB
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #bad74f;
/* rgb */ color: rgb(186, 215, 79);
/* oklch */ color: oklch(83.2% 0.163 120.3);
Tailwind
colors: {
  custom: {
    50: '#d2e386',
    500: '#bad74f',
    950: '#000000',
  },
}
SCSS
$custom: #bad74f;
$custom-light: #d2e386;
$custom-dark: #000000;
JSON
{
  "hex": "#bad74f",
  "rgb": {
    "r": 186,
    "g": 215,
    "b": 79
  },
  "hsl": {
    "h": 72.794,
    "s": 62.963,
    "l": 57.647
  },
  "oklch": {
    "l": 0.83185,
    "c": 0.16317,
    "h": 120.3
  },
  "luminance": 0.59604
}

Semantic roles & 50–950 ramp

primary
#BAD74F
secondary
#4C3992
accent
#42E665
background
#FEFEFC
surface
#FBFCF3
border
#D4D5CD
text
#14150C
muted
#83847F

Preview Lab

Preview with #BAD74F

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

Preview Lab → · Contrast checker → · Palette generator →

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