#D2BB54#D2BB54

#D2BB54 is a light, vivid yellow. Relative luminance 0.499; OKLCH L 79.2% C 0.125 H 96.8°. Best body text is #000000 at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#D2BB54
RGBrgb(210, 187, 84)
HSLhsl(49, 58%, 58%)
HSVhsv(49, 60%, 82%)
CMYKcmyk(0%, 11%, 60%, 17.6%)
CIE-LABlab(76.00, -4.12, 53.98)
CIE-LCHlch(76.00, 54.14, 94.37°)
OKLaboklab(79.17% -0.0149 0.1245)
OKLCHoklch(79.17% 0.125 96.8)
XYZxyz(45.9508, 49.8845, 15.5941)
Luminance0.4988 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2BB54 #546BD2
analogous
#D27C54 #D2BB54 #AAD254
triadic
#D2BB54 #54D2BB #BB54D2
tetradic
#D2BB54 #54D27C #546BD2 #D254AA
square
#D2BB54 #54D27C #546BD2 #D254AA
split-complementary
#D2BB54 #54AAD2 #7C54D2
monochromatic
#887624 #B8A031 #D2BB54 #DFCE84 #EBE2B5

Accessibility & contrast

On white

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

On black

10.98
#D2BB54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2BB54
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2BB54#FFFFFF#000000##000000
##D2BB541.001.9110.9810.98
#FFFFFF1.911.0021.0021.00
#00000010.9821.001.001.00
##00000010.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB749
Deuteranopia (green-blind)
#D2BF59
Tritanopia (blue-blind)
#E1AEA4
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #d2bb54;
/* rgb */ color: rgb(210, 187, 84);
/* oklch */ color: oklch(79.2% 0.125 96.8);
Tailwind
colors: {
  custom: {
    50: '#e3cf88',
    500: '#d2bb54',
    950: '#000000',
  },
}
SCSS
$custom: #d2bb54;
$custom-light: #e3cf88;
$custom-dark: #000000;
JSON
{
  "hex": "#d2bb54",
  "rgb": {
    "r": 210,
    "g": 187,
    "b": 84
  },
  "hsl": {
    "h": 49.048,
    "s": 58.333,
    "l": 57.647
  },
  "oklch": {
    "l": 0.79171,
    "c": 0.12537,
    "h": 96.8
  },
  "luminance": 0.49882
}

Semantic roles & 50–950 ramp

primary
#D2BB54
secondary
#A8B1DA
accent
#63E246
background
#FEFCF8
surface
#FCF9F0
border
#D5D2CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #D2BB54

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

Preview Lab → · Contrast checker → · Palette generator →

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