#D3C251#D3C251

#D3C251 is a light, vivid yellow. Relative luminance 0.530; OKLCH L 80.7% C 0.134 H 100.8°. Best body text is #000000 at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#D3C251
RGBrgb(211, 194, 81)
HSLhsl(52, 60%, 57%)
HSVhsv(52, 62%, 83%)
CMYKcmyk(0%, 8.1%, 61.6%, 17.3%)
CIE-LABlab(77.89, -7.52, 57.43)
CIE-LCHlch(77.89, 57.92, 97.46°)
OKLaboklab(80.68% -0.025 0.1314)
OKLCHoklch(80.68% 0.134 100.8)
XYZxyz(47.6428, 53.0285, 15.5089)
Luminance0.5303 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3C251 #5162D3
analogous
#D38151 #D3C251 #A3D351
triadic
#D3C251 #51D3C2 #C251D3
tetradic
#D3C251 #51D381 #5162D3 #D351A3
square
#D3C251 #51D381 #5162D3 #D351A3
split-complementary
#D3C251 #51A3D3 #8151D3
monochromatic
#877A22 #B8A62F #D3C251 #DFD382 #ECE4B3

Accessibility & contrast

On white

1.81
#D3C251 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.61
#D3C251 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3C251
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3C251#FFFFFF#000000##000000
##D3C2511.001.8111.6111.61
#FFFFFF1.811.0021.0021.00
#00000011.6121.001.001.00
##00000011.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BD44
Deuteranopia (green-blind)
#D8C457
Tritanopia (blue-blind)
#E2B5AA
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #d3c251;
/* rgb */ color: rgb(211, 194, 81);
/* oklch */ color: oklch(80.7% 0.134 100.8);
Tailwind
colors: {
  custom: {
    50: '#e3d486',
    500: '#d3c251',
    950: '#000000',
  },
}
SCSS
$custom: #d3c251;
$custom-light: #e3d486;
$custom-dark: #000000;
JSON
{
  "hex": "#d3c251",
  "rgb": {
    "r": 211,
    "g": 194,
    "b": 81
  },
  "hsl": {
    "h": 52.154,
    "s": 59.633,
    "l": 57.255
  },
  "oklch": {
    "l": 0.80684,
    "c": 0.13379,
    "h": 100.8
  },
  "luminance": 0.53027
}

Semantic roles & 50–950 ramp

primary
#D3C251
secondary
#3A458E
accent
#5AE345
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D3C251

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

Preview Lab → · Contrast checker → · Palette generator →

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