#D4C83C#D4C83C

#D4C83C is a light, vivid yellow. Relative luminance 0.556; OKLCH L 81.9% C 0.154 H 104.4°. Best body text is #000000 at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#D4C83C
RGBrgb(212, 200, 60)
HSLhsl(55, 64%, 53%)
HSVhsv(55, 72%, 83%)
CMYKcmyk(0%, 5.7%, 71.7%, 16.9%)
CIE-LABlab(79.40, -11.34, 67.41)
CIE-LCHlch(79.40, 68.36, 99.55°)
OKLaboklab(81.86% -0.0382 0.1491)
OKLCHoklch(81.86% 0.154 104.4)
XYZxyz(48.6233, 55.6338, 12.4513)
Luminance0.5563 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4C83C #3C48D4
analogous
#D47C3C #D4C83C #94D43C
triadic
#D4C83C #3CD4C8 #C83CD4
tetradic
#D4C83C #3CD47C #3C48D4 #D43C94
square
#D4C83C #3CD47C #3C48D4 #D43C94
split-complementary
#D4C83C #3C94D4 #7C3CD4
monochromatic
#7B731B #ADA226 #D4C83C #DFD66E #EAE4A0

Accessibility & contrast

On white

1.73
#D4C83C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.13
#D4C83C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4C83C
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4C83C#FFFFFF#000000##000000
##D4C83C1.001.7312.1312.13
#FFFFFF1.731.0021.0021.00
#00000012.1321.001.001.00
##00000012.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC123
Deuteranopia (green-blind)
#DEC846
Tritanopia (blue-blind)
#E4BAAD
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d4c83c;
/* rgb */ color: rgb(212, 200, 60);
/* oklch */ color: oklch(81.9% 0.154 104.4);
Tailwind
colors: {
  custom: {
    50: '#e5d87b',
    500: '#d4c83c',
    950: '#000000',
  },
}
SCSS
$custom: #d4c83c;
$custom-light: #e5d87b;
$custom-dark: #000000;
JSON
{
  "hex": "#d4c83c",
  "rgb": {
    "r": 212,
    "g": 200,
    "b": 60
  },
  "hsl": {
    "h": 55.263,
    "s": 63.866,
    "l": 53.333
  },
  "oklch": {
    "l": 0.81857,
    "c": 0.15394,
    "h": 104.4
  },
  "luminance": 0.55632
}

Semantic roles & 50–950 ramp

primary
#D4C83C
secondary
#323882
accent
#4EE741
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D4C83C

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

Preview Lab → · Contrast checker → · Palette generator →

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