#D4CB46#D4CB46

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

Color values

HEX#D4CB46
RGBrgb(212, 203, 70)
HSLhsl(56, 62%, 55%)
HSVhsv(56, 67%, 83%)
CMYKcmyk(0%, 4.2%, 67%, 16.9%)
CIE-LABlab(80.27, -12.35, 64.52)
CIE-LCHlch(80.27, 65.70, 100.84°)
OKLaboklab(82.56% -0.04 0.1447)
OKLCHoklch(82.56% 0.15 105.5)
XYZxyz(49.6147, 57.1529, 14.2113)
Luminance0.5715 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4CB46 #464FD4
analogous
#D48446 #D4CB46 #96D446
triadic
#D4CB46 #46D4CB #CB46D4
tetradic
#D4CB46 #46D484 #464FD4 #D44696
square
#D4CB46 #46D484 #464FD4 #D44696
split-complementary
#D4CB46 #4696D4 #8446D4
monochromatic
#817B1E #B3AA2A #D4CB46 #E0D978 #EBE7A9

Accessibility & contrast

On white

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

On black

12.43
#D4CB46 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4CB46
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4CB46#FFFFFF#000000##000000
##D4CB461.001.6912.4312.43
#FFFFFF1.691.0021.0021.00
#00000012.4321.001.001.00
##00000012.4321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d4cb46;
/* rgb */ color: rgb(212, 203, 70);
/* oklch */ color: oklch(82.6% 0.150 105.5);
Tailwind
colors: {
  custom: {
    50: '#e5da81',
    500: '#d4cb46',
    950: '#000000',
  },
}
SCSS
$custom: #d4cb46;
$custom-light: #e5da81;
$custom-dark: #000000;
JSON
{
  "hex": "#d4cb46",
  "rgb": {
    "r": 212,
    "g": 203,
    "b": 70
  },
  "hsl": {
    "h": 56.197,
    "s": 62.281,
    "l": 55.294
  },
  "oklch": {
    "l": 0.82563,
    "c": 0.15017,
    "h": 105.5
  },
  "luminance": 0.57151
}

Semantic roles & 50–950 ramp

primary
#D4CB46
secondary
#363B89
accent
#4DE542
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D4CB46

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

Preview Lab → · Contrast checker → · Palette generator →

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