#D2AE41#D2AE41

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

Color values

HEX#D2AE41
RGBrgb(210, 174, 65)
HSLhsl(45, 62%, 54%)
HSVhsv(45, 69%, 82%)
CMYKcmyk(0%, 17.1%, 69%, 17.6%)
CIE-LABlab(72.47, 1.53, 58.50)
CIE-LCHlch(72.47, 58.52, 88.50°)
OKLaboklab(76.33% -0.0009 0.1312)
OKLCHoklch(76.33% 0.131 90.4)
XYZxyz(42.6708, 44.3579, 11.3144)
Luminance0.4435 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2AE41 #4165D2
analogous
#D26641 #D2AE41 #AED241
triadic
#D2AE41 #41D2AE #AE41D2
tetradic
#D2AE41 #41D266 #4165D2 #D241AE
square
#D2AE41 #41D266 #4165D2 #D241AE
split-complementary
#D2AE41 #41AED2 #6641D2
monochromatic
#7B641D #AD8C29 #D2AE41 #DEC372 #E9D8A4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2AE41#FFFFFF#000000##000000
##D2AE411.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)
#C1AC33
Deuteranopia (green-blind)
#CAB646
Tritanopia (blue-blind)
#E3A098
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #d2ae41;
/* rgb */ color: rgb(210, 174, 65);
/* oklch */ color: oklch(76.3% 0.131 90.4);
Tailwind
colors: {
  custom: {
    50: '#e4c57b',
    500: '#d2ae41',
    950: '#000000',
  },
}
SCSS
$custom: #d2ae41;
$custom-light: #e4c57b;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ae41",
  "rgb": {
    "r": 210,
    "g": 174,
    "b": 65
  },
  "hsl": {
    "h": 45.103,
    "s": 61.702,
    "l": 53.922
  },
  "oklch": {
    "l": 0.76328,
    "c": 0.13123,
    "h": 90.4
  },
  "luminance": 0.44355
}

Semantic roles & 50–950 ramp

primary
#D2AE41
secondary
#98A8D6
accent
#6BE543
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16120A
muted
#84817C

Preview Lab

Preview with #D2AE41

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

Preview Lab → · Contrast checker → · Palette generator →

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