#D5BB42#D5BB42

#D5BB42 is a light, vivid yellow. Relative luminance 0.501; OKLCH L 79.3% C 0.140 H 96.8°. Best body text is #000000 at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#D5BB42
RGBrgb(213, 187, 66)
HSLhsl(49, 64%, 55%)
HSVhsv(49, 69%, 84%)
CMYKcmyk(0%, 12.2%, 69%, 16.5%)
CIE-LABlab(76.12, -3.95, 61.92)
CIE-LCHlch(76.12, 62.04, 93.65°)
OKLaboklab(79.28% -0.0166 0.1385)
OKLCHoklch(79.28% 0.14 96.8)
XYZxyz(46.1965, 50.0825, 12.3868)
Luminance0.5008 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5BB42 #425CD5
analogous
#D57242 #D5BB42 #A5D542
triadic
#D5BB42 #42D5BB #BB42D5
tetradic
#D5BB42 #42D572 #425CD5 #D542A5
square
#D5BB42 #42D572 #425CD5 #D542A5
split-complementary
#D5BB42 #42A5D5 #7242D5
monochromatic
#806F1C #B29A28 #D5BB42 #E0CD74 #EBDFA6

Accessibility & contrast

On white

1.91
#D5BB42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.02
#D5BB42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5BB42
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5BB42#FFFFFF#000000##000000
##D5BB421.001.9111.0211.02
#FFFFFF1.911.0021.0021.00
#00000011.0221.001.001.00
##00000011.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB731
Deuteranopia (green-blind)
#D4BF49
Tritanopia (blue-blind)
#E6ADA2
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #d5bb42;
/* rgb */ color: rgb(213, 187, 66);
/* oklch */ color: oklch(79.3% 0.140 96.8);
Tailwind
colors: {
  custom: {
    50: '#e6cf7d',
    500: '#d5bb42',
    950: '#000000',
  },
}
SCSS
$custom: #d5bb42;
$custom-light: #e6cf7d;
$custom-dark: #000000;
JSON
{
  "hex": "#d5bb42",
  "rgb": {
    "r": 213,
    "g": 187,
    "b": 66
  },
  "hsl": {
    "h": 49.388,
    "s": 63.636,
    "l": 54.706
  },
  "oklch": {
    "l": 0.79283,
    "c": 0.13952,
    "h": 96.8
  },
  "luminance": 0.5008
}

Semantic roles & 50–950 ramp

primary
#D5BB42
secondary
#344387
accent
#5EE741
background
#FFFEFB
surface
#FEFAF2
border
#D6D3CC
text
#16130A
muted
#85837D

Preview Lab

Preview with #D5BB42

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

Preview Lab → · Contrast checker → · Palette generator →

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