#BADB4F#BADB4F

#BADB4F is a very light, vivid yellow-green. Relative luminance 0.617; OKLCH L 84.1% C 0.168 H 121.5°. Best body text is #000000 at 13.33:1 contrast (WCAG AA passes).

Color values

HEX#BADB4F
RGBrgb(186, 219, 79)
HSLhsl(74, 66%, 58%)
HSVhsv(74, 64%, 86%)
CMYKcmyk(15.1%, 0%, 63.9%, 14.1%)
CIE-LABlab(82.74, -30.22, 62.92)
CIE-LCHlch(82.74, 69.80, 115.65°)
OKLaboklab(84.08% -0.0877 0.1433)
OKLCHoklch(84.08% 0.168 121.5)
XYZxyz(46.9931, 61.6667, 16.8228)
Luminance0.6167 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BADB4F #704FDB
analogous
#DBB64F #BADB4F #74DB4F
triadic
#BADB4F #4FBADB #DB4FBA
tetradic
#BADB4F #4FDBB6 #704FDB #DB4F74
square
#BADB4F #4FDBB6 #704FDB #DB4F74
split-complementary
#BADB4F #4F74DB #B64FDB
monochromatic
#76921E #A0C528 #BADB4F #CEE582 #E2F0B5

Accessibility & contrast

On white

1.57
#BADB4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.33
#BADB4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BADB4F
13.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BADB4F#FFFFFF#000000##000000
##BADB4F1.001.5713.3313.33
#FFFFFF1.571.0021.0021.00
#00000013.3321.001.001.00
##00000013.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CF3D
Deuteranopia (green-blind)
#E4CE59
Tritanopia (blue-blind)
#C3D0BE
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #badb4f;
/* rgb */ color: rgb(186, 219, 79);
/* oklch */ color: oklch(84.1% 0.168 121.5);
Tailwind
colors: {
  custom: {
    50: '#d2e687',
    500: '#badb4f',
    950: '#000000',
  },
}
SCSS
$custom: #badb4f;
$custom-light: #d2e687;
$custom-dark: #000000;
JSON
{
  "hex": "#badb4f",
  "rgb": {
    "r": 186,
    "g": 219,
    "b": 79
  },
  "hsl": {
    "h": 74.143,
    "s": 66.038,
    "l": 58.431
  },
  "oklch": {
    "l": 0.84081,
    "c": 0.16801,
    "h": 121.5
  },
  "luminance": 0.61667
}

Semantic roles & 50–950 ramp

primary
#BADB4F
secondary
#4E3797
accent
#3FE967
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#14150C
muted
#83847F

Preview Lab

Preview with #BADB4F

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

Preview Lab → · Contrast checker → · Palette generator →

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