#D1C352#D1C352

#D1C352 is a light, vivid yellow. Relative luminance 0.532; OKLCH L 80.7% C 0.134 H 102.3°. Best body text is #000000 at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#D1C352
RGBrgb(209, 195, 82)
HSLhsl(53, 58%, 57%)
HSVhsv(53, 61%, 82%)
CMYKcmyk(0%, 6.7%, 60.8%, 18%)
CIE-LABlab(77.99, -8.81, 57.05)
CIE-LCHlch(77.99, 57.73, 98.78°)
OKLaboklab(80.72% -0.0285 0.1308)
OKLCHoklch(80.72% 0.134 102.3)
XYZxyz(47.3344, 53.1965, 15.7556)
Luminance0.5320 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1C352 #5260D1
analogous
#D18452 #D1C352 #A0D152
triadic
#D1C352 #52D1C3 #C352D1
tetradic
#D1C352 #52D184 #5260D1 #D152A0
square
#D1C352 #52D184 #5260D1 #D152A0
split-complementary
#D1C352 #52A0D1 #8452D1
monochromatic
#857A23 #B6A730 #D1C352 #DED482 #EBE5B3

Accessibility & contrast

On white

1.80
#D1C352 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.64
#D1C352 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1C352
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1C352#FFFFFF#000000##000000
##D1C3521.001.8011.6411.64
#FFFFFF1.801.0021.0021.00
#00000011.6421.001.001.00
##00000011.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BD45
Deuteranopia (green-blind)
#D8C458
Tritanopia (blue-blind)
#E0B6AB
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #d1c352;
/* rgb */ color: rgb(209, 195, 82);
/* oklch */ color: oklch(80.7% 0.134 102.3);
Tailwind
colors: {
  custom: {
    50: '#e2d487',
    500: '#d1c352',
    950: '#000000',
  },
}
SCSS
$custom: #d1c352;
$custom-light: #e2d487;
$custom-dark: #000000;
JSON
{
  "hex": "#d1c352",
  "rgb": {
    "r": 209,
    "g": 195,
    "b": 82
  },
  "hsl": {
    "h": 53.386,
    "s": 57.991,
    "l": 57.059
  },
  "oklch": {
    "l": 0.80724,
    "c": 0.13386,
    "h": 102.3
  },
  "luminance": 0.53195
}

Semantic roles & 50–950 ramp

primary
#D1C352
secondary
#3B448C
accent
#58E147
background
#FEFEFC
surface
#FCFBF3
border
#D5D4CD
text
#16140C
muted
#84837F

Preview Lab

Preview with #D1C352

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

Preview Lab → · Contrast checker → · Palette generator →

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