#D2AE38#D2AE38

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

Color values

HEX#D2AE38
RGBrgb(210, 174, 56)
HSLhsl(46, 63%, 52%)
HSVhsv(46, 73%, 82%)
CMYKcmyk(0%, 17.1%, 73.3%, 17.6%)
CIE-LABlab(72.40, 1.09, 62.04)
CIE-LCHlch(72.40, 62.05, 89.00°)
OKLaboklab(76.26% -0.0032 0.1371)
OKLCHoklch(76.26% 0.137 91.3)
XYZxyz(42.4306, 44.2618, 10.0491)
Luminance0.4426 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2AE38 #385CD2
analogous
#D26138 #D2AE38 #A9D238
triadic
#D2AE38 #38D2AE #AE38D2
tetradic
#D2AE38 #38D261 #385CD2 #D238A9
square
#D2AE38 #38D261 #385CD2 #D238A9
split-complementary
#D2AE38 #38A9D2 #6138D2
monochromatic
#75601A #A78926 #D2AE38 #DDC26A #E9D79C

Accessibility & contrast

On white

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

On black

9.85
#D2AE38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2AE38
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2AE38#FFFFFF#000000##000000
##D2AE381.002.139.859.85
#FFFFFF2.131.0021.0021.00
#0000009.8521.001.001.00
##0000009.8521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2ae38;
/* rgb */ color: rgb(210, 174, 56);
/* oklch */ color: oklch(76.3% 0.137 91.3);
Tailwind
colors: {
  custom: {
    50: '#e4c576',
    500: '#d2ae38',
    950: '#000000',
  },
}
SCSS
$custom: #d2ae38;
$custom-light: #e4c576;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ae38",
  "rgb": {
    "r": 210,
    "g": 174,
    "b": 56
  },
  "hsl": {
    "h": 45.974,
    "s": 63.115,
    "l": 52.157
  },
  "oklch": {
    "l": 0.76258,
    "c": 0.13711,
    "h": 91.3
  },
  "luminance": 0.44259
}

Semantic roles & 50–950 ramp

primary
#D2AE38
secondary
#91A1D5
accent
#68E642
background
#FEFCF7
surface
#FDF8ED
border
#D5D1C8
text
#161209
muted
#84817B

Preview Lab

Preview with #D2AE38

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

Preview Lab → · Contrast checker → · Palette generator →

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