#BADF5C#BADF5C

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

Color values

HEX#BADF5C
RGBrgb(186, 223, 92)
HSLhsl(77, 67%, 62%)
HSVhsv(77, 59%, 87%)
CMYKcmyk(16.6%, 0%, 58.7%, 12.5%)
CIE-LABlab(83.96, -31.12, 58.81)
CIE-LCHlch(83.96, 66.54, 117.88°)
OKLaboklab(85.1% -0.089 0.1362)
OKLCHoklch(85.1% 0.163 123.1)
XYZxyz(48.5695, 63.9869, 19.9151)
Luminance0.6399 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BADF5C #815CDF
analogous
#DFC35C #BADF5C #79DF5C
triadic
#BADF5C #5CBADF #DF5CBA
tetradic
#BADF5C #5CDFC3 #815CDF #DF5C79
square
#BADF5C #5CDFC3 #815CDF #DF5C79
split-complementary
#BADF5C #5C79DF #C35CDF
monochromatic
#7CA120 #A4D42A #BADF5C #D0E98F #E5F3C2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BADF5C#FFFFFF#000000##000000
##BADF5C1.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)
#EBD24D
Deuteranopia (green-blind)
#E6D165
Tritanopia (blue-blind)
#C2D5C3
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #badf5c;
/* rgb */ color: rgb(186, 223, 92);
/* oklch */ color: oklch(85.1% 0.163 123.1);
Tailwind
colors: {
  custom: {
    50: '#d1e98f',
    500: '#badf5c',
    950: '#000000',
  },
}
SCSS
$custom: #badf5c;
$custom-light: #d1e98f;
$custom-dark: #000000;
JSON
{
  "hex": "#badf5c",
  "rgb": {
    "r": 186,
    "g": 223,
    "b": 92
  },
  "hsl": {
    "h": 76.947,
    "s": 67.179,
    "l": 61.765
  },
  "oklch": {
    "l": 0.85102,
    "c": 0.16271,
    "h": 123.1
  },
  "luminance": 0.63987
}

Semantic roles & 50–950 ramp

primary
#BADF5C
secondary
#593BA4
accent
#16CF4B
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#14160D
muted
#83847F

Preview Lab

Preview with #BADF5C

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

Preview Lab → · Contrast checker → · Palette generator →

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