#BADF48#BADF48

#BADF48 is a very light, vivid yellow-green. Relative luminance 0.637; OKLCH L 84.9% C 0.178 H 122.2°. Best body text is #000000 at 13.74:1 contrast (WCAG AA passes).

Color values

HEX#BADF48
RGBrgb(186, 223, 72)
HSLhsl(75, 70%, 58%)
HSVhsv(75, 68%, 87%)
CMYKcmyk(16.6%, 0%, 67.7%, 12.5%)
CIE-LABlab(83.80, -32.53, 66.74)
CIE-LCHlch(83.80, 74.25, 115.99°)
OKLaboklab(84.92% -0.0947 0.1504)
OKLCHoklch(84.92% 0.178 122.2)
XYZxyz(47.8077, 63.6822, 15.9029)
Luminance0.6368 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BADF48 #6D48DF
analogous
#DFB948 #BADF48 #6EDF48
triadic
#BADF48 #48BADF #DF48BA
tetradic
#BADF48 #48DFB9 #6D48DF #DF486E
square
#BADF48 #48DFB9 #6D48DF #DF486E
split-complementary
#BADF48 #486EDF #B948DF
monochromatic
#75931A #9FC723 #BADF48 #CEE87C #E1F1B0

Accessibility & contrast

On white

1.53
#BADF48 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.74
#BADF48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BADF48
13.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BADF48#FFFFFF#000000##000000
##BADF481.001.5313.7413.74
#FFFFFF1.531.0021.0021.00
#00000013.7421.001.001.00
##00000013.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD231
Deuteranopia (green-blind)
#E7D154
Tritanopia (blue-blind)
#C3D4C1
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #badf48;
/* rgb */ color: rgb(186, 223, 72);
/* oklch */ color: oklch(84.9% 0.178 122.2);
Tailwind
colors: {
  custom: {
    50: '#d2e983',
    500: '#badf48',
    950: '#000000',
  },
}
SCSS
$custom: #badf48;
$custom-light: #d2e983;
$custom-dark: #000000;
JSON
{
  "hex": "#badf48",
  "rgb": {
    "r": 186,
    "g": 223,
    "b": 72
  },
  "hsl": {
    "h": 74.702,
    "s": 70.233,
    "l": 57.843
  },
  "oklch": {
    "l": 0.84923,
    "c": 0.17773,
    "h": 122.2
  },
  "luminance": 0.63682
}

Semantic roles & 50–950 ramp

primary
#BADF48
secondary
#4C3498
accent
#3BED66
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14160B
muted
#83847E

Preview Lab

Preview with #BADF48

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

Preview Lab → · Contrast checker → · Palette generator →

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