#D3C04B#D3C04B

#D3C04B is a light, vivid yellow. Relative luminance 0.521; OKLCH L 80.2% C 0.137 H 100.0°. Best body text is #000000 at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#D3C04B
RGBrgb(211, 192, 75)
HSLhsl(52, 61%, 56%)
HSVhsv(52, 64%, 83%)
CMYKcmyk(0%, 9%, 64.5%, 17.3%)
CIE-LABlab(77.32, -6.88, 59.40)
CIE-LCHlch(77.32, 59.79, 96.60°)
OKLaboklab(80.21% -0.0239 0.1347)
OKLCHoklch(80.21% 0.137 100)
XYZxyz(46.9856, 52.0582, 14.2286)
Luminance0.5206 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3C04B #4B5ED3
analogous
#D37C4B #D3C04B #A2D34B
triadic
#D3C04B #4BD3C0 #C04BD3
tetradic
#D3C04B #4BD37C #4B5ED3 #D34BA2
square
#D3C04B #4BD37C #4B5ED3 #D34BA2
split-complementary
#D3C04B #4BA2D3 #7C4BD3
monochromatic
#837620 #B5A22C #D3C04B #DFD17C #EBE2AD

Accessibility & contrast

On white

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

On black

11.41
#D3C04B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3C04B
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3C04B#FFFFFF#000000##000000
##D3C04B1.001.8411.4111.41
#FFFFFF1.841.0021.0021.00
#00000011.4121.001.001.00
##00000011.4121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d3c04b;
/* rgb */ color: rgb(211, 192, 75);
/* oklch */ color: oklch(80.2% 0.137 100.0);
Tailwind
colors: {
  custom: {
    50: '#e4d283',
    500: '#d3c04b',
    950: '#000000',
  },
}
SCSS
$custom: #d3c04b;
$custom-light: #e4d283;
$custom-dark: #000000;
JSON
{
  "hex": "#d3c04b",
  "rgb": {
    "r": 211,
    "g": 192,
    "b": 75
  },
  "hsl": {
    "h": 51.618,
    "s": 60.714,
    "l": 56.078
  },
  "oklch": {
    "l": 0.80211,
    "c": 0.13682,
    "h": 100
  },
  "luminance": 0.52056
}

Semantic roles & 50–950 ramp

primary
#D3C04B
secondary
#38438A
accent
#5AE444
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D3C04B

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

Preview Lab → · Contrast checker → · Palette generator →

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