#D2A838#D2A838

#D2A838 is a light, vivid orange. Relative luminance 0.420; OKLCH L 75.0% C 0.134 H 87.5°. Best body text is #000000 at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#D2A838
RGBrgb(210, 168, 56)
HSLhsl(44, 63%, 52%)
HSVhsv(44, 73%, 82%)
CMYKcmyk(0%, 20%, 73.3%, 17.6%)
CIE-LABlab(70.87, 4.27, 60.54)
CIE-LCHlch(70.87, 60.69, 85.96°)
OKLaboklab(75.05% 0.006 0.1339)
OKLCHoklch(75.05% 0.134 87.5)
XYZxyz(41.2972, 41.9952, 9.6714)
Luminance0.4199 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2A838 #3862D2
analogous
#D25B38 #D2A838 #AFD238
triadic
#D2A838 #38D2A8 #A838D2
tetradic
#D2A838 #38D25B #3862D2 #D238AF
square
#D2A838 #38D25B #3862D2 #D238AF
split-complementary
#D2A838 #38AFD2 #5B38D2
monochromatic
#755C1A #A78426 #D2A838 #DDBE6A #E9D49C

Accessibility & contrast

On white

2.23
#D2A838 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.40
#D2A838 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2A838
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2A838#FFFFFF#000000##000000
##D2A8381.002.239.409.40
#FFFFFF2.231.0021.0021.00
#0000009.4021.001.001.00
##0000009.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA727
Deuteranopia (green-blind)
#C6B23E
Tritanopia (blue-blind)
#E49992
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #d2a838;
/* rgb */ color: rgb(210, 168, 56);
/* oklch */ color: oklch(75.0% 0.134 87.5);
Tailwind
colors: {
  custom: {
    50: '#e4c176',
    500: '#d2a838',
    950: '#000000',
  },
}
SCSS
$custom: #d2a838;
$custom-light: #e4c176;
$custom-dark: #000000;
JSON
{
  "hex": "#d2a838",
  "rgb": {
    "r": 210,
    "g": 168,
    "b": 56
  },
  "hsl": {
    "h": 43.636,
    "s": 63.115,
    "l": 52.157
  },
  "oklch": {
    "l": 0.75047,
    "c": 0.13401,
    "h": 87.5
  },
  "luminance": 0.41992
}

Semantic roles & 50–950 ramp

primary
#D2A838
secondary
#91A4D5
accent
#6FE642
background
#FEFBF7
surface
#FDF7ED
border
#D5D0C8
text
#161209
muted
#84817B

Preview Lab

Preview with #D2A838

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

Preview Lab → · Contrast checker → · Palette generator →

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