#D2AE3F#D2AE3F

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

Color values

HEX#D2AE3F
RGBrgb(210, 174, 63)
HSLhsl(45, 62%, 54%)
HSVhsv(45, 70%, 82%)
CMYKcmyk(0%, 17.1%, 70%, 17.6%)
CIE-LABlab(72.45, 1.43, 59.31)
CIE-LCHlch(72.45, 59.33, 88.62°)
OKLaboklab(76.31% -0.0014 0.1326)
OKLCHoklch(76.31% 0.133 90.6)
XYZxyz(42.6139, 44.3352, 11.0147)
Luminance0.4433 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2AE3F #3F63D2
analogous
#D2643F #D2AE3F #ACD23F
triadic
#D2AE3F #3FD2AE #AE3FD2
tetradic
#D2AE3F #3FD264 #3F63D2 #D23FAC
square
#D2AE3F #3FD264 #3F63D2 #D23FAC
split-complementary
#D2AE3F #3FACD2 #643FD2
monochromatic
#7A631D #AC8B28 #D2AE3F #DEC371 #E9D8A2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #d2ae3f;
/* rgb */ color: rgb(210, 174, 63);
/* oklch */ color: oklch(76.3% 0.133 90.6);
Tailwind
colors: {
  custom: {
    50: '#e4c57a',
    500: '#d2ae3f',
    950: '#000000',
  },
}
SCSS
$custom: #d2ae3f;
$custom-light: #e4c57a;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ae3f",
  "rgb": {
    "r": 210,
    "g": 174,
    "b": 63
  },
  "hsl": {
    "h": 45.306,
    "s": 62.025,
    "l": 53.529
  },
  "oklch": {
    "l": 0.76312,
    "c": 0.13261,
    "h": 90.6
  },
  "luminance": 0.44333
}

Semantic roles & 50–950 ramp

primary
#D2AE3F
secondary
#97A6D6
accent
#6AE543
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16120A
muted
#84817C

Preview Lab

Preview with #D2AE3F

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

Preview Lab → · Contrast checker → · Palette generator →

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