#D4C143#D4C143

#D4C143 is a light, vivid yellow. Relative luminance 0.525; OKLCH L 80.4% C 0.143 H 100.6°. Best body text is #000000 at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#D4C143
RGBrgb(212, 193, 67)
HSLhsl(52, 63%, 55%)
HSVhsv(52, 68%, 83%)
CMYKcmyk(0%, 9%, 68.4%, 16.9%)
CIE-LABlab(77.61, -7.42, 63.00)
CIE-LCHlch(77.61, 63.44, 96.72°)
OKLaboklab(80.44% -0.0264 0.141)
OKLCHoklch(80.44% 0.143 100.6)
XYZxyz(47.2365, 52.5443, 12.9630)
Luminance0.5254 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4C143 #4356D4
analogous
#D47943 #D4C143 #9FD443
triadic
#D4C143 #43D4C1 #C143D4
tetradic
#D4C143 #43D479 #4356D4 #D4439F
square
#D4C143 #43D479 #4356D4 #D4439F
split-complementary
#D4C143 #439FD4 #7943D4
monochromatic
#7F731D #B19F29 #D4C143 #DFD175 #EBE2A7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D4C143#FFFFFF#000000##000000
##D4C1431.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)
#D3BC31
Deuteranopia (green-blind)
#D8C34B
Tritanopia (blue-blind)
#E4B3A7
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #d4c143;
/* rgb */ color: rgb(212, 193, 67);
/* oklch */ color: oklch(80.4% 0.143 100.6);
Tailwind
colors: {
  custom: {
    50: '#e5d37e',
    500: '#d4c143',
    950: '#000000',
  },
}
SCSS
$custom: #d4c143;
$custom-light: #e5d37e;
$custom-dark: #000000;
JSON
{
  "hex": "#d4c143",
  "rgb": {
    "r": 212,
    "g": 193,
    "b": 67
  },
  "hsl": {
    "h": 52.138,
    "s": 62.771,
    "l": 54.706
  },
  "oklch": {
    "l": 0.80442,
    "c": 0.14346,
    "h": 100.6
  },
  "luminance": 0.52542
}

Semantic roles & 50–950 ramp

primary
#D4C143
secondary
#343F87
accent
#57E642
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D4C143

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

Preview Lab → · Contrast checker → · Palette generator →

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