#D3CD3E#D3CD3E

#D3CD3E is a very light, vivid yellow. Relative luminance 0.579; OKLCH L 82.8% C 0.157 H 107.0°. Best body text is #000000 at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#D3CD3E
RGBrgb(211, 205, 62)
HSLhsl(58, 63%, 54%)
HSVhsv(58, 71%, 83%)
CMYKcmyk(0%, 2.8%, 70.6%, 17.3%)
CIE-LABlab(80.66, -14.19, 67.89)
CIE-LCHlch(80.66, 69.36, 101.80°)
OKLaboklab(82.84% -0.0459 0.1505)
OKLCHoklch(82.84% 0.157 107)
XYZxyz(49.5667, 57.8610, 13.1138)
Luminance0.5786 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3CD3E #3E44D3
analogous
#D3823E #D3CD3E #8ED33E
triadic
#D3CD3E #3ED3CD #CD3ED3
tetradic
#D3CD3E #3ED382 #3E44D3 #D33E8E
square
#D3CD3E #3ED382 #3E44D3 #D33E8E
split-complementary
#D3CD3E #3E8ED3 #823ED3
monochromatic
#7B771C #ACA727 #D3CD3E #DEDA70 #EAE7A2

Accessibility & contrast

On white

1.67
#D3CD3E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.57
#D3CD3E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3CD3E
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3CD3E#FFFFFF#000000##000000
##D3CD3E1.001.6712.5712.57
#FFFFFF1.671.0021.0021.00
#00000012.5721.001.001.00
##00000012.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC525
Deuteranopia (green-blind)
#E1CB48
Tritanopia (blue-blind)
#E2C0B1
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d3cd3e;
/* rgb */ color: rgb(211, 205, 62);
/* oklch */ color: oklch(82.8% 0.157 107.0);
Tailwind
colors: {
  custom: {
    50: '#e4dc7d',
    500: '#d3cd3e',
    950: '#000000',
  },
}
SCSS
$custom: #d3cd3e;
$custom-light: #e4dc7d;
$custom-dark: #000000;
JSON
{
  "hex": "#d3cd3e",
  "rgb": {
    "r": 211,
    "g": 205,
    "b": 62
  },
  "hsl": {
    "h": 57.584,
    "s": 62.869,
    "l": 53.529
  },
  "oklch": {
    "l": 0.82842,
    "c": 0.15737,
    "h": 107
  },
  "luminance": 0.57859
}

Semantic roles & 50–950 ramp

primary
#D3CD3E
secondary
#333682
accent
#48E642
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16150A
muted
#85847D

Preview Lab

Preview with #D3CD3E

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

Preview Lab → · Contrast checker → · Palette generator →

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