#D2A642#D2A642

#D2A642 is a light, vivid orange. Relative luminance 0.414; OKLCH L 74.7% C 0.127 H 84.7°. Best body text is #000000 at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#D2A642
RGBrgb(210, 166, 66)
HSLhsl(42, 62%, 54%)
HSVhsv(42, 69%, 82%)
CMYKcmyk(0%, 21%, 68.6%, 17.6%)
CIE-LABlab(70.43, 5.84, 55.97)
CIE-LCHlch(70.43, 56.27, 84.04°)
OKLaboklab(74.73% 0.0117 0.126)
OKLCHoklch(74.73% 0.127 84.7)
XYZxyz(41.2003, 41.3702, 10.9684)
Luminance0.4137 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2A642 #426ED2
analogous
#D25E42 #D2A642 #B6D242
triadic
#D2A642 #42D2A6 #A642D2
tetradic
#D2A642 #42D25E #426ED2 #D242B6
square
#D2A642 #42D25E #426ED2 #D242B6
split-complementary
#D2A642 #42B6D2 #5E42D2
monochromatic
#7C5F1E #AD8529 #D2A642 #DEBD73 #EAD5A5

Accessibility & contrast

On white

2.26
#D2A642 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.27
#D2A642 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2A642
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2A642#FFFFFF#000000##000000
##D2A6421.002.269.279.27
#FFFFFF2.261.0021.0021.00
#0000009.2721.001.001.00
##0000009.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA636
Deuteranopia (green-blind)
#C4B146
Tritanopia (blue-blind)
#E39891
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #d2a642;
/* rgb */ color: rgb(210, 166, 66);
/* oklch */ color: oklch(74.7% 0.127 84.7);
Tailwind
colors: {
  custom: {
    50: '#e4c07b',
    500: '#d2a642',
    950: '#000000',
  },
}
SCSS
$custom: #d2a642;
$custom-light: #e4c07b;
$custom-dark: #000000;
JSON
{
  "hex": "#d2a642",
  "rgb": {
    "r": 210,
    "g": 166,
    "b": 66
  },
  "hsl": {
    "h": 41.667,
    "s": 61.538,
    "l": 54.118
  },
  "oklch": {
    "l": 0.74731,
    "c": 0.12657,
    "h": 84.7
  },
  "luminance": 0.41367
}

Semantic roles & 50–950 ramp

primary
#D2A642
secondary
#99ACD7
accent
#75E543
background
#FEFBF7
surface
#FDF7EE
border
#D5D0C9
text
#16120A
muted
#84817C

Preview Lab

Preview with #D2A642

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

Preview Lab → · Contrast checker → · Palette generator →

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