#BAD98B#BAD98B

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

Color values

HEX#BAD98B
RGBrgb(186, 217, 139)
HSLhsl(84, 51%, 70%)
HSVhsv(84, 36%, 85%)
CMYKcmyk(14.3%, 0%, 35.9%, 14.9%)
CIE-LABlab(82.88, -23.31, 35.12)
CIE-LCHlch(82.88, 42.15, 123.58°)
OKLaboklab(84.42% -0.0636 0.0868)
OKLCHoklch(84.42% 0.108 126.2)
XYZxyz(49.7223, 61.9285, 33.7550)
Luminance0.6193 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAD98B #AA8BD9
analogous
#D9D18B #BAD98B #93D98B
triadic
#BAD98B #8BBAD9 #D98BBA
tetradic
#BAD98B #8BD9D1 #AA8BD9 #D98B93
square
#BAD98B #8BD9D1 #AA8BD9 #D98B93
split-complementary
#BAD98B #8B93D9 #D18BD9
monochromatic
#81B03A #9FCA5D #BAD98B #D5E8B9 #F1F7E7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAD98B#FFFFFF#000000##000000
##BAD98B1.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)
#E1D085
Deuteranopia (green-blind)
#DCCE8F
Tritanopia (blue-blind)
#BED2C5
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #bad98b;
/* rgb */ color: rgb(186, 217, 139);
/* oklch */ color: oklch(84.4% 0.108 126.2);
Tailwind
colors: {
  custom: {
    50: '#cfe4ad',
    500: '#bad98b',
    950: '#000000',
  },
}
SCSS
$custom: #bad98b;
$custom-light: #cfe4ad;
$custom-dark: #000000;
JSON
{
  "hex": "#bad98b",
  "rgb": {
    "r": 186,
    "g": 217,
    "b": 139
  },
  "hsl": {
    "h": 83.846,
    "s": 50.649,
    "l": 69.804
  },
  "oklch": {
    "l": 0.84418,
    "c": 0.10766,
    "h": 126.2
  },
  "luminance": 0.61929
}

Semantic roles & 50–950 ramp

primary
#BAD98B
secondary
#7B59B0
accent
#27BE63
background
#FEFEFD
surface
#FBFCF7
border
#D4D5D0
text
#141510
muted
#838481

Preview Lab

Preview with #BAD98B

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

Preview Lab → · Contrast checker → · Palette generator →

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