#D2A23F#D2A23F

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

Color values

HEX#D2A23F
RGBrgb(210, 162, 63)
HSLhsl(40, 62%, 54%)
HSVhsv(40, 70%, 82%)
CMYKcmyk(0%, 22.9%, 70%, 17.6%)
CIE-LABlab(69.40, 7.83, 56.18)
CIE-LCHlch(69.40, 56.73, 82.07°)
OKLaboklab(73.91% 0.0171 0.126)
OKLCHoklch(73.91% 0.127 82.3)
XYZxyz(40.3983, 39.9040, 10.2762)
Luminance0.3990 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2A23F #3F6FD2
analogous
#D2583F #D2A23F #B8D23F
triadic
#D2A23F #3FD2A2 #A23FD2
tetradic
#D2A23F #3FD258 #3F6FD2 #D23FB8
square
#D2A23F #3FD258 #3F6FD2 #D23FB8
split-complementary
#D2A23F #3FB8D2 #583FD2
monochromatic
#7A5C1D #AC8128 #D2A23F #DEBA71 #E9D2A2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2A23F#FFFFFF#000000##000000
##D2A23F1.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)
#B6A232
Deuteranopia (green-blind)
#C1AE43
Tritanopia (blue-blind)
#E4938D
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #d2a23f;
/* rgb */ color: rgb(210, 162, 63);
/* oklch */ color: oklch(73.9% 0.127 82.3);
Tailwind
colors: {
  custom: {
    50: '#e4bd79',
    500: '#d2a23f',
    950: '#000000',
  },
}
SCSS
$custom: #d2a23f;
$custom-light: #e4bd79;
$custom-dark: #000000;
JSON
{
  "hex": "#d2a23f",
  "rgb": {
    "r": 210,
    "g": 162,
    "b": 63
  },
  "hsl": {
    "h": 40.408,
    "s": 62.025,
    "l": 53.529
  },
  "oklch": {
    "l": 0.73911,
    "c": 0.12712,
    "h": 82.3
  },
  "luminance": 0.39901
}

Semantic roles & 50–950 ramp

primary
#D2A23F
secondary
#97ABD6
accent
#78E543
background
#FEFBF7
surface
#FDF6EE
border
#D5D0C9
text
#161209
muted
#84817B

Preview Lab

Preview with #D2A23F

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

Preview Lab → · Contrast checker → · Palette generator →

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