#D3C74B#D3C74B

#D3C74B is a light, vivid yellow. Relative luminance 0.552; OKLCH L 81.7% C 0.143 H 103.8°. Best body text is #000000 at 12.04:1 contrast (WCAG AA passes).

Color values

HEX#D3C74B
RGBrgb(211, 199, 75)
HSLhsl(55, 61%, 56%)
HSVhsv(55, 64%, 83%)
CMYKcmyk(0%, 5.7%, 64.5%, 17.3%)
CIE-LABlab(79.16, -10.46, 61.34)
CIE-LCHlch(79.16, 62.23, 99.67°)
OKLaboklab(81.68% -0.034 0.1388)
OKLCHoklch(81.68% 0.143 103.8)
XYZxyz(48.5593, 55.2056, 14.7531)
Luminance0.5520 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3C74B #4B57D3
analogous
#D3834B #D3C74B #9BD34B
triadic
#D3C74B #4BD3C7 #C74BD3
tetradic
#D3C74B #4BD383 #4B57D3 #D34B9B
square
#D3C74B #4BD383 #4B57D3 #D34B9B
split-complementary
#D3C74B #4B9BD3 #834BD3
monochromatic
#837B20 #B5A92C #D3C74B #DFD67C #EBE6AD

Accessibility & contrast

On white

1.74
#D3C74B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.04
#D3C74B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3C74B
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3C74B#FFFFFF#000000##000000
##D3C74B1.001.7412.0412.04
#FFFFFF1.741.0021.0021.00
#00000012.0421.001.001.00
##00000012.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C13B
Deuteranopia (green-blind)
#DCC752
Tritanopia (blue-blind)
#E2BAAD
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #d3c74b;
/* rgb */ color: rgb(211, 199, 75);
/* oklch */ color: oklch(81.7% 0.143 103.8);
Tailwind
colors: {
  custom: {
    50: '#e4d783',
    500: '#d3c74b',
    950: '#000000',
  },
}
SCSS
$custom: #d3c74b;
$custom-light: #e4d783;
$custom-dark: #000000;
JSON
{
  "hex": "#d3c74b",
  "rgb": {
    "r": 211,
    "g": 199,
    "b": 75
  },
  "hsl": {
    "h": 54.706,
    "s": 60.714,
    "l": 56.078
  },
  "oklch": {
    "l": 0.81675,
    "c": 0.14295,
    "h": 103.8
  },
  "luminance": 0.55204
}

Semantic roles & 50–950 ramp

primary
#D3C74B
secondary
#383F8A
accent
#52E444
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D3C74B

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

Preview Lab → · Contrast checker → · Palette generator →

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