#D9C33C#D9C33C

#D9C33C is a light, vivid yellow. Relative luminance 0.541; OKLCH L 81.3% C 0.150 H 99.7°. Best body text is #000000 at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#D9C33C
RGBrgb(217, 195, 60)
HSLhsl(52, 67%, 54%)
HSVhsv(52, 72%, 85%)
CMYKcmyk(0%, 10.1%, 72.4%, 14.9%)
CIE-LABlab(78.53, -6.66, 66.71)
CIE-LCHlch(78.53, 67.05, 95.70°)
OKLaboklab(81.26% -0.0252 0.1475)
OKLCHoklch(81.26% 0.15 99.7)
XYZxyz(48.9483, 54.1105, 12.1402)
Luminance0.5411 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9C33C #3C52D9
analogous
#D9743C #D9C33C #A1D93C
triadic
#D9C33C #3CD9C3 #C33CD9
tetradic
#D9C33C #3CD974 #3C52D9 #D93CA1
square
#D9C33C #3CD974 #3C52D9 #D93CA1
split-complementary
#D9C33C #3CA1D9 #743CD9
monochromatic
#817319 #B5A023 #D9C33C #E3D36F #EDE3A2

Accessibility & contrast

On white

1.78
#D9C33C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.82
#D9C33C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9C33C
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9C33C#FFFFFF#000000##000000
##D9C33C1.001.7811.8211.82
#FFFFFF1.781.0021.0021.00
#00000011.8221.001.001.00
##00000011.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BE25
Deuteranopia (green-blind)
#DCC645
Tritanopia (blue-blind)
#EAB5A9
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #d9c33c;
/* rgb */ color: rgb(217, 195, 60);
/* oklch */ color: oklch(81.3% 0.150 99.7);
Tailwind
colors: {
  custom: {
    50: '#e9d47b',
    500: '#d9c33c',
    950: '#000000',
  },
}
SCSS
$custom: #d9c33c;
$custom-light: #e9d47b;
$custom-dark: #000000;
JSON
{
  "hex": "#d9c33c",
  "rgb": {
    "r": 217,
    "g": 195,
    "b": 60
  },
  "hsl": {
    "h": 51.592,
    "s": 67.382,
    "l": 54.314
  },
  "oklch": {
    "l": 0.81263,
    "c": 0.14961,
    "h": 99.7
  },
  "luminance": 0.54108
}

Semantic roles & 50–950 ramp

primary
#D9C33C
secondary
#313D88
accent
#56EA3E
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140A
muted
#85837D

Preview Lab

Preview with #D9C33C

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

Preview Lab → · Contrast checker → · Palette generator →

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