#BADB7C#BADB7C

#BADB7C is a very light, vivid yellow-green. Relative luminance 0.626; OKLCH L 84.6% C 0.127 H 124.7°. Best body text is #000000 at 13.51:1 contrast (WCAG AA passes).

Color values

HEX#BADB7C
RGBrgb(186, 219, 124)
HSLhsl(81, 57%, 67%)
HSVhsv(81, 43%, 86%)
CMYKcmyk(15.1%, 0%, 43.4%, 14.1%)
CIE-LABlab(83.21, -26.11, 43.04)
CIE-LCHlch(83.21, 50.34, 121.24°)
OKLaboklab(84.61% -0.0723 0.1044)
OKLCHoklch(84.61% 0.127 124.7)
XYZxyz(49.2191, 62.5571, 28.5466)
Luminance0.6256 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BADB7C #9D7CDB
analogous
#DBCC7C #BADB7C #8BDB7C
triadic
#BADB7C #7CBADB #DB7CBA
tetradic
#BADB7C #7CDBCC #9D7CDB #DB7C8B
square
#BADB7C #7CDBCC #9D7CDB #DB7C8B
split-complementary
#BADB7C #7C8BDB #CC7CDB
monochromatic
#81AD30 #A1CE4C #BADB7C #D3E8AC #EDF5DC

Accessibility & contrast

On white

1.55
#BADB7C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.51
#BADB7C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BADB7C
13.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BADB7C#FFFFFF#000000##000000
##BADB7C1.001.5513.5113.51
#FFFFFF1.551.0021.0021.00
#00000013.5121.001.001.00
##00000013.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4D074
Deuteranopia (green-blind)
#E0CF81
Tritanopia (blue-blind)
#C0D3C4
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #badb7c;
/* rgb */ color: rgb(186, 219, 124);
/* oklch */ color: oklch(84.6% 0.127 124.7);
Tailwind
colors: {
  custom: {
    50: '#d0e6a3',
    500: '#badb7c',
    950: '#000000',
  },
}
SCSS
$custom: #badb7c;
$custom-light: #d0e6a3;
$custom-dark: #000000;
JSON
{
  "hex": "#badb7c",
  "rgb": {
    "r": 186,
    "g": 219,
    "b": 124
  },
  "hsl": {
    "h": 80.842,
    "s": 56.886,
    "l": 67.255
  },
  "oklch": {
    "l": 0.84614,
    "c": 0.12697,
    "h": 124.7
  },
  "luminance": 0.62557
}

Semantic roles & 50–950 ramp

primary
#BADB7C
secondary
#6E4CB0
accent
#21C45A
background
#FEFEFC
surface
#FBFCF6
border
#D4D5D0
text
#14160F
muted
#838480

Preview Lab

Preview with #BADB7C

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

Preview Lab → · Contrast checker → · Palette generator →

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