#D4C13B#D4C13B

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

Color values

HEX#D4C13B
RGBrgb(212, 193, 59)
HSLhsl(53, 64%, 53%)
HSVhsv(53, 72%, 83%)
CMYKcmyk(0%, 9%, 72.2%, 16.9%)
CIE-LABlab(77.55, -7.82, 65.98)
CIE-LCHlch(77.55, 66.44, 96.76°)
OKLaboklab(80.38% -0.0283 0.1459)
OKLCHoklch(80.38% 0.149 101)
XYZxyz(47.0129, 52.4549, 11.7853)
Luminance0.5245 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4C13B #3B4ED4
analogous
#D4743B #D4C13B #9AD43B
triadic
#D4C13B #3BD4C1 #C13BD4
tetradic
#D4C13B #3BD474 #3B4ED4 #D43B9A
square
#D4C13B #3BD474 #3B4ED4 #D43B9A
split-complementary
#D4C13B #3B9AD4 #743BD4
monochromatic
#7A6E1B #AC9B26 #D4C13B #DFD16D #EAE19F

Accessibility & contrast

On white

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

On black

11.49
#D4C13B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4C13B
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4C13B#FFFFFF#000000##000000
##D4C13B1.001.8311.4911.49
#FFFFFF1.831.0021.0021.00
#00000011.4921.001.001.00
##00000011.4921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d4c13b;
/* rgb */ color: rgb(212, 193, 59);
/* oklch */ color: oklch(80.4% 0.149 101.0);
Tailwind
colors: {
  custom: {
    50: '#e5d37a',
    500: '#d4c13b',
    950: '#000000',
  },
}
SCSS
$custom: #d4c13b;
$custom-light: #e5d37a;
$custom-dark: #000000;
JSON
{
  "hex": "#d4c13b",
  "rgb": {
    "r": 212,
    "g": 193,
    "b": 59
  },
  "hsl": {
    "h": 52.549,
    "s": 64.017,
    "l": 53.137
  },
  "oklch": {
    "l": 0.80383,
    "c": 0.14864,
    "h": 101
  },
  "luminance": 0.52453
}

Semantic roles & 50–950 ramp

primary
#D4C13B
secondary
#313B82
accent
#55E741
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D4C13B

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

Preview Lab → · Contrast checker → · Palette generator →

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