#D2AE40#D2AE40

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

Color values

HEX#D2AE40
RGBrgb(210, 174, 64)
HSLhsl(45, 62%, 54%)
HSVhsv(45, 70%, 82%)
CMYKcmyk(0%, 17.1%, 69.5%, 17.6%)
CIE-LABlab(72.46, 1.48, 58.91)
CIE-LCHlch(72.46, 58.93, 88.56°)
OKLaboklab(76.32% -0.0011 0.1319)
OKLCHoklch(76.32% 0.132 90.5)
XYZxyz(42.6421, 44.3465, 11.1632)
Luminance0.4434 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2AE40 #4064D2
analogous
#D26540 #D2AE40 #ADD240
triadic
#D2AE40 #40D2AE #AE40D2
tetradic
#D2AE40 #40D265 #4064D2 #D240AD
square
#D2AE40 #40D265 #4064D2 #D240AD
split-complementary
#D2AE40 #40ADD2 #6540D2
monochromatic
#7B641D #AC8C29 #D2AE40 #DEC372 #E9D8A3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2AE40#FFFFFF#000000##000000
##D2AE401.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)
#C1AC31
Deuteranopia (green-blind)
#CAB645
Tritanopia (blue-blind)
#E3A097
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #d2ae40;
/* rgb */ color: rgb(210, 174, 64);
/* oklch */ color: oklch(76.3% 0.132 90.5);
Tailwind
colors: {
  custom: {
    50: '#e4c57b',
    500: '#d2ae40',
    950: '#000000',
  },
}
SCSS
$custom: #d2ae40;
$custom-light: #e4c57b;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ae40",
  "rgb": {
    "r": 210,
    "g": 174,
    "b": 64
  },
  "hsl": {
    "h": 45.205,
    "s": 61.864,
    "l": 53.725
  },
  "oklch": {
    "l": 0.7632,
    "c": 0.13192,
    "h": 90.5
  },
  "luminance": 0.44344
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D2AE40

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

Preview Lab → · Contrast checker → · Palette generator →

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