#BADF5F#BADF5F

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

Color values

HEX#BADF5F
RGBrgb(186, 223, 95)
HSLhsl(77, 67%, 62%)
HSVhsv(77, 57%, 87%)
CMYKcmyk(16.6%, 0%, 57.4%, 12.5%)
CIE-LABlab(83.99, -30.87, 57.54)
CIE-LCHlch(83.99, 65.30, 118.21°)
OKLaboklab(85.13% -0.088 0.1338)
OKLCHoklch(85.13% 0.16 123.3)
XYZxyz(48.7032, 64.0404, 20.6195)
Luminance0.6404 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BADF5F #845FDF
analogous
#DFC45F #BADF5F #7ADF5F
triadic
#BADF5F #5FBADF #DF5FBA
tetradic
#BADF5F #5FDFC4 #845FDF #DF5F7A
square
#BADF5F #5FDFC4 #845FDF #DF5F7A
split-complementary
#BADF5F #5F7ADF #C45FDF
monochromatic
#7DA321 #A4D52C #BADF5F #D0E992 #E6F3C5

Accessibility & contrast

On white

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

On black

13.81
#BADF5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BADF5F
13.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BADF5F#FFFFFF#000000##000000
##BADF5F1.001.5213.8113.81
#FFFFFF1.521.0021.0021.00
#00000013.8121.001.001.00
##00000013.8121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #badf5f;
/* rgb */ color: rgb(186, 223, 95);
/* oklch */ color: oklch(85.1% 0.160 123.3);
Tailwind
colors: {
  custom: {
    50: '#d1e991',
    500: '#badf5f',
    950: '#000000',
  },
}
SCSS
$custom: #badf5f;
$custom-light: #d1e991;
$custom-dark: #000000;
JSON
{
  "hex": "#badf5f",
  "rgb": {
    "r": 186,
    "g": 223,
    "b": 95
  },
  "hsl": {
    "h": 77.344,
    "s": 66.667,
    "l": 62.353
  },
  "oklch": {
    "l": 0.85133,
    "c": 0.16018,
    "h": 123.3
  },
  "luminance": 0.64041
}

Semantic roles & 50–950 ramp

primary
#BADF5F
secondary
#5B3CA6
accent
#17CF4C
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#14160D
muted
#83847F

Preview Lab

Preview with #BADF5F

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

Preview Lab → · Contrast checker → · Palette generator →

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