#BADF5B#BADF5B

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

Color values

HEX#BADF5B
RGBrgb(186, 223, 91)
HSLhsl(77, 67%, 62%)
HSVhsv(77, 59%, 87%)
CMYKcmyk(16.6%, 0%, 59.2%, 12.5%)
CIE-LABlab(83.95, -31.20, 59.24)
CIE-LCHlch(83.95, 66.95, 117.77°)
OKLaboklab(85.09% -0.0893 0.137)
OKLCHoklch(85.09% 0.164 123.1)
XYZxyz(48.5261, 63.9696, 19.6864)
Luminance0.6397 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BADF5B #805BDF
analogous
#DFC25B #BADF5B #78DF5B
triadic
#BADF5B #5BBADF #DF5BBA
tetradic
#BADF5B #5BDFC2 #805BDF #DF5B78
square
#BADF5B #5BDFC2 #805BDF #DF5B78
split-complementary
#BADF5B #5B78DF #C25BDF
monochromatic
#7CA01F #A4D429 #BADF5B #D0E98E #E5F3C1

Accessibility & contrast

On white

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

On black

13.79
#BADF5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BADF5B
13.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BADF5B#FFFFFF#000000##000000
##BADF5B1.001.5213.7913.79
#FFFFFF1.521.0021.0021.00
#00000013.7921.001.001.00
##00000013.7921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #badf5b;
/* rgb */ color: rgb(186, 223, 91);
/* oklch */ color: oklch(85.1% 0.164 123.1);
Tailwind
colors: {
  custom: {
    50: '#d1e98e',
    500: '#badf5b',
    950: '#000000',
  },
}
SCSS
$custom: #badf5b;
$custom-light: #d1e98e;
$custom-dark: #000000;
JSON
{
  "hex": "#badf5b",
  "rgb": {
    "r": 186,
    "g": 223,
    "b": 91
  },
  "hsl": {
    "h": 76.818,
    "s": 67.347,
    "l": 61.569
  },
  "oklch": {
    "l": 0.85091,
    "c": 0.16354,
    "h": 123.1
  },
  "luminance": 0.6397
}

Semantic roles & 50–950 ramp

primary
#BADF5B
secondary
#583BA3
accent
#16CF4A
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#14160D
muted
#83847F

Preview Lab

Preview with #BADF5B

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

Preview Lab → · Contrast checker → · Palette generator →

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