#D4C93B#D4C93B

#D4C93B 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#D4C93B
RGBrgb(212, 201, 59)
HSLhsl(56, 64%, 53%)
HSVhsv(56, 72%, 83%)
CMYKcmyk(0%, 5.2%, 72.2%, 16.9%)
CIE-LABlab(79.66, -11.89, 68.02)
CIE-LCHlch(79.66, 69.05, 99.92°)
OKLaboklab(82.06% -0.0398 0.1502)
OKLCHoklch(82.06% 0.155 104.8)
XYZxyz(48.8295, 56.0880, 12.3908)
Luminance0.5609 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4C93B #3B46D4
analogous
#D47C3B #D4C93B #93D43B
triadic
#D4C93B #3BD4C9 #C93BD4
tetradic
#D4C93B #3BD47C #3B46D4 #D43B93
square
#D4C93B #3BD47C #3B46D4 #D43B93
split-complementary
#D4C93B #3B93D4 #7C3BD4
monochromatic
#7A731B #ACA226 #D4C93B #DFD76D #EAE59F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D4C93B#FFFFFF#000000##000000
##D4C93B1.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)
#DBC221
Deuteranopia (green-blind)
#DFC845
Tritanopia (blue-blind)
#E4BBAD
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d4c93b;
/* rgb */ color: rgb(212, 201, 59);
/* oklch */ color: oklch(82.1% 0.155 104.8);
Tailwind
colors: {
  custom: {
    50: '#e5d97b',
    500: '#d4c93b',
    950: '#000000',
  },
}
SCSS
$custom: #d4c93b;
$custom-light: #e5d97b;
$custom-dark: #000000;
JSON
{
  "hex": "#d4c93b",
  "rgb": {
    "r": 212,
    "g": 201,
    "b": 59
  },
  "hsl": {
    "h": 55.686,
    "s": 64.017,
    "l": 53.137
  },
  "oklch": {
    "l": 0.82061,
    "c": 0.15542,
    "h": 104.8
  },
  "luminance": 0.56086
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D4C93B

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

Preview Lab → · Contrast checker → · Palette generator →

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