#D2C14F#D2C14F

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

Color values

HEX#D2C14F
RGBrgb(210, 193, 79)
HSLhsl(52, 59%, 57%)
HSVhsv(52, 62%, 82%)
CMYKcmyk(0%, 8.1%, 62.4%, 17.6%)
CIE-LABlab(77.52, -7.56, 57.88)
CIE-LCHlch(77.52, 58.37, 97.44°)
OKLaboklab(80.37% -0.0253 0.1321)
OKLCHoklch(80.37% 0.135 100.8)
XYZxyz(47.0615, 52.4080, 15.0324)
Luminance0.5241 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C14F #4F60D2
analogous
#D2804F #D2C14F #A2D24F
triadic
#D2C14F #4FD2C1 #C14FD2
tetradic
#D2C14F #4FD280 #4F60D2 #D24FA2
square
#D2C14F #4FD280 #4F60D2 #D24FA2
split-complementary
#D2C14F #4FA2D2 #804FD2
monochromatic
#857822 #B5A42E #D2C14F #DED280 #EBE3B0

Accessibility & contrast

On white

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

On black

11.48
#D2C14F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C14F
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C14F#FFFFFF#000000##000000
##D2C14F1.001.8311.4811.48
#FFFFFF1.831.0021.0021.00
#00000011.4821.001.001.00
##00000011.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BC42
Deuteranopia (green-blind)
#D7C355
Tritanopia (blue-blind)
#E1B4A9
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #d2c14f;
/* rgb */ color: rgb(210, 193, 79);
/* oklch */ color: oklch(80.4% 0.135 100.8);
Tailwind
colors: {
  custom: {
    50: '#e3d385',
    500: '#d2c14f',
    950: '#000000',
  },
}
SCSS
$custom: #d2c14f;
$custom-light: #e3d385;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c14f",
  "rgb": {
    "r": 210,
    "g": 193,
    "b": 79
  },
  "hsl": {
    "h": 52.214,
    "s": 59.276,
    "l": 56.667
  },
  "oklch": {
    "l": 0.80366,
    "c": 0.13452,
    "h": 100.8
  },
  "luminance": 0.52406
}

Semantic roles & 50–950 ramp

primary
#D2C14F
secondary
#3A448C
accent
#5AE245
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D2C14F

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

Preview Lab → · Contrast checker → · Palette generator →

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