#D3C140#D3C140

#D3C140 is a light, vivid yellow. Relative luminance 0.524; OKLCH L 80.3% C 0.145 H 101.2°. Best body text is #000000 at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#D3C140
RGBrgb(211, 193, 64)
HSLhsl(53, 63%, 54%)
HSVhsv(53, 70%, 83%)
CMYKcmyk(0%, 8.5%, 69.7%, 17.3%)
CIE-LABlab(77.50, -8.00, 64.03)
CIE-LCHlch(77.50, 64.53, 97.12°)
OKLaboklab(80.33% -0.0283 0.1427)
OKLCHoklch(80.33% 0.145 101.2)
XYZxyz(46.8614, 52.3610, 12.4878)
Luminance0.5236 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3C140 #4052D3
analogous
#D37840 #D3C140 #9CD340
triadic
#D3C140 #40D3C1 #C140D3
tetradic
#D3C140 #40D378 #4052D3 #D3409C
square
#D3C140 #40D378 #4052D3 #D3409C
split-complementary
#D3C140 #409CD3 #7840D3
monochromatic
#7C701D #AE9D28 #D3C140 #DED172 #EAE1A3

Accessibility & contrast

On white

1.83
#D3C140 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.47
#D3C140 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3C140
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3C140#FFFFFF#000000##000000
##D3C1401.001.8311.4711.47
#FFFFFF1.831.0021.0021.00
#00000011.4721.001.001.00
##00000011.4721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d3c140;
/* rgb */ color: rgb(211, 193, 64);
/* oklch */ color: oklch(80.3% 0.145 101.2);
Tailwind
colors: {
  custom: {
    50: '#e4d37c',
    500: '#d3c140',
    950: '#000000',
  },
}
SCSS
$custom: #d3c140;
$custom-light: #e4d37c;
$custom-dark: #000000;
JSON
{
  "hex": "#d3c140",
  "rgb": {
    "r": 211,
    "g": 193,
    "b": 64
  },
  "hsl": {
    "h": 52.653,
    "s": 62.553,
    "l": 53.922
  },
  "oklch": {
    "l": 0.80328,
    "c": 0.14548,
    "h": 101.2
  },
  "luminance": 0.52359
}

Semantic roles & 50–950 ramp

primary
#D3C140
secondary
#333D84
accent
#56E642
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D3C140

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

Preview Lab → · Contrast checker → · Palette generator →

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