#D3C14F#D3C14F

#D3C14F is a light, vivid yellow. Relative luminance 0.526; OKLCH L 80.5% C 0.135 H 100.3°. Best body text is #000000 at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#D3C14F
RGBrgb(211, 193, 79)
HSLhsl(52, 60%, 57%)
HSVhsv(52, 63%, 83%)
CMYKcmyk(0%, 8.5%, 62.6%, 17.3%)
CIE-LABlab(77.61, -7.14, 58.00)
CIE-LCHlch(77.61, 58.44, 97.02°)
OKLaboklab(80.46% -0.0242 0.1324)
OKLCHoklch(80.46% 0.135 100.3)
XYZxyz(47.3471, 52.5553, 15.0458)
Luminance0.5255 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3C14F #4F61D3
analogous
#D37F4F #D3C14F #A3D34F
triadic
#D3C14F #4FD3C1 #C14FD3
tetradic
#D3C14F #4FD37F #4F61D3 #D34FA3
square
#D3C14F #4FD37F #4F61D3 #D34FA3
split-complementary
#D3C14F #4FA3D3 #7F4FD3
monochromatic
#867822 #B7A42E #D3C14F #DFD280 #EBE3B1

Accessibility & contrast

On white

1.82
#D3C14F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.51
#D3C14F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3C14F
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3C14F#FFFFFF#000000##000000
##D3C14F1.001.8211.5111.51
#FFFFFF1.821.0021.0021.00
#00000011.5121.001.001.00
##00000011.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BC42
Deuteranopia (green-blind)
#D7C355
Tritanopia (blue-blind)
#E2B4A9
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #d3c14f;
/* rgb */ color: rgb(211, 193, 79);
/* oklch */ color: oklch(80.5% 0.135 100.3);
Tailwind
colors: {
  custom: {
    50: '#e4d385',
    500: '#d3c14f',
    950: '#000000',
  },
}
SCSS
$custom: #d3c14f;
$custom-light: #e4d385;
$custom-dark: #000000;
JSON
{
  "hex": "#d3c14f",
  "rgb": {
    "r": 211,
    "g": 193,
    "b": 79
  },
  "hsl": {
    "h": 51.818,
    "s": 60,
    "l": 56.863
  },
  "oklch": {
    "l": 0.80456,
    "c": 0.13454,
    "h": 100.3
  },
  "luminance": 0.52553
}

Semantic roles & 50–950 ramp

primary
#D3C14F
secondary
#39458D
accent
#5AE345
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D3C14F

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

Preview Lab → · Contrast checker → · Palette generator →

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