#D4CB54#D4CB54

#D4CB54 is a very light, vivid yellow. Relative luminance 0.573; OKLCH L 82.7% C 0.140 H 105.0°. Best body text is #000000 at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#D4CB54
RGBrgb(212, 203, 84)
HSLhsl(56, 60%, 58%)
HSVhsv(56, 60%, 83%)
CMYKcmyk(0%, 4.2%, 60.4%, 16.9%)
CIE-LABlab(80.38, -11.49, 58.86)
CIE-LCHlch(80.38, 59.97, 101.05°)
OKLaboklab(82.69% -0.0361 0.1349)
OKLCHoklch(82.69% 0.14 105)
XYZxyz(50.1093, 57.3507, 16.8160)
Luminance0.5735 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4CB54 #545DD4
analogous
#D48B54 #D4CB54 #9DD454
triadic
#D4CB54 #54D4CB #CB54D4
tetradic
#D4CB54 #54D48B #545DD4 #D4549D
square
#D4CB54 #54D48B #545DD4 #D4549D
split-complementary
#D4CB54 #549DD4 #8B54D4
monochromatic
#8B8323 #BCB22F #D4CB54 #E0DA85 #EDE9B6

Accessibility & contrast

On white

1.68
#D4CB54 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.47
#D4CB54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4CB54
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4CB54#FFFFFF#000000##000000
##D4CB541.001.6812.4712.47
#FFFFFF1.681.0021.0021.00
#00000012.4721.001.001.00
##00000012.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC446
Deuteranopia (green-blind)
#DFCA5B
Tritanopia (blue-blind)
#E3BEB2
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d4cb54;
/* rgb */ color: rgb(212, 203, 84);
/* oklch */ color: oklch(82.7% 0.140 105.0);
Tailwind
colors: {
  custom: {
    50: '#e4da89',
    500: '#d4cb54',
    950: '#000000',
  },
}
SCSS
$custom: #d4cb54;
$custom-light: #e4da89;
$custom-dark: #000000;
JSON
{
  "hex": "#d4cb54",
  "rgb": {
    "r": 212,
    "g": 203,
    "b": 84
  },
  "hsl": {
    "h": 55.781,
    "s": 59.813,
    "l": 58.039
  },
  "oklch": {
    "l": 0.82687,
    "c": 0.13959,
    "h": 105
  },
  "luminance": 0.57349
}

Semantic roles & 50–950 ramp

primary
#D4CB54
secondary
#3B4191
accent
#50E345
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D4CB54

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

Preview Lab → · Contrast checker → · Palette generator →

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