#D2A740#D2A740

#D2A740 is a light, vivid orange. Relative luminance 0.417; OKLCH L 74.9% C 0.128 H 85.7°. Best body text is #000000 at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#D2A740
RGBrgb(210, 167, 64)
HSLhsl(42, 62%, 54%)
HSVhsv(42, 70%, 82%)
CMYKcmyk(0%, 20.5%, 69.5%, 17.6%)
CIE-LABlab(70.67, 5.20, 57.07)
CIE-LCHlch(70.67, 57.31, 84.79°)
OKLaboklab(74.91% 0.0096 0.128)
OKLCHoklch(74.91% 0.128 85.7)
XYZxyz(41.3249, 41.7120, 10.7241)
Luminance0.4171 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2A740 #406BD2
analogous
#D25E40 #D2A740 #B4D240
triadic
#D2A740 #40D2A7 #A740D2
tetradic
#D2A740 #40D25E #406BD2 #D240B4
square
#D2A740 #40D25E #406BD2 #D240B4
split-complementary
#D2A740 #40B4D2 #5E40D2
monochromatic
#7B5F1D #AC8529 #D2A740 #DEBE72 #E9D5A3

Accessibility & contrast

On white

2.25
#D2A740 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.34
#D2A740 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2A740
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2A740#FFFFFF#000000##000000
##D2A7401.002.259.349.34
#FFFFFF2.251.0021.0021.00
#0000009.3421.001.001.00
##0000009.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA633
Deuteranopia (green-blind)
#C5B244
Tritanopia (blue-blind)
#E39992
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #d2a740;
/* rgb */ color: rgb(210, 167, 64);
/* oklch */ color: oklch(74.9% 0.128 85.7);
Tailwind
colors: {
  custom: {
    50: '#e4c07a',
    500: '#d2a740',
    950: '#000000',
  },
}
SCSS
$custom: #d2a740;
$custom-light: #e4c07a;
$custom-dark: #000000;
JSON
{
  "hex": "#d2a740",
  "rgb": {
    "r": 210,
    "g": 167,
    "b": 64
  },
  "hsl": {
    "h": 42.329,
    "s": 61.864,
    "l": 53.725
  },
  "oklch": {
    "l": 0.74912,
    "c": 0.12839,
    "h": 85.7
  },
  "luminance": 0.41709
}

Semantic roles & 50–950 ramp

primary
#D2A740
secondary
#98AAD6
accent
#73E543
background
#FEFBF7
surface
#FDF7EE
border
#D5D0C9
text
#16120A
muted
#84817C

Preview Lab

Preview with #D2A740

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

Preview Lab → · Contrast checker → · Palette generator →

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