#D4CA46#D4CA46

#D4CA46 is a very light, vivid yellow. Relative luminance 0.567; OKLCH L 82.4% C 0.149 H 105.0°. Best body text is #000000 at 12.34:1 contrast (WCAG AA passes).

Color values

HEX#D4CA46
RGBrgb(212, 202, 70)
HSLhsl(56, 62%, 55%)
HSVhsv(56, 67%, 83%)
CMYKcmyk(0%, 4.7%, 67%, 16.9%)
CIE-LABlab(80.00, -11.84, 64.25)
CIE-LCHlch(80.00, 65.34, 100.44°)
OKLaboklab(82.35% -0.0386 0.1442)
OKLCHoklch(82.35% 0.149 105)
XYZxyz(49.3793, 56.6821, 14.1328)
Luminance0.5668 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4CA46 #4650D4
analogous
#D48346 #D4CA46 #97D446
triadic
#D4CA46 #46D4CA #CA46D4
tetradic
#D4CA46 #46D483 #4650D4 #D44697
square
#D4CA46 #46D483 #4650D4 #D44697
split-complementary
#D4CA46 #4697D4 #8346D4
monochromatic
#817B1E #B3A92A #D4CA46 #E0D878 #EBE6A9

Accessibility & contrast

On white

1.70
#D4CA46 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.34
#D4CA46 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4CA46
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4CA46#FFFFFF#000000##000000
##D4CA461.001.7012.3412.34
#FFFFFF1.701.0021.0021.00
#00000012.3421.001.001.00
##00000012.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC333
Deuteranopia (green-blind)
#DFC94E
Tritanopia (blue-blind)
#E3BDAF
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d4ca46;
/* rgb */ color: rgb(212, 202, 70);
/* oklch */ color: oklch(82.4% 0.149 105.0);
Tailwind
colors: {
  custom: {
    50: '#e5d981',
    500: '#d4ca46',
    950: '#000000',
  },
}
SCSS
$custom: #d4ca46;
$custom-light: #e5d981;
$custom-dark: #000000;
JSON
{
  "hex": "#d4ca46",
  "rgb": {
    "r": 212,
    "g": 202,
    "b": 70
  },
  "hsl": {
    "h": 55.775,
    "s": 62.281,
    "l": 55.294
  },
  "oklch": {
    "l": 0.82352,
    "c": 0.14924,
    "h": 105
  },
  "luminance": 0.5668
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D4CA46

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

Preview Lab → · Contrast checker → · Palette generator →

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