#D4C93C#D4C93C

#D4C93C is a very light, vivid yellow. Relative luminance 0.561; OKLCH L 82.1% C 0.155 H 104.8°. Best body text is #000000 at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#D4C93C
RGBrgb(212, 201, 60)
HSLhsl(56, 64%, 53%)
HSVhsv(56, 72%, 83%)
CMYKcmyk(0%, 5.2%, 71.7%, 16.9%)
CIE-LABlab(79.67, -11.85, 67.67)
CIE-LCHlch(79.67, 68.70, 99.93°)
OKLaboklab(82.07% -0.0396 0.1497)
OKLCHoklch(82.07% 0.155 104.8)
XYZxyz(48.8557, 56.0985, 12.5287)
Luminance0.5610 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4C93C #3C47D4
analogous
#D47D3C #D4C93C #93D43C
triadic
#D4C93C #3CD4C9 #C93CD4
tetradic
#D4C93C #3CD47D #3C47D4 #D43C93
square
#D4C93C #3CD47D #3C47D4 #D43C93
split-complementary
#D4C93C #3C93D4 #7D3CD4
monochromatic
#7B741B #ADA326 #D4C93C #DFD76E #EAE5A0

Accessibility & contrast

On white

1.72
#D4C93C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.22
#D4C93C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4C93C
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4C93C#FFFFFF#000000##000000
##D4C93C1.001.7212.2212.22
#FFFFFF1.721.0021.0021.00
#00000012.2221.001.001.00
##00000012.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC223
Deuteranopia (green-blind)
#DFC846
Tritanopia (blue-blind)
#E4BBAE
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d4c93c;
/* rgb */ color: rgb(212, 201, 60);
/* oklch */ color: oklch(82.1% 0.155 104.8);
Tailwind
colors: {
  custom: {
    50: '#e5d97b',
    500: '#d4c93c',
    950: '#000000',
  },
}
SCSS
$custom: #d4c93c;
$custom-light: #e5d97b;
$custom-dark: #000000;
JSON
{
  "hex": "#d4c93c",
  "rgb": {
    "r": 212,
    "g": 201,
    "b": 60
  },
  "hsl": {
    "h": 55.658,
    "s": 63.866,
    "l": 53.333
  },
  "oklch": {
    "l": 0.82068,
    "c": 0.15482,
    "h": 104.8
  },
  "luminance": 0.56097
}

Semantic roles & 50–950 ramp

primary
#D4C93C
secondary
#323882
accent
#4DE741
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D4C93C

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

Preview Lab → · Contrast checker → · Palette generator →

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