#D2A02F#D2A02F

#D2A02F is a light, vivid orange. Relative luminance 0.390; OKLCH L 73.4% C 0.136 H 83.2°. Best body text is #000000 at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#D2A02F
RGBrgb(210, 160, 47)
HSLhsl(42, 64%, 50%)
HSVhsv(42, 78%, 82%)
CMYKcmyk(0%, 23.8%, 77.6%, 17.6%)
CIE-LABlab(68.79, 8.18, 61.94)
CIE-LCHlch(68.79, 62.48, 82.48°)
OKLaboklab(73.4% 0.0162 0.135)
OKLCHoklch(73.4% 0.136 83.2)
XYZxyz(39.6649, 39.0514, 8.1374)
Luminance0.3905 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2A02F #2F61D2
analogous
#D24E2F #D2A02F #B3D22F
triadic
#D2A02F #2FD2A0 #A02FD2
tetradic
#D2A02F #2FD24E #2F61D2 #D22FB3
square
#D2A02F #2FD24E #2F61D2 #D22FB3
split-complementary
#D2A02F #2FB3D2 #4E2FD2
monochromatic
#6F5418 #A17A23 #D2A02F #DDB761 #E8CE94

Accessibility & contrast

On white

2.38
#D2A02F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.81
#D2A02F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2A02F
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2A02F#FFFFFF#000000##000000
##D2A02F1.002.388.818.81
#FFFFFF2.381.0021.0021.00
#0000008.8121.001.001.00
##0000008.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A01A
Deuteranopia (green-blind)
#C1AD35
Tritanopia (blue-blind)
#E4908A
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #d2a02f;
/* rgb */ color: rgb(210, 160, 47);
/* oklch */ color: oklch(73.4% 0.136 83.2);
Tailwind
colors: {
  custom: {
    50: '#e5bb70',
    500: '#d2a02f',
    950: '#000000',
  },
}
SCSS
$custom: #d2a02f;
$custom-light: #e5bb70;
$custom-dark: #000000;
JSON
{
  "hex": "#d2a02f",
  "rgb": {
    "r": 210,
    "g": 160,
    "b": 47
  },
  "hsl": {
    "h": 41.595,
    "s": 64.427,
    "l": 50.392
  },
  "oklch": {
    "l": 0.73395,
    "c": 0.136,
    "h": 83.2
  },
  "luminance": 0.39048
}

Semantic roles & 50–950 ramp

primary
#D2A02F
secondary
#8AA0D3
accent
#74E740
background
#FEFBF7
surface
#FDF6ED
border
#D5D0C8
text
#171108
muted
#85807B

Preview Lab

Preview with #D2A02F

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

Preview Lab → · Contrast checker → · Palette generator →

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