#D3CD46#D3CD46

#D3CD46 is a very light, vivid yellow. Relative luminance 0.580; OKLCH L 82.9% C 0.152 H 106.8°. Best body text is #000000 at 12.59:1 contrast (WCAG AA passes).

Color values

HEX#D3CD46
RGBrgb(211, 205, 70)
HSLhsl(57, 62%, 55%)
HSVhsv(57, 67%, 83%)
CMYKcmyk(0%, 2.8%, 66.8%, 17.3%)
CIE-LABlab(80.71, -13.78, 64.95)
CIE-LCHlch(80.71, 66.40, 101.97°)
OKLaboklab(82.9% -0.044 0.1457)
OKLCHoklch(82.9% 0.152 106.8)
XYZxyz(49.8026, 57.9554, 14.3563)
Luminance0.5795 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3CD46 #464CD3
analogous
#D38746 #D3CD46 #92D346
triadic
#D3CD46 #46D3CD #CD46D3
tetradic
#D3CD46 #46D387 #464CD3 #D34692
square
#D3CD46 #46D387 #464CD3 #D34692
split-complementary
#D3CD46 #4692D3 #8746D3
monochromatic
#807C1E #B2AC2A #D3CD46 #DFDA77 #EBE8A9

Accessibility & contrast

On white

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

On black

12.59
#D3CD46 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3CD46
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3CD46#FFFFFF#000000##000000
##D3CD461.001.6712.5912.59
#FFFFFF1.671.0021.0021.00
#00000012.5921.001.001.00
##00000012.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC533
Deuteranopia (green-blind)
#E1CB4F
Tritanopia (blue-blind)
#E2C0B2
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d3cd46;
/* rgb */ color: rgb(211, 205, 70);
/* oklch */ color: oklch(82.9% 0.152 106.8);
Tailwind
colors: {
  custom: {
    50: '#e4dc81',
    500: '#d3cd46',
    950: '#000000',
  },
}
SCSS
$custom: #d3cd46;
$custom-light: #e4dc81;
$custom-dark: #000000;
JSON
{
  "hex": "#d3cd46",
  "rgb": {
    "r": 211,
    "g": 205,
    "b": 70
  },
  "hsl": {
    "h": 57.447,
    "s": 61.572,
    "l": 55.098
  },
  "oklch": {
    "l": 0.829,
    "c": 0.15216,
    "h": 106.8
  },
  "luminance": 0.57954
}

Semantic roles & 50–950 ramp

primary
#D3CD46
secondary
#363987
accent
#4AE543
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D3CD46

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

Preview Lab → · Contrast checker → · Palette generator →

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