#D1C754#D1C754

#D1C754 is a light, vivid yellow. Relative luminance 0.550; OKLCH L 81.6% C 0.136 H 104.3°. Best body text is #000000 at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#D1C754
RGBrgb(209, 199, 84)
HSLhsl(55, 58%, 57%)
HSVhsv(55, 60%, 82%)
CMYKcmyk(0%, 4.8%, 59.8%, 18%)
CIE-LABlab(79.07, -10.72, 57.36)
CIE-LCHlch(79.07, 58.35, 100.58°)
OKLaboklab(81.58% -0.0337 0.1317)
OKLCHoklch(81.58% 0.136 104.3)
XYZxyz(48.3198, 55.0439, 16.4651)
Luminance0.5504 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1C754 #545ED1
analogous
#D18954 #D1C754 #9DD154
triadic
#D1C754 #54D1C7 #C754D1
tetradic
#D1C754 #54D189 #545ED1 #D1549D
square
#D1C754 #54D189 #545ED1 #D1549D
split-complementary
#D1C754 #549DD1 #8954D1
monochromatic
#867F24 #B7AC31 #D1C754 #DED784 #EBE7B4

Accessibility & contrast

On white

1.75
#D1C754 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.01
#D1C754 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1C754
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1C754#FFFFFF#000000##000000
##D1C7541.001.7512.0112.01
#FFFFFF1.751.0021.0021.00
#00000012.0121.001.001.00
##00000012.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C147
Deuteranopia (green-blind)
#DBC65A
Tritanopia (blue-blind)
#DFBBAE
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #d1c754;
/* rgb */ color: rgb(209, 199, 84);
/* oklch */ color: oklch(81.6% 0.136 104.3);
Tailwind
colors: {
  custom: {
    50: '#e2d789',
    500: '#d1c754',
    950: '#000000',
  },
}
SCSS
$custom: #d1c754;
$custom-light: #e2d789;
$custom-dark: #000000;
JSON
{
  "hex": "#d1c754",
  "rgb": {
    "r": 209,
    "g": 199,
    "b": 84
  },
  "hsl": {
    "h": 55.2,
    "s": 57.604,
    "l": 57.451
  },
  "oklch": {
    "l": 0.81585,
    "c": 0.13595,
    "h": 104.3
  },
  "luminance": 0.55042
}

Semantic roles & 50–950 ramp

primary
#D1C754
secondary
#3C438D
accent
#53E147
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D1C754

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

Preview Lab → · Contrast checker → · Palette generator →

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