#BADB38#BADB38

#BADB38 is a very light, vivid yellow-green. Relative luminance 0.614; OKLCH L 83.9% C 0.183 H 120.7°. Best body text is #000000 at 13.28:1 contrast (WCAG AA passes).

Color values

HEX#BADB38
RGBrgb(186, 219, 56)
HSLhsl(72, 69%, 54%)
HSVhsv(72, 74%, 86%)
CMYKcmyk(15.1%, 0%, 74.4%, 14.1%)
CIE-LABlab(82.59, -31.54, 71.12)
CIE-LCHlch(82.59, 77.80, 113.92°)
OKLaboklab(83.91% -0.0933 0.1571)
OKLCHoklch(83.91% 0.183 120.7)
XYZxyz(46.2959, 61.3878, 13.1507)
Luminance0.6139 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BADB38 #5938DB
analogous
#DBAB38 #BADB38 #69DB38
triadic
#BADB38 #38BADB #DB38BA
tetradic
#BADB38 #38DBAB #5938DB #DB3869
square
#BADB38 #38DBAB #5938DB #DB3869
split-complementary
#BADB38 #3869DB #AB38DB
monochromatic
#6C8117 #97B521 #BADB38 #CCE46C #DEEEA0

Accessibility & contrast

On white

1.58
#BADB38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.28
#BADB38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BADB38
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BADB38#FFFFFF#000000##000000
##BADB381.001.5813.2813.28
#FFFFFF1.581.0021.0021.00
#00000013.2821.001.001.00
##00000013.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9CE11
Deuteranopia (green-blind)
#E5CE47
Tritanopia (blue-blind)
#C4CFBC
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #badb38;
/* rgb */ color: rgb(186, 219, 56);
/* oklch */ color: oklch(83.9% 0.183 120.7);
Tailwind
colors: {
  custom: {
    50: '#d3e67b',
    500: '#badb38',
    950: '#000000',
  },
}
SCSS
$custom: #badb38;
$custom-light: #d3e67b;
$custom-dark: #000000;
JSON
{
  "hex": "#badb38",
  "rgb": {
    "r": 186,
    "g": 219,
    "b": 56
  },
  "hsl": {
    "h": 72.147,
    "s": 69.362,
    "l": 53.922
  },
  "oklch": {
    "l": 0.83913,
    "c": 0.18272,
    "h": 120.7
  },
  "luminance": 0.61388
}

Semantic roles & 50–950 ramp

primary
#BADB38
secondary
#412F88
accent
#3CEC5F
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #BADB38

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

Preview Lab → · Contrast checker → · Palette generator →

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