#D2AF46#D2AF46

#D2AF46 is a light, vivid yellow. Relative luminance 0.448; OKLCH L 76.6% C 0.128 H 90.4°. Best body text is #000000 at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#D2AF46
RGBrgb(210, 175, 70)
HSLhsl(45, 61%, 55%)
HSVhsv(45, 67%, 82%)
CMYKcmyk(0%, 16.7%, 66.7%, 17.6%)
CIE-LABlab(72.76, 1.28, 56.69)
CIE-LCHlch(72.76, 56.70, 88.71°)
OKLaboklab(76.58% -0.001 0.1282)
OKLCHoklch(76.58% 0.128 90.4)
XYZxyz(43.0160, 44.8063, 12.1759)
Luminance0.4480 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2AF46 #4669D2
analogous
#D26946 #D2AF46 #AFD246
triadic
#D2AF46 #46D2AF #AF46D2
tetradic
#D2AF46 #46D269 #4669D2 #D246AF
square
#D2AF46 #46D269 #4669D2 #D246AF
split-complementary
#D2AF46 #46AFD2 #6946D2
monochromatic
#7F671F #B08F2B #D2AF46 #DEC477 #EADAA8

Accessibility & contrast

On white

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

On black

9.96
#D2AF46 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2AF46
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2AF46#FFFFFF#000000##000000
##D2AF461.002.119.969.96
#FFFFFF2.111.0021.0021.00
#0000009.9621.001.001.00
##0000009.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AD39
Deuteranopia (green-blind)
#CAB74B
Tritanopia (blue-blind)
#E3A199
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #d2af46;
/* rgb */ color: rgb(210, 175, 70);
/* oklch */ color: oklch(76.6% 0.128 90.4);
Tailwind
colors: {
  custom: {
    50: '#e3c67e',
    500: '#d2af46',
    950: '#000000',
  },
}
SCSS
$custom: #d2af46;
$custom-light: #e3c67e;
$custom-dark: #000000;
JSON
{
  "hex": "#d2af46",
  "rgb": {
    "r": 210,
    "g": 175,
    "b": 70
  },
  "hsl": {
    "h": 45,
    "s": 60.87,
    "l": 54.902
  },
  "oklch": {
    "l": 0.76576,
    "c": 0.12822,
    "h": 90.4
  },
  "luminance": 0.44804
}

Semantic roles & 50–950 ramp

primary
#D2AF46
secondary
#9CABD7
accent
#6CE444
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D2AF46

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

Preview Lab → · Contrast checker → · Palette generator →

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