#D4C175#D4C175

#D4C175 is a light, moderate yellow. Relative luminance 0.534; OKLCH L 81.0% C 0.099 H 95.8°. Best body text is #000000 at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#D4C175
RGBrgb(212, 193, 117)
HSLhsl(48, 52%, 65%)
HSVhsv(48, 45%, 83%)
CMYKcmyk(0%, 9%, 44.8%, 16.9%)
CIE-LABlab(78.12, -3.61, 40.58)
CIE-LCHlch(78.12, 40.74, 95.08°)
OKLaboklab(81.02% -0.0099 0.0982)
OKLCHoklch(81.02% 0.099 95.8)
XYZxyz(49.4336, 53.4231, 24.5339)
Luminance0.5342 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4C175 #7588D4
analogous
#D49275 #D4C175 #B8D475
triadic
#D4C175 #75D4C1 #C175D4
tetradic
#D4C175 #75D492 #7588D4 #D475B8
square
#D4C175 #75D492 #7588D4 #D475B8
split-complementary
#D4C175 #75B8D4 #9275D4
monochromatic
#9E8831 #C5AC46 #D4C175 #E3D6A4 #F1EBD2

Accessibility & contrast

On white

1.80
#D4C175 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.68
#D4C175 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4C175
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4C175#FFFFFF#000000##000000
##D4C1751.001.8011.6811.68
#FFFFFF1.801.0021.0021.00
#00000011.6821.001.001.00
##00000011.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBE6F
Deuteranopia (green-blind)
#D4C478
Tritanopia (blue-blind)
#E1B7AE
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #d4c175;
/* rgb */ color: rgb(212, 193, 117);
/* oklch */ color: oklch(81.0% 0.099 95.8);
Tailwind
colors: {
  custom: {
    50: '#e3d39e',
    500: '#d4c175',
    950: '#000000',
  },
}
SCSS
$custom: #d4c175;
$custom-light: #e3d39e;
$custom-dark: #000000;
JSON
{
  "hex": "#d4c175",
  "rgb": {
    "r": 212,
    "g": 193,
    "b": 117
  },
  "hsl": {
    "h": 48,
    "s": 52.486,
    "l": 64.51
  },
  "oklch": {
    "l": 0.8102,
    "c": 0.09867,
    "h": 95.8
  },
  "luminance": 0.53421
}

Semantic roles & 50–950 ramp

primary
#D4C175
secondary
#4B5CA2
accent
#44C026
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#16140E
muted
#84837F

Preview Lab

Preview with #D4C175

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

Preview Lab → · Contrast checker → · Palette generator →

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