#D9C93D#D9C93D

#D9C93D is a very light, vivid yellow. Relative luminance 0.569; OKLCH L 82.5% C 0.154 H 102.6°. Best body text is #000000 at 12.37:1 contrast (WCAG AA passes).

Color values

HEX#D9C93D
RGBrgb(217, 201, 61)
HSLhsl(54, 67%, 55%)
HSVhsv(54, 72%, 85%)
CMYKcmyk(0%, 7.4%, 71.9%, 14.9%)
CIE-LABlab(80.10, -9.68, 67.88)
CIE-LCHlch(80.10, 68.57, 98.12°)
OKLaboklab(82.52% -0.0337 0.1501)
OKLCHoklch(82.52% 0.154 102.6)
XYZxyz(50.3464, 56.8641, 12.7379)
Luminance0.5686 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9C93D #3D4DD9
analogous
#D97B3D #D9C93D #9BD93D
triadic
#D9C93D #3DD9C9 #C93DD9
tetradic
#D9C93D #3DD97B #3D4DD9 #D93D9B
square
#D9C93D #3DD97B #3D4DD9 #D93D9B
split-complementary
#D9C93D #3D9BD9 #7B3DD9
monochromatic
#827719 #B5A624 #D9C93D #E3D770 #EDE5A3

Accessibility & contrast

On white

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

On black

12.37
#D9C93D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9C93D
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9C93D#FFFFFF#000000##000000
##D9C93D1.001.7012.3712.37
#FFFFFF1.701.0021.0021.00
#00000012.3721.001.001.00
##00000012.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC325
Deuteranopia (green-blind)
#E0CA46
Tritanopia (blue-blind)
#E9BBAE
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d9c93d;
/* rgb */ color: rgb(217, 201, 61);
/* oklch */ color: oklch(82.5% 0.154 102.6);
Tailwind
colors: {
  custom: {
    50: '#e9d97c',
    500: '#d9c93d',
    950: '#000000',
  },
}
SCSS
$custom: #d9c93d;
$custom-light: #e9d97c;
$custom-dark: #000000;
JSON
{
  "hex": "#d9c93d",
  "rgb": {
    "r": 217,
    "g": 201,
    "b": 61
  },
  "hsl": {
    "h": 53.846,
    "s": 67.241,
    "l": 54.51
  },
  "oklch": {
    "l": 0.82517,
    "c": 0.15384,
    "h": 102.6
  },
  "luminance": 0.56862
}

Semantic roles & 50–950 ramp

primary
#D9C93D
secondary
#313A89
accent
#4FEA3E
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140A
muted
#85837D

Preview Lab

Preview with #D9C93D

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

Preview Lab → · Contrast checker → · Palette generator →

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