#D2AE42#D2AE42

#D2AE42 is a light, vivid yellow. Relative luminance 0.444; OKLCH L 76.3% C 0.131 H 90.3°. Best body text is #000000 at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#D2AE42
RGBrgb(210, 174, 66)
HSLhsl(45, 62%, 54%)
HSVhsv(45, 69%, 82%)
CMYKcmyk(0%, 17.1%, 68.6%, 17.6%)
CIE-LABlab(72.47, 1.58, 58.09)
CIE-LCHlch(72.47, 58.11, 88.44°)
OKLaboklab(76.34% -0.0006 0.1305)
OKLCHoklch(76.34% 0.131 90.3)
XYZxyz(42.7000, 44.3696, 11.4683)
Luminance0.4437 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2AE42 #4266D2
analogous
#D26642 #D2AE42 #AED242
triadic
#D2AE42 #42D2AE #AE42D2
tetradic
#D2AE42 #42D266 #4266D2 #D242AE
square
#D2AE42 #42D266 #4266D2 #D242AE
split-complementary
#D2AE42 #42AED2 #6642D2
monochromatic
#7C641E #AD8C29 #D2AE42 #DEC373 #EAD8A5

Accessibility & contrast

On white

2.13
#D2AE42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.87
#D2AE42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2AE42
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2AE42#FFFFFF#000000##000000
##D2AE421.002.139.879.87
#FFFFFF2.131.0021.0021.00
#0000009.8721.001.001.00
##0000009.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AC34
Deuteranopia (green-blind)
#CAB647
Tritanopia (blue-blind)
#E3A098
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #d2ae42;
/* rgb */ color: rgb(210, 174, 66);
/* oklch */ color: oklch(76.3% 0.131 90.3);
Tailwind
colors: {
  custom: {
    50: '#e4c57c',
    500: '#d2ae42',
    950: '#000000',
  },
}
SCSS
$custom: #d2ae42;
$custom-light: #e4c57c;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ae42",
  "rgb": {
    "r": 210,
    "g": 174,
    "b": 66
  },
  "hsl": {
    "h": 45,
    "s": 61.538,
    "l": 54.118
  },
  "oklch": {
    "l": 0.76337,
    "c": 0.13054,
    "h": 90.3
  },
  "luminance": 0.44367
}

Semantic roles & 50–950 ramp

primary
#D2AE42
secondary
#99A9D7
accent
#6CE543
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16120A
muted
#84817C

Preview Lab

Preview with #D2AE42

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

Preview Lab → · Contrast checker → · Palette generator →

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