#BAD98C#BAD98C

#BAD98C is a very light, moderate yellow-green. Relative luminance 0.620; OKLCH L 84.4% C 0.107 H 126.4°. Best body text is #000000 at 13.39:1 contrast (WCAG AA passes).

Color values

HEX#BAD98C
RGBrgb(186, 217, 140)
HSLhsl(84, 50%, 70%)
HSVhsv(84, 35%, 85%)
CMYKcmyk(14.3%, 0%, 35.5%, 14.9%)
CIE-LABlab(82.89, -23.18, 34.63)
CIE-LCHlch(82.89, 41.67, 123.80°)
OKLaboklab(84.44% -0.0632 0.0857)
OKLCHoklch(84.44% 0.107 126.4)
XYZxyz(49.7957, 61.9579, 34.1415)
Luminance0.6196 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAD98C #AB8CD9
analogous
#D9D28C #BAD98C #93D98C
triadic
#BAD98C #8CBAD9 #D98CBA
tetradic
#BAD98C #8CD9D2 #AB8CD9 #D98C93
square
#BAD98C #8CD9D2 #AB8CD9 #D98C93
split-complementary
#BAD98C #8C93D9 #D28CD9
monochromatic
#81B03A #9ECA5E #BAD98C #D6E8BA #F1F7E8

Accessibility & contrast

On white

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

On black

13.39
#BAD98C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAD98C
13.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAD98C#FFFFFF#000000##000000
##BAD98C1.001.5713.3913.39
#FFFFFF1.571.0021.0021.00
#00000013.3921.001.001.00
##00000013.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1D087
Deuteranopia (green-blind)
#DCCE90
Tritanopia (blue-blind)
#BED2C6
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #bad98c;
/* rgb */ color: rgb(186, 217, 140);
/* oklch */ color: oklch(84.4% 0.107 126.4);
Tailwind
colors: {
  custom: {
    50: '#cfe4ae',
    500: '#bad98c',
    950: '#000000',
  },
}
SCSS
$custom: #bad98c;
$custom-light: #cfe4ae;
$custom-dark: #000000;
JSON
{
  "hex": "#bad98c",
  "rgb": {
    "r": 186,
    "g": 217,
    "b": 140
  },
  "hsl": {
    "h": 84.156,
    "s": 50.327,
    "l": 70
  },
  "oklch": {
    "l": 0.84435,
    "c": 0.10653,
    "h": 126.4
  },
  "luminance": 0.61958
}

Semantic roles & 50–950 ramp

primary
#BAD98C
secondary
#7C59B0
accent
#28BE64
background
#FEFEFD
surface
#FBFCF7
border
#D4D5D0
text
#141510
muted
#838481

Preview Lab

Preview with #BAD98C

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

Preview Lab → · Contrast checker → · Palette generator →

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