#D5A938#D5A938

#D5A938 is a light, vivid orange. Relative luminance 0.428; OKLCH L 75.6% C 0.135 H 86.6°. Best body text is #000000 at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#D5A938
RGBrgb(213, 169, 56)
HSLhsl(43, 65%, 53%)
HSVhsv(43, 74%, 84%)
CMYKcmyk(0%, 20.7%, 73.7%, 16.5%)
CIE-LABlab(71.43, 5.04, 61.19)
CIE-LCHlch(71.43, 61.39, 85.29°)
OKLaboklab(75.56% 0.008 0.1351)
OKLCHoklch(75.56% 0.135 86.6)
XYZxyz(42.3449, 42.8104, 9.7736)
Luminance0.4281 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5A938 #3864D5
analogous
#D55B38 #D5A938 #B2D538
triadic
#D5A938 #38D5A9 #A938D5
tetradic
#D5A938 #38D55B #3864D5 #D538B2
square
#D5A938 #38D55B #3864D5 #D538B2
split-complementary
#D5A938 #38B2D5 #5B38D5
monochromatic
#795E1A #AC8624 #D5A938 #E0BF6B #EAD59D

Accessibility & contrast

On white

2.20
#D5A938 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.56
#D5A938 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5A938
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5A938#FFFFFF#000000##000000
##D5A9381.002.209.569.56
#FFFFFF2.201.0021.0021.00
#0000009.5621.001.001.00
##0000009.5621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d5a938;
/* rgb */ color: rgb(213, 169, 56);
/* oklch */ color: oklch(75.6% 0.135 86.6);
Tailwind
colors: {
  custom: {
    50: '#e6c276',
    500: '#d5a938',
    950: '#000000',
  },
}
SCSS
$custom: #d5a938;
$custom-light: #e6c276;
$custom-dark: #000000;
JSON
{
  "hex": "#d5a938",
  "rgb": {
    "r": 213,
    "g": 169,
    "b": 56
  },
  "hsl": {
    "h": 43.185,
    "s": 65.145,
    "l": 52.745
  },
  "oklch": {
    "l": 0.75557,
    "c": 0.13537,
    "h": 86.6
  },
  "luminance": 0.42808
}

Semantic roles & 50–950 ramp

primary
#D5A938
secondary
#92A5D6
accent
#6FE840
background
#FEFBF7
surface
#FDF7ED
border
#D5D0C8
text
#171209
muted
#85817B

Preview Lab

Preview with #D5A938

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

Preview Lab → · Contrast checker → · Palette generator →

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