#BDD338#BDD338

#BDD338 is a very light, vivid yellow. Relative luminance 0.577; OKLCH L 82.3% C 0.173 H 117.5°. Best body text is #000000 at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#BDD338
RGBrgb(189, 211, 56)
HSLhsl(69, 64%, 52%)
HSVhsv(69, 73%, 83%)
CMYKcmyk(10.4%, 0%, 73.5%, 17.3%)
CIE-LABlab(80.57, -26.56, 69.28)
CIE-LCHlch(80.57, 74.19, 110.97°)
OKLaboklab(82.34% -0.0798 0.1531)
OKLCHoklch(82.34% 0.173 117.5)
XYZxyz(44.9954, 57.6934, 12.5062)
Luminance0.5769 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDD338 #4E38D3
analogous
#D39B38 #BDD338 #70D338
triadic
#BDD338 #38BDD3 #D338BD
tetradic
#BDD338 #38D39B #4E38D3 #D33870
square
#BDD338 #38D39B #4E38D3 #D33870
split-complementary
#BDD338 #3870D3 #9B38D3
monochromatic
#69761A #96A925 #BDD338 #CEDE6A #DEE99C

Accessibility & contrast

On white

1.67
#BDD338 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.54
#BDD338 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDD338
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDD338#FFFFFF#000000##000000
##BDD3381.001.6712.5412.54
#FFFFFF1.671.0021.0021.00
#00000012.5421.001.001.00
##00000012.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C816
Deuteranopia (green-blind)
#DFC945
Tritanopia (blue-blind)
#C9C7B5
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #bdd338;
/* rgb */ color: rgb(189, 211, 56);
/* oklch */ color: oklch(82.3% 0.173 117.5);
Tailwind
colors: {
  custom: {
    50: '#d5e07a',
    500: '#bdd338',
    950: '#000000',
  },
}
SCSS
$custom: #bdd338;
$custom-light: #d5e07a;
$custom-dark: #000000;
JSON
{
  "hex": "#bdd338",
  "rgb": {
    "r": 189,
    "g": 211,
    "b": 56
  },
  "hsl": {
    "h": 68.516,
    "s": 63.786,
    "l": 52.353
  },
  "oklch": {
    "l": 0.8234,
    "c": 0.17266,
    "h": 117.5
  },
  "luminance": 0.57693
}

Semantic roles & 50–950 ramp

primary
#BDD338
secondary
#3C307F
accent
#41E759
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #BDD338

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

Preview Lab → · Contrast checker → · Palette generator →

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