#D2AF3B#D2AF3B

#D2AF3B is a light, vivid yellow. Relative luminance 0.447; OKLCH L 76.5% C 0.136 H 91.7°. Best body text is #000000 at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#D2AF3B
RGBrgb(210, 175, 59)
HSLhsl(46, 63%, 53%)
HSVhsv(46, 72%, 82%)
CMYKcmyk(0%, 16.7%, 71.9%, 17.6%)
CIE-LABlab(72.68, 0.70, 61.15)
CIE-LCHlch(72.68, 61.15, 89.35°)
OKLaboklab(76.48% -0.004 0.1358)
OKLCHoklch(76.48% 0.136 91.7)
XYZxyz(42.7001, 44.6799, 10.5118)
Luminance0.4468 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2AF3B #3B5ED2
analogous
#D2643B #D2AF3B #A9D23B
triadic
#D2AF3B #3BD2AF #AF3BD2
tetradic
#D2AF3B #3BD264 #3B5ED2 #D23BA9
square
#D2AF3B #3BD264 #3B5ED2 #D23BA9
split-complementary
#D2AF3B #3BA9D2 #643BD2
monochromatic
#77621B #A98B27 #D2AF3B #DDC36D #E9D89F

Accessibility & contrast

On white

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

On black

9.94
#D2AF3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2AF3B
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2AF3B#FFFFFF#000000##000000
##D2AF3B1.002.119.949.94
#FFFFFF2.111.0021.0021.00
#0000009.9421.001.001.00
##0000009.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC2A
Deuteranopia (green-blind)
#CBB741
Tritanopia (blue-blind)
#E3A198
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #d2af3b;
/* rgb */ color: rgb(210, 175, 59);
/* oklch */ color: oklch(76.5% 0.136 91.7);
Tailwind
colors: {
  custom: {
    50: '#e4c678',
    500: '#d2af3b',
    950: '#000000',
  },
}
SCSS
$custom: #d2af3b;
$custom-light: #e4c678;
$custom-dark: #000000;
JSON
{
  "hex": "#d2af3b",
  "rgb": {
    "r": 210,
    "g": 175,
    "b": 59
  },
  "hsl": {
    "h": 46.093,
    "s": 62.656,
    "l": 52.745
  },
  "oklch": {
    "l": 0.76483,
    "c": 0.13581,
    "h": 91.7
  },
  "luminance": 0.44677
}

Semantic roles & 50–950 ramp

primary
#D2AF3B
secondary
#94A3D5
accent
#68E642
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #D2AF3B

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

Preview Lab → · Contrast checker → · Palette generator →

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