#D2AB38#D2AB38

#D2AB38 is a light, vivid orange. Relative luminance 0.431; OKLCH L 75.7% C 0.135 H 89.4°. Best body text is #000000 at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#D2AB38
RGBrgb(210, 171, 56)
HSLhsl(45, 63%, 52%)
HSVhsv(45, 73%, 82%)
CMYKcmyk(0%, 18.6%, 73.3%, 17.6%)
CIE-LABlab(71.63, 2.68, 61.29)
CIE-LCHlch(71.63, 61.34, 87.50°)
OKLaboklab(75.65% 0.0014 0.1355)
OKLCHoklch(75.65% 0.135 89.4)
XYZxyz(41.8575, 43.1156, 9.8581)
Luminance0.4311 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2AB38 #385FD2
analogous
#D25E38 #D2AB38 #ACD238
triadic
#D2AB38 #38D2AB #AB38D2
tetradic
#D2AB38 #38D25E #385FD2 #D238AC
square
#D2AB38 #38D25E #385FD2 #D238AC
split-complementary
#D2AB38 #38ACD2 #5E38D2
monochromatic
#755E1A #A78626 #D2AB38 #DDC06A #E9D59C

Accessibility & contrast

On white

2.18
#D2AB38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.62
#D2AB38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2AB38
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2AB38#FFFFFF#000000##000000
##D2AB381.002.189.629.62
#FFFFFF2.181.0021.0021.00
#0000009.6221.001.001.00
##0000009.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA926
Deuteranopia (green-blind)
#C8B43E
Tritanopia (blue-blind)
#E39C94
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #d2ab38;
/* rgb */ color: rgb(210, 171, 56);
/* oklch */ color: oklch(75.7% 0.135 89.4);
Tailwind
colors: {
  custom: {
    50: '#e4c376',
    500: '#d2ab38',
    950: '#000000',
  },
}
SCSS
$custom: #d2ab38;
$custom-light: #e4c376;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ab38",
  "rgb": {
    "r": 210,
    "g": 171,
    "b": 56
  },
  "hsl": {
    "h": 44.805,
    "s": 63.115,
    "l": 52.157
  },
  "oklch": {
    "l": 0.75651,
    "c": 0.13548,
    "h": 89.4
  },
  "luminance": 0.43113
}

Semantic roles & 50–950 ramp

primary
#D2AB38
secondary
#91A2D5
accent
#6BE642
background
#FEFBF7
surface
#FDF7ED
border
#D5D0C8
text
#161209
muted
#84817B

Preview Lab

Preview with #D2AB38

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

Preview Lab → · Contrast checker → · Palette generator →

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