#D2AF3E#D2AF3E

#D2AF3E is a light, vivid yellow. Relative luminance 0.447; OKLCH L 76.5% C 0.134 H 91.4°. Best body text is #000000 at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#D2AF3E
RGBrgb(210, 175, 62)
HSLhsl(46, 62%, 53%)
HSVhsv(46, 70%, 82%)
CMYKcmyk(0%, 16.7%, 70.5%, 17.6%)
CIE-LABlab(72.70, 0.85, 59.97)
CIE-LCHlch(72.70, 59.98, 89.19°)
OKLaboklab(76.51% -0.0032 0.1338)
OKLCHoklch(76.51% 0.134 91.4)
XYZxyz(42.7801, 44.7119, 10.9335)
Luminance0.4471 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2AF3E #3E61D2
analogous
#D2653E #D2AF3E #ABD23E
triadic
#D2AF3E #3ED2AF #AF3ED2
tetradic
#D2AF3E #3ED265 #3E61D2 #D23EAB
square
#D2AF3E #3ED265 #3E61D2 #D23EAB
split-complementary
#D2AF3E #3EABD2 #653ED2
monochromatic
#79631C #AB8C28 #D2AF3E #DEC470 #E9D8A1

Accessibility & contrast

On white

2.11
#D2AF3E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.94
#D2AF3E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2AF3E
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2AF3E#FFFFFF#000000##000000
##D2AF3E1.002.119.949.94
#FFFFFF2.111.0021.0021.00
#0000009.9421.001.001.00
##0000009.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AD2E
Deuteranopia (green-blind)
#CBB744
Tritanopia (blue-blind)
#E3A198
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #d2af3e;
/* rgb */ color: rgb(210, 175, 62);
/* oklch */ color: oklch(76.5% 0.134 91.4);
Tailwind
colors: {
  custom: {
    50: '#e4c67a',
    500: '#d2af3e',
    950: '#000000',
  },
}
SCSS
$custom: #d2af3e;
$custom-light: #e4c67a;
$custom-dark: #000000;
JSON
{
  "hex": "#d2af3e",
  "rgb": {
    "r": 210,
    "g": 175,
    "b": 62
  },
  "hsl": {
    "h": 45.811,
    "s": 62.185,
    "l": 53.333
  },
  "oklch": {
    "l": 0.76506,
    "c": 0.13386,
    "h": 91.4
  },
  "luminance": 0.44709
}

Semantic roles & 50–950 ramp

primary
#D2AF3E
secondary
#96A5D6
accent
#69E543
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D2AF3E

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

Preview Lab → · Contrast checker → · Palette generator →

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