#D2A240#D2A240

#D2A240 is a light, vivid orange. Relative luminance 0.399; OKLCH L 73.9% C 0.126 H 82.1°. Best body text is #000000 at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#D2A240
RGBrgb(210, 162, 64)
HSLhsl(40, 62%, 54%)
HSVhsv(40, 70%, 82%)
CMYKcmyk(0%, 22.9%, 69.5%, 17.6%)
CIE-LABlab(69.41, 7.88, 55.76)
CIE-LCHlch(69.41, 56.32, 81.96°)
OKLaboklab(73.92% 0.0174 0.1253)
OKLCHoklch(73.92% 0.126 82.1)
XYZxyz(40.4265, 39.9153, 10.4247)
Luminance0.3991 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2A240 #4070D2
analogous
#D25940 #D2A240 #B9D240
triadic
#D2A240 #40D2A2 #A240D2
tetradic
#D2A240 #40D259 #4070D2 #D240B9
square
#D2A240 #40D259 #4070D2 #D240B9
split-complementary
#D2A240 #40B9D2 #5940D2
monochromatic
#7B5C1D #AC8129 #D2A240 #DEBA72 #E9D2A3

Accessibility & contrast

On white

2.34
#D2A240 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.98
#D2A240 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2A240
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2A240#FFFFFF#000000##000000
##D2A2401.002.348.988.98
#FFFFFF2.341.0021.0021.00
#0000008.9821.001.001.00
##0000008.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A234
Deuteranopia (green-blind)
#C1AE44
Tritanopia (blue-blind)
#E4938E
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #d2a240;
/* rgb */ color: rgb(210, 162, 64);
/* oklch */ color: oklch(73.9% 0.126 82.1);
Tailwind
colors: {
  custom: {
    50: '#e4bd7a',
    500: '#d2a240',
    950: '#000000',
  },
}
SCSS
$custom: #d2a240;
$custom-light: #e4bd7a;
$custom-dark: #000000;
JSON
{
  "hex": "#d2a240",
  "rgb": {
    "r": 210,
    "g": 162,
    "b": 64
  },
  "hsl": {
    "h": 40.274,
    "s": 61.864,
    "l": 53.725
  },
  "oklch": {
    "l": 0.7392,
    "c": 0.12645,
    "h": 82.1
  },
  "luminance": 0.39912
}

Semantic roles & 50–950 ramp

primary
#D2A240
secondary
#98ACD6
accent
#78E543
background
#FEFBF7
surface
#FDF6EE
border
#D5D0C9
text
#161209
muted
#84817B

Preview Lab

Preview with #D2A240

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

Preview Lab → · Contrast checker → · Palette generator →

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