#D8C33C#D8C33C

#D8C33C is a light, vivid yellow. Relative luminance 0.540; OKLCH L 81.2% C 0.150 H 100.2°. Best body text is #000000 at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#D8C33C
RGBrgb(216, 195, 60)
HSLhsl(52, 67%, 54%)
HSVhsv(52, 72%, 85%)
CMYKcmyk(0%, 9.7%, 72.2%, 15.3%)
CIE-LABlab(78.44, -7.09, 66.60)
CIE-LCHlch(78.44, 66.97, 96.08°)
OKLaboklab(81.17% -0.0264 0.1473)
OKLCHoklch(81.17% 0.15 100.2)
XYZxyz(48.6519, 53.9577, 12.1263)
Luminance0.5395 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8C33C #3C51D8
analogous
#D8753C #D8C33C #9FD83C
triadic
#D8C33C #3CD8C3 #C33CD8
tetradic
#D8C33C #3CD875 #3C51D8 #D83C9F
square
#D8C33C #3CD875 #3C51D8 #D83C9F
split-complementary
#D8C33C #3C9FD8 #753CD8
monochromatic
#80721A #B3A024 #D8C33C #E2D36F #ECE2A2

Accessibility & contrast

On white

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

On black

11.79
#D8C33C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8C33C
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8C33C#FFFFFF#000000##000000
##D8C33C1.001.7811.7911.79
#FFFFFF1.781.0021.0021.00
#00000011.7921.001.001.00
##00000011.7921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d8c33c;
/* rgb */ color: rgb(216, 195, 60);
/* oklch */ color: oklch(81.2% 0.150 100.2);
Tailwind
colors: {
  custom: {
    50: '#e8d47b',
    500: '#d8c33c',
    950: '#000000',
  },
}
SCSS
$custom: #d8c33c;
$custom-light: #e8d47b;
$custom-dark: #000000;
JSON
{
  "hex": "#d8c33c",
  "rgb": {
    "r": 216,
    "g": 195,
    "b": 60
  },
  "hsl": {
    "h": 51.923,
    "s": 66.667,
    "l": 54.118
  },
  "oklch": {
    "l": 0.81171,
    "c": 0.1496,
    "h": 100.2
  },
  "luminance": 0.53955
}

Semantic roles & 50–950 ramp

primary
#D8C33C
secondary
#313D87
accent
#55EA3E
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140A
muted
#85837D

Preview Lab

Preview with #D8C33C

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

Preview Lab → · Contrast checker → · Palette generator →

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