#D3C045#D3C045

#D3C045 is a light, vivid yellow. Relative luminance 0.520; OKLCH L 80.2% C 0.141 H 100.4°. Best body text is #000000 at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#D3C045
RGBrgb(211, 192, 69)
HSLhsl(52, 62%, 55%)
HSVhsv(52, 67%, 83%)
CMYKcmyk(0%, 9%, 67.3%, 17.3%)
CIE-LABlab(77.27, -7.22, 61.83)
CIE-LCHlch(77.27, 62.25, 96.66°)
OKLaboklab(80.16% -0.0255 0.1389)
OKLCHoklch(80.16% 0.141 100.4)
XYZxyz(46.7898, 51.9799, 13.1976)
Luminance0.5198 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3C045 #4558D3
analogous
#D37945 #D3C045 #9FD345
triadic
#D3C045 #45D3C0 #C045D3
tetradic
#D3C045 #45D379 #4558D3 #D3459F
square
#D3C045 #45D379 #4558D3 #D3459F
split-complementary
#D3C045 #459FD3 #7945D3
monochromatic
#7F721E #B19F2A #D3C045 #DFD176 #EAE2A8

Accessibility & contrast

On white

1.84
#D3C045 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.40
#D3C045 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3C045
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3C045#FFFFFF#000000##000000
##D3C0451.001.8411.4011.40
#FFFFFF1.841.0021.0021.00
#00000011.4021.001.001.00
##00000011.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BB34
Deuteranopia (green-blind)
#D7C24C
Tritanopia (blue-blind)
#E3B3A7
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #d3c045;
/* rgb */ color: rgb(211, 192, 69);
/* oklch */ color: oklch(80.2% 0.141 100.4);
Tailwind
colors: {
  custom: {
    50: '#e4d27f',
    500: '#d3c045',
    950: '#000000',
  },
}
SCSS
$custom: #d3c045;
$custom-light: #e4d27f;
$custom-dark: #000000;
JSON
{
  "hex": "#d3c045",
  "rgb": {
    "r": 211,
    "g": 192,
    "b": 69
  },
  "hsl": {
    "h": 51.972,
    "s": 61.739,
    "l": 54.902
  },
  "oklch": {
    "l": 0.80158,
    "c": 0.14123,
    "h": 100.4
  },
  "luminance": 0.51978
}

Semantic roles & 50–950 ramp

primary
#D3C045
secondary
#354087
accent
#59E543
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D3C045

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

Preview Lab → · Contrast checker → · Palette generator →

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