#BADB51#BADB51

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

Color values

HEX#BADB51
RGBrgb(186, 219, 81)
HSLhsl(74, 66%, 59%)
HSVhsv(74, 63%, 86%)
CMYKcmyk(15.1%, 0%, 63%, 14.1%)
CIE-LABlab(82.75, -30.08, 62.12)
CIE-LCHlch(82.75, 69.02, 115.84°)
OKLaboklab(84.1% -0.0871 0.1419)
OKLCHoklch(84.1% 0.167 121.5)
XYZxyz(47.0670, 61.6962, 17.2120)
Luminance0.6170 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BADB51 #7251DB
analogous
#DBB751 #BADB51 #75DB51
triadic
#BADB51 #51BADB #DB51BA
tetradic
#BADB51 #51DBB7 #7251DB #DB5175
square
#BADB51 #51DBB7 #7251DB #DB5175
split-complementary
#BADB51 #5175DB #B751DB
monochromatic
#77931E #A0C629 #BADB51 #CEE584 #E2F0B6

Accessibility & contrast

On white

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

On black

13.34
#BADB51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BADB51
13.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BADB51#FFFFFF#000000##000000
##BADB511.001.5713.3413.34
#FFFFFF1.571.0021.0021.00
#00000013.3421.001.001.00
##00000013.3421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #badb51;
/* rgb */ color: rgb(186, 219, 81);
/* oklch */ color: oklch(84.1% 0.167 121.5);
Tailwind
colors: {
  custom: {
    50: '#d2e688',
    500: '#badb51',
    950: '#000000',
  },
}
SCSS
$custom: #badb51;
$custom-light: #d2e688;
$custom-dark: #000000;
JSON
{
  "hex": "#badb51",
  "rgb": {
    "r": 186,
    "g": 219,
    "b": 81
  },
  "hsl": {
    "h": 74.348,
    "s": 65.714,
    "l": 58.824
  },
  "oklch": {
    "l": 0.84099,
    "c": 0.16651,
    "h": 121.5
  },
  "luminance": 0.61696
}

Semantic roles & 50–950 ramp

primary
#BADB51
secondary
#4F3898
accent
#3FE968
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#14150C
muted
#83847F

Preview Lab

Preview with #BADB51

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

Preview Lab → · Contrast checker → · Palette generator →

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