#D4CB48#D4CB48

#D4CB48 is a very light, vivid yellow. Relative luminance 0.572; OKLCH L 82.6% C 0.149 H 105.4°. Best body text is #000000 at 12.44:1 contrast (WCAG AA passes).

Color values

HEX#D4CB48
RGBrgb(212, 203, 72)
HSLhsl(56, 62%, 56%)
HSVhsv(56, 66%, 83%)
CMYKcmyk(0%, 4.2%, 66%, 16.9%)
CIE-LABlab(80.28, -12.24, 63.75)
CIE-LCHlch(80.28, 64.92, 100.87°)
OKLaboklab(82.58% -0.0395 0.1434)
OKLCHoklch(82.58% 0.149 105.4)
XYZxyz(49.6789, 57.1786, 14.5493)
Luminance0.5718 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4CB48 #4851D4
analogous
#D48548 #D4CB48 #97D448
triadic
#D4CB48 #48D4CB #CB48D4
tetradic
#D4CB48 #48D485 #4851D4 #D44897
square
#D4CB48 #48D485 #4851D4 #D44897
split-complementary
#D4CB48 #4897D4 #8548D4
monochromatic
#837C1F #B4AC2A #D4CB48 #E0D97A #EBE7AB

Accessibility & contrast

On white

1.69
#D4CB48 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.44
#D4CB48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4CB48
12.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4CB48#FFFFFF#000000##000000
##D4CB481.001.6912.4412.44
#FFFFFF1.691.0021.0021.00
#00000012.4421.001.001.00
##00000012.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC436
Deuteranopia (green-blind)
#DFCA50
Tritanopia (blue-blind)
#E3BEB0
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d4cb48;
/* rgb */ color: rgb(212, 203, 72);
/* oklch */ color: oklch(82.6% 0.149 105.4);
Tailwind
colors: {
  custom: {
    50: '#e5da82',
    500: '#d4cb48',
    950: '#000000',
  },
}
SCSS
$custom: #d4cb48;
$custom-light: #e5da82;
$custom-dark: #000000;
JSON
{
  "hex": "#d4cb48",
  "rgb": {
    "r": 212,
    "g": 203,
    "b": 72
  },
  "hsl": {
    "h": 56.143,
    "s": 61.947,
    "l": 55.686
  },
  "oklch": {
    "l": 0.82579,
    "c": 0.14876,
    "h": 105.4
  },
  "luminance": 0.57177
}

Semantic roles & 50–950 ramp

primary
#D4CB48
secondary
#363C8A
accent
#4DE543
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D4CB48

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

Preview Lab → · Contrast checker → · Palette generator →

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