#D2AE3B#D2AE3B

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

Color values

HEX#D2AE3B
RGBrgb(210, 174, 59)
HSLhsl(46, 63%, 53%)
HSVhsv(46, 72%, 82%)
CMYKcmyk(0%, 17.1%, 71.9%, 17.6%)
CIE-LABlab(72.42, 1.23, 60.89)
CIE-LCHlch(72.42, 60.91, 88.85°)
OKLaboklab(76.28% -0.0024 0.1352)
OKLCHoklch(76.28% 0.135 91)
XYZxyz(42.5062, 44.2921, 10.4472)
Luminance0.4429 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2AE3B #3B5FD2
analogous
#D2623B #D2AE3B #ABD23B
triadic
#D2AE3B #3BD2AE #AE3BD2
tetradic
#D2AE3B #3BD262 #3B5FD2 #D23BAB
square
#D2AE3B #3BD262 #3B5FD2 #D23BAB
split-complementary
#D2AE3B #3BABD2 #623BD2
monochromatic
#77611B #A98A27 #D2AE3B #DDC36D #E9D79F

Accessibility & contrast

On white

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

On black

9.86
#D2AE3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2AE3B
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2AE3B#FFFFFF#000000##000000
##D2AE3B1.002.139.869.86
#FFFFFF2.131.0021.0021.00
#0000009.8621.001.001.00
##0000009.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AC2A
Deuteranopia (green-blind)
#CAB641
Tritanopia (blue-blind)
#E3A097
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #d2ae3b;
/* rgb */ color: rgb(210, 174, 59);
/* oklch */ color: oklch(76.3% 0.135 91.0);
Tailwind
colors: {
  custom: {
    50: '#e4c578',
    500: '#d2ae3b',
    950: '#000000',
  },
}
SCSS
$custom: #d2ae3b;
$custom-light: #e4c578;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ae3b",
  "rgb": {
    "r": 210,
    "g": 174,
    "b": 59
  },
  "hsl": {
    "h": 45.695,
    "s": 62.656,
    "l": 52.745
  },
  "oklch": {
    "l": 0.7628,
    "c": 0.13523,
    "h": 91
  },
  "luminance": 0.4429
}

Semantic roles & 50–950 ramp

primary
#D2AE3B
secondary
#94A3D5
accent
#69E642
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#161209
muted
#84817B

Preview Lab

Preview with #D2AE3B

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

Preview Lab → · Contrast checker → · Palette generator →

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