#BADF5D#BADF5D

#BADF5D is a very light, vivid yellow-green. Relative luminance 0.640; OKLCH L 85.1% C 0.162 H 123.2°. Best body text is #000000 at 13.80:1 contrast (WCAG AA passes).

Color values

HEX#BADF5D
RGBrgb(186, 223, 93)
HSLhsl(77, 67%, 62%)
HSVhsv(77, 58%, 87%)
CMYKcmyk(16.6%, 0%, 58.3%, 12.5%)
CIE-LABlab(83.97, -31.04, 58.39)
CIE-LCHlch(83.97, 66.13, 117.99°)
OKLaboklab(85.11% -0.0887 0.1354)
OKLCHoklch(85.11% 0.162 123.2)
XYZxyz(48.6135, 64.0045, 20.1468)
Luminance0.6401 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BADF5D #825DDF
analogous
#DFC35D #BADF5D #79DF5D
triadic
#BADF5D #5DBADF #DF5DBA
tetradic
#BADF5D #5DDFC3 #825DDF #DF5D79
square
#BADF5D #5DDFC3 #825DDF #DF5D79
split-complementary
#BADF5D #5D79DF #C35DDF
monochromatic
#7DA220 #A4D52A #BADF5D #D0E990 #E6F3C3

Accessibility & contrast

On white

1.52
#BADF5D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.80
#BADF5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BADF5D
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BADF5D#FFFFFF#000000##000000
##BADF5D1.001.5213.8013.80
#FFFFFF1.521.0021.0021.00
#00000013.8021.001.001.00
##00000013.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD24F
Deuteranopia (green-blind)
#E6D166
Tritanopia (blue-blind)
#C2D5C3
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #badf5d;
/* rgb */ color: rgb(186, 223, 93);
/* oklch */ color: oklch(85.1% 0.162 123.2);
Tailwind
colors: {
  custom: {
    50: '#d1e98f',
    500: '#badf5d',
    950: '#000000',
  },
}
SCSS
$custom: #badf5d;
$custom-light: #d1e98f;
$custom-dark: #000000;
JSON
{
  "hex": "#badf5d",
  "rgb": {
    "r": 186,
    "g": 223,
    "b": 93
  },
  "hsl": {
    "h": 77.077,
    "s": 67.01,
    "l": 61.961
  },
  "oklch": {
    "l": 0.85112,
    "c": 0.16187,
    "h": 123.2
  },
  "luminance": 0.64005
}

Semantic roles & 50–950 ramp

primary
#BADF5D
secondary
#593CA5
accent
#17CF4B
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#14160D
muted
#83847F

Preview Lab

Preview with #BADF5D

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

Preview Lab → · Contrast checker → · Palette generator →

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