#D2AE2C#D2AE2C

#D2AE2C is a light, vivid yellow. Relative luminance 0.442; OKLCH L 76.2% C 0.144 H 92.3°. Best body text is #000000 at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#D2AE2C
RGBrgb(210, 174, 44)
HSLhsl(47, 65%, 50%)
HSVhsv(47, 79%, 82%)
CMYKcmyk(0%, 17.1%, 79%, 17.6%)
CIE-LABlab(72.33, 0.61, 66.21)
CIE-LCHlch(72.33, 66.21, 89.48°)
OKLaboklab(76.18% -0.0058 0.1436)
OKLCHoklch(76.18% 0.144 92.3)
XYZxyz(42.1715, 44.1582, 8.6846)
Luminance0.4416 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2AE2C #2C50D2
analogous
#D25B2C #D2AE2C #A3D22C
triadic
#D2AE2C #2CD2AE #AE2CD2
tetradic
#D2AE2C #2CD25B #2C50D2 #D22CA3
square
#D2AE2C #2CD25B #2C50D2 #D22CA3
split-complementary
#D2AE2C #2CA3D2 #5B2CD2
monochromatic
#6D5A17 #9F8421 #D2AE2C #DDC25E #E8D591

Accessibility & contrast

On white

2.14
#D2AE2C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.83
#D2AE2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2AE2C
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2AE2C#FFFFFF#000000##000000
##D2AE2C1.002.149.839.83
#FFFFFF2.141.0021.0021.00
#0000009.8321.001.001.00
##0000009.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AB0C
Deuteranopia (green-blind)
#CBB634
Tritanopia (blue-blind)
#E49F96
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #d2ae2c;
/* rgb */ color: rgb(210, 174, 44);
/* oklch */ color: oklch(76.2% 0.144 92.3);
Tailwind
colors: {
  custom: {
    50: '#e4c570',
    500: '#d2ae2c',
    950: '#000000',
  },
}
SCSS
$custom: #d2ae2c;
$custom-light: #e4c570;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ae2c",
  "rgb": {
    "r": 210,
    "g": 174,
    "b": 44
  },
  "hsl": {
    "h": 46.988,
    "s": 65.354,
    "l": 49.804
  },
  "oklch": {
    "l": 0.76181,
    "c": 0.14368,
    "h": 92.3
  },
  "luminance": 0.44156
}

Semantic roles & 50–950 ramp

primary
#D2AE2C
secondary
#8798D2
accent
#64E83F
background
#FEFCF7
surface
#FDF8ED
border
#D5D1C8
text
#161208
muted
#84817B

Preview Lab

Preview with #D2AE2C

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

Preview Lab → · Contrast checker → · Palette generator →

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