#D4C13F#D4C13F

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

Color values

HEX#D4C13F
RGBrgb(212, 193, 63)
HSLhsl(52, 63%, 54%)
HSVhsv(52, 70%, 83%)
CMYKcmyk(0%, 9%, 70.3%, 16.9%)
CIE-LABlab(77.58, -7.63, 64.52)
CIE-LCHlch(77.58, 64.97, 96.74°)
OKLaboklab(80.41% -0.0274 0.1435)
OKLCHoklch(80.41% 0.146 100.8)
XYZxyz(47.1207, 52.4980, 12.3528)
Luminance0.5250 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4C13F #3F52D4
analogous
#D4773F #D4C13F #9DD43F
triadic
#D4C13F #3FD4C1 #C13FD4
tetradic
#D4C13F #3FD477 #3F52D4 #D43F9D
square
#D4C13F #3FD477 #3F52D4 #D43F9D
split-complementary
#D4C13F #3F9DD4 #773FD4
monochromatic
#7D701C #AF9D27 #D4C13F #DFD171 #EAE1A3

Accessibility & contrast

On white

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

On black

11.50
#D4C13F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4C13F
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4C13F#FFFFFF#000000##000000
##D4C13F1.001.8311.5011.50
#FFFFFF1.831.0021.0021.00
#00000011.5021.001.001.00
##00000011.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BB2B
Deuteranopia (green-blind)
#D8C347
Tritanopia (blue-blind)
#E4B3A7
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #d4c13f;
/* rgb */ color: rgb(212, 193, 63);
/* oklch */ color: oklch(80.4% 0.146 100.8);
Tailwind
colors: {
  custom: {
    50: '#e5d37c',
    500: '#d4c13f',
    950: '#000000',
  },
}
SCSS
$custom: #d4c13f;
$custom-light: #e5d37c;
$custom-dark: #000000;
JSON
{
  "hex": "#d4c13f",
  "rgb": {
    "r": 212,
    "g": 193,
    "b": 63
  },
  "hsl": {
    "h": 52.349,
    "s": 63.404,
    "l": 53.922
  },
  "oklch": {
    "l": 0.80411,
    "c": 0.14613,
    "h": 100.8
  },
  "luminance": 0.52496
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D4C13F

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

Preview Lab → · Contrast checker → · Palette generator →

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