#D3CF5A#D3CF5A

#D3CF5A is a very light, vivid yellow. Relative luminance 0.592; OKLCH L 83.5% C 0.139 H 107.2°. Best body text is #000000 at 12.84:1 contrast (WCAG AA passes).

Color values

HEX#D3CF5A
RGBrgb(211, 207, 90)
HSLhsl(58, 58%, 59%)
HSVhsv(58, 57%, 83%)
CMYKcmyk(0%, 1.9%, 57.3%, 17.3%)
CIE-LABlab(81.41, -13.50, 57.35)
CIE-LCHlch(81.41, 58.92, 103.25°)
OKLaboklab(83.51% -0.0411 0.1324)
OKLCHoklch(83.51% 0.139 107.2)
XYZxyz(51.0238, 59.2142, 18.4126)
Luminance0.5921 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3CF5A #5A5ED3
analogous
#D3935A #D3CF5A #9BD35A
triadic
#D3CF5A #5AD3CF #CF5AD3
tetradic
#D3CF5A #5AD393 #5A5ED3 #D35A9B
square
#D3CF5A #5AD393 #5A5ED3 #D35A9B
split-complementary
#D3CF5A #5A9BD3 #935AD3
monochromatic
#8D8A26 #BDB932 #D3CF5A #E0DD8A #EDEBBB

Accessibility & contrast

On white

1.64
#D3CF5A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.84
#D3CF5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3CF5A
12.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3CF5A#FFFFFF#000000##000000
##D3CF5A1.001.6412.8412.84
#FFFFFF1.641.0021.0021.00
#00000012.8421.001.001.00
##00000012.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC84D
Deuteranopia (green-blind)
#E1CC60
Tritanopia (blue-blind)
#E1C3B6
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d3cf5a;
/* rgb */ color: rgb(211, 207, 90);
/* oklch */ color: oklch(83.5% 0.139 107.2);
Tailwind
colors: {
  custom: {
    50: '#e3dd8d',
    500: '#d3cf5a',
    950: '#000000',
  },
}
SCSS
$custom: #d3cf5a;
$custom-light: #e3dd8d;
$custom-dark: #000000;
JSON
{
  "hex": "#d3cf5a",
  "rgb": {
    "r": 211,
    "g": 207,
    "b": 90
  },
  "hsl": {
    "h": 58.017,
    "s": 57.895,
    "l": 59.02
  },
  "oklch": {
    "l": 0.83507,
    "c": 0.13864,
    "h": 107.2
  },
  "luminance": 0.59213
}

Semantic roles & 50–950 ramp

primary
#D3CF5A
secondary
#3E4193
accent
#4CE147
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D3CF5A

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

Preview Lab → · Contrast checker → · Palette generator →

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