#D4C83B#D4C83B

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

Color values

HEX#D4C83B
RGBrgb(212, 200, 59)
HSLhsl(55, 64%, 53%)
HSVhsv(55, 72%, 83%)
CMYKcmyk(0%, 5.7%, 72.2%, 16.9%)
CIE-LABlab(79.40, -11.39, 67.76)
CIE-LCHlch(79.40, 68.71, 99.54°)
OKLaboklab(81.85% -0.0384 0.1497)
OKLCHoklch(81.85% 0.155 104.4)
XYZxyz(48.5971, 55.6233, 12.3133)
Luminance0.5562 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4C83B #3B47D4
analogous
#D47B3B #D4C83B #93D43B
triadic
#D4C83B #3BD4C8 #C83BD4
tetradic
#D4C83B #3BD47B #3B47D4 #D43B93
square
#D4C83B #3BD47B #3B47D4 #D43B93
split-complementary
#D4C83B #3B93D4 #7B3BD4
monochromatic
#7A721B #ACA226 #D4C83B #DFD66D #EAE49F

Accessibility & contrast

On white

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

On black

12.12
#D4C83B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4C83B
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4C83B#FFFFFF#000000##000000
##D4C83B1.001.7312.1212.12
#FFFFFF1.731.0021.0021.00
#00000012.1221.001.001.00
##00000012.1221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d4c83b;
/* rgb */ color: rgb(212, 200, 59);
/* oklch */ color: oklch(81.9% 0.155 104.4);
Tailwind
colors: {
  custom: {
    50: '#e5d87a',
    500: '#d4c83b',
    950: '#000000',
  },
}
SCSS
$custom: #d4c83b;
$custom-light: #e5d87a;
$custom-dark: #000000;
JSON
{
  "hex": "#d4c83b",
  "rgb": {
    "r": 212,
    "g": 200,
    "b": 59
  },
  "hsl": {
    "h": 55.294,
    "s": 64.017,
    "l": 53.137
  },
  "oklch": {
    "l": 0.81851,
    "c": 0.15454,
    "h": 104.4
  },
  "luminance": 0.55621
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D4C83B

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

Preview Lab → · Contrast checker → · Palette generator →

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