#D4C35C#D4C35C

#D4C35C is a light, vivid yellow. Relative luminance 0.538; OKLCH L 81.1% C 0.125 H 100.1°. Best body text is #000000 at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#D4C35C
RGBrgb(212, 195, 92)
HSLhsl(52, 58%, 60%)
HSVhsv(52, 57%, 83%)
CMYKcmyk(0%, 8%, 56.6%, 16.9%)
CIE-LABlab(78.35, -6.84, 53.01)
CIE-LCHlch(78.35, 53.45, 97.35°)
OKLaboklab(81.1% -0.0219 0.1233)
OKLCHoklch(81.1% 0.125 100.1)
XYZxyz(48.6000, 53.8019, 17.9479)
Luminance0.5380 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4C35C #5C6DD4
analogous
#D4875C #D4C35C #A9D45C
triadic
#D4C35C #5CD4C3 #C35CD4
tetradic
#D4C35C #5CD487 #5C6DD4 #D45CA9
square
#D4C35C #5CD487 #5C6DD4 #D45CA9
split-complementary
#D4C35C #5CA9D4 #875CD4
monochromatic
#908126 #C0AC33 #D4C35C #E1D58C #EEE7BD

Accessibility & contrast

On white

1.79
#D4C35C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.76
#D4C35C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4C35C
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4C35C#FFFFFF#000000##000000
##D4C35C1.001.7911.7611.76
#FFFFFF1.791.0021.0021.00
#00000011.7621.001.001.00
##00000011.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BE52
Deuteranopia (green-blind)
#D8C561
Tritanopia (blue-blind)
#E3B7AC
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #d4c35c;
/* rgb */ color: rgb(212, 195, 92);
/* oklch */ color: oklch(81.1% 0.125 100.1);
Tailwind
colors: {
  custom: {
    50: '#e4d48d',
    500: '#d4c35c',
    950: '#000000',
  },
}
SCSS
$custom: #d4c35c;
$custom-light: #e4d48d;
$custom-dark: #000000;
JSON
{
  "hex": "#d4c35c",
  "rgb": {
    "r": 212,
    "g": 195,
    "b": 92
  },
  "hsl": {
    "h": 51.5,
    "s": 58.252,
    "l": 59.608
  },
  "oklch": {
    "l": 0.81099,
    "c": 0.12525,
    "h": 100.1
  },
  "luminance": 0.538
}

Semantic roles & 50–950 ramp

primary
#D4C35C
secondary
#3F4B95
accent
#5CE146
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D4C35C

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

Preview Lab → · Contrast checker → · Palette generator →

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