#D4BB33#D4BB33

#D4BB33 is a light, vivid yellow. Relative luminance 0.498; OKLCH L 79.1% C 0.149 H 98.2°. Best body text is #000000 at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#D4BB33
RGBrgb(212, 187, 51)
HSLhsl(51, 65%, 52%)
HSVhsv(51, 76%, 83%)
CMYKcmyk(0%, 11.8%, 75.9%, 16.9%)
CIE-LABlab(75.93, -5.07, 67.25)
CIE-LCHlch(75.93, 67.44, 94.31°)
OKLaboklab(79.08% -0.0213 0.1471)
OKLCHoklch(79.08% 0.149 98.2)
XYZxyz(45.5216, 49.7791, 10.3419)
Luminance0.4978 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4BB33 #334CD4
analogous
#D46B33 #D4BB33 #9DD433
triadic
#D4BB33 #33D4BB #BB33D4
tetradic
#D4BB33 #33D46B #334CD4 #D4339D
square
#D4BB33 #33D46B #334CD4 #D4339D
split-complementary
#D4BB33 #339DD4 #6B33D4
monochromatic
#746618 #A79223 #D4BB33 #DFCC66 #E9DD98

Accessibility & contrast

On white

1.92
#D4BB33 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.96
#D4BB33 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4BB33
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4BB33#FFFFFF#000000##000000
##D4BB331.001.9210.9610.96
#FFFFFF1.921.0021.0021.00
#00000010.9621.001.001.00
##00000010.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB617
Deuteranopia (green-blind)
#D5BF3C
Tritanopia (blue-blind)
#E5ADA1
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #d4bb33;
/* rgb */ color: rgb(212, 187, 51);
/* oklch */ color: oklch(79.1% 0.149 98.2);
Tailwind
colors: {
  custom: {
    50: '#e5cf75',
    500: '#d4bb33',
    950: '#000000',
  },
}
SCSS
$custom: #d4bb33;
$custom-light: #e5cf75;
$custom-dark: #000000;
JSON
{
  "hex": "#d4bb33",
  "rgb": {
    "r": 212,
    "g": 187,
    "b": 51
  },
  "hsl": {
    "h": 50.683,
    "s": 65.182,
    "l": 51.569
  },
  "oklch": {
    "l": 0.79084,
    "c": 0.14865,
    "h": 98.2
  },
  "luminance": 0.49777
}

Semantic roles & 50–950 ramp

primary
#D4BB33
secondary
#8E99D5
accent
#5AE840
background
#FEFCF7
surface
#FDF9ED
border
#D5D2C8
text
#161309
muted
#84827B

Preview Lab

Preview with #D4BB33

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

Preview Lab → · Contrast checker → · Palette generator →

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