#D4C366#D4C366

#D4C366 is a light, moderate yellow. Relative luminance 0.540; OKLCH L 81.2% C 0.116 H 99.2°. Best body text is #000000 at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#D4C366
RGBrgb(212, 195, 102)
HSLhsl(51, 56%, 62%)
HSVhsv(51, 52%, 83%)
CMYKcmyk(0%, 8%, 51.9%, 16.9%)
CIE-LABlab(78.45, -6.03, 48.40)
CIE-LCHlch(78.45, 48.78, 97.11°)
OKLaboklab(81.22% -0.0184 0.1144)
OKLCHoklch(81.22% 0.116 99.2)
XYZxyz(49.0663, 53.9884, 20.4040)
Luminance0.5399 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4C366 #6677D4
analogous
#D48C66 #D4C366 #AED466
triadic
#D4C366 #66D4C3 #C366D4
tetradic
#D4C366 #66D48C #6677D4 #D466AE
square
#D4C366 #66D48C #6677D4 #D466AE
split-complementary
#D4C366 #66AED4 #8C66D4
monochromatic
#96852A #C5AF37 #D4C366 #E1D696 #EFE8C6

Accessibility & contrast

On white

1.78
#D4C366 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.80
#D4C366 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4C366
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4C366#FFFFFF#000000##000000
##D4C3661.001.7811.8011.80
#FFFFFF1.781.0021.0021.00
#00000011.8021.001.001.00
##00000011.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BE5E
Deuteranopia (green-blind)
#D7C56A
Tritanopia (blue-blind)
#E2B7AE
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #d4c366;
/* rgb */ color: rgb(212, 195, 102);
/* oklch */ color: oklch(81.2% 0.116 99.2);
Tailwind
colors: {
  custom: {
    50: '#e3d494',
    500: '#d4c366',
    950: '#000000',
  },
}
SCSS
$custom: #d4c366;
$custom-light: #e3d494;
$custom-dark: #000000;
JSON
{
  "hex": "#d4c366",
  "rgb": {
    "r": 212,
    "g": 195,
    "b": 102
  },
  "hsl": {
    "h": 50.727,
    "s": 56.122,
    "l": 61.569
  },
  "oklch": {
    "l": 0.8122,
    "c": 0.11586,
    "h": 99.2
  },
  "luminance": 0.53987
}

Semantic roles & 50–950 ramp

primary
#D4C366
secondary
#43519B
accent
#3BC422
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D4C366

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

Preview Lab → · Contrast checker → · Palette generator →

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