#D2AF43#D2AF43

#D2AF43 is a light, vivid yellow. Relative luminance 0.448; OKLCH L 76.5% C 0.130 H 90.8°. Best body text is #000000 at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#D2AF43
RGBrgb(210, 175, 67)
HSLhsl(45, 61%, 54%)
HSVhsv(45, 68%, 82%)
CMYKcmyk(0%, 16.7%, 68.1%, 17.6%)
CIE-LABlab(72.74, 1.11, 57.94)
CIE-LCHlch(72.74, 57.95, 88.90°)
OKLaboklab(76.55% -0.0018 0.1304)
OKLCHoklch(76.55% 0.13 90.8)
XYZxyz(42.9237, 44.7693, 11.6896)
Luminance0.4477 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2AF43 #4366D2
analogous
#D26843 #D2AF43 #ADD243
triadic
#D2AF43 #43D2AF #AF43D2
tetradic
#D2AF43 #43D268 #4366D2 #D243AD
square
#D2AF43 #43D268 #4366D2 #D243AD
split-complementary
#D2AF43 #43ADD2 #6843D2
monochromatic
#7D661E #AE8E2A #D2AF43 #DEC474 #EAD9A6

Accessibility & contrast

On white

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

On black

9.95
#D2AF43 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2AF43
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2AF43#FFFFFF#000000##000000
##D2AF431.002.119.959.95
#FFFFFF2.111.0021.0021.00
#0000009.9521.001.001.00
##0000009.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AD35
Deuteranopia (green-blind)
#CAB748
Tritanopia (blue-blind)
#E3A199
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #d2af43;
/* rgb */ color: rgb(210, 175, 67);
/* oklch */ color: oklch(76.5% 0.130 90.8);
Tailwind
colors: {
  custom: {
    50: '#e4c67d',
    500: '#d2af43',
    950: '#000000',
  },
}
SCSS
$custom: #d2af43;
$custom-light: #e4c67d;
$custom-dark: #000000;
JSON
{
  "hex": "#d2af43",
  "rgb": {
    "r": 210,
    "g": 175,
    "b": 67
  },
  "hsl": {
    "h": 45.315,
    "s": 61.373,
    "l": 54.314
  },
  "oklch": {
    "l": 0.76548,
    "c": 0.13041,
    "h": 90.8
  },
  "luminance": 0.44767
}

Semantic roles & 50–950 ramp

primary
#D2AF43
secondary
#9AA9D7
accent
#6BE443
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D2AF43

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

Preview Lab → · Contrast checker → · Palette generator →

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