#D4C75B#D4C75B

#D4C75B is a light, vivid yellow. Relative luminance 0.556; OKLCH L 81.9% C 0.130 H 102.5°. Best body text is #000000 at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#D4C75B
RGBrgb(212, 199, 91)
HSLhsl(54, 58%, 59%)
HSVhsv(54, 57%, 83%)
CMYKcmyk(0%, 6.1%, 57.1%, 16.9%)
CIE-LABlab(79.39, -8.97, 54.65)
CIE-LCHlch(79.39, 55.38, 99.32°)
OKLaboklab(81.92% -0.0281 0.1267)
OKLCHoklch(81.92% 0.13 102.5)
XYZxyz(49.4648, 55.6010, 18.0220)
Luminance0.5560 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4C75B #5B68D4
analogous
#D48B5B #D4C75B #A4D45B
triadic
#D4C75B #5BD4C7 #C75BD4
tetradic
#D4C75B #5BD48B #5B68D4 #D45BA4
square
#D4C75B #5BD48B #5B68D4 #D45BA4
split-complementary
#D4C75B #5BA4D4 #8B5BD4
monochromatic
#8F8426 #C0B032 #D4C75B #E1D88B #EDE8BC

Accessibility & contrast

On white

1.73
#D4C75B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.12
#D4C75B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4C75B
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4C75B#FFFFFF#000000##000000
##D4C75B1.001.7312.1212.12
#FFFFFF1.731.0021.0021.00
#00000012.1221.001.001.00
##00000012.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C150
Deuteranopia (green-blind)
#DBC760
Tritanopia (blue-blind)
#E2BBAF
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d4c75b;
/* rgb */ color: rgb(212, 199, 91);
/* oklch */ color: oklch(81.9% 0.130 102.5);
Tailwind
colors: {
  custom: {
    50: '#e4d78d',
    500: '#d4c75b',
    950: '#000000',
  },
}
SCSS
$custom: #d4c75b;
$custom-light: #e4d78d;
$custom-dark: #000000;
JSON
{
  "hex": "#d4c75b",
  "rgb": {
    "r": 212,
    "g": 199,
    "b": 91
  },
  "hsl": {
    "h": 53.554,
    "s": 58.454,
    "l": 59.412
  },
  "oklch": {
    "l": 0.81921,
    "c": 0.12981,
    "h": 102.5
  },
  "luminance": 0.55599
}

Semantic roles & 50–950 ramp

primary
#D4C75B
secondary
#3E4895
accent
#57E246
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D4C75B

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

Preview Lab → · Contrast checker → · Palette generator →

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