#D8C93C#D8C93C

#D8C93C is a very light, vivid yellow. Relative luminance 0.567; OKLCH L 82.4% C 0.154 H 103.1°. Best body text is #000000 at 12.34:1 contrast (WCAG AA passes).

Color values

HEX#D8C93C
RGBrgb(216, 201, 60)
HSLhsl(54, 67%, 54%)
HSVhsv(54, 72%, 85%)
CMYKcmyk(0%, 6.9%, 72.2%, 15.3%)
CIE-LABlab(80.01, -10.15, 68.12)
CIE-LCHlch(80.01, 68.87, 98.47°)
OKLaboklab(82.42% -0.035 0.1505)
OKLCHoklch(82.42% 0.154 103.1)
XYZxyz(50.0234, 56.7006, 12.5834)
Luminance0.5670 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8C93C #3C4BD8
analogous
#D87B3C #D8C93C #99D83C
triadic
#D8C93C #3CD8C9 #C93CD8
tetradic
#D8C93C #3CD87B #3C4BD8 #D83C99
square
#D8C93C #3CD87B #3C4BD8 #D83C99
split-complementary
#D8C93C #3C99D8 #7B3CD8
monochromatic
#80761A #B3A524 #D8C93C #E2D76F #ECE5A2

Accessibility & contrast

On white

1.70
#D8C93C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.34
#D8C93C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8C93C
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8C93C#FFFFFF#000000##000000
##D8C93C1.001.7012.3412.34
#FFFFFF1.701.0021.0021.00
#00000012.3421.001.001.00
##00000012.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC223
Deuteranopia (green-blind)
#E0C946
Tritanopia (blue-blind)
#E8BBAE
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d8c93c;
/* rgb */ color: rgb(216, 201, 60);
/* oklch */ color: oklch(82.4% 0.154 103.1);
Tailwind
colors: {
  custom: {
    50: '#e8d97b',
    500: '#d8c93c',
    950: '#000000',
  },
}
SCSS
$custom: #d8c93c;
$custom-light: #e8d97b;
$custom-dark: #000000;
JSON
{
  "hex": "#d8c93c",
  "rgb": {
    "r": 216,
    "g": 201,
    "b": 60
  },
  "hsl": {
    "h": 54.231,
    "s": 66.667,
    "l": 54.118
  },
  "oklch": {
    "l": 0.82421,
    "c": 0.15449,
    "h": 103.1
  },
  "luminance": 0.56698
}

Semantic roles & 50–950 ramp

primary
#D8C93C
secondary
#313987
accent
#4FEA3E
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140A
muted
#85837D

Preview Lab

Preview with #D8C93C

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

Preview Lab → · Contrast checker → · Palette generator →

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