#D9B240#D9B240

#D9B240 is a light, vivid orange. Relative luminance 0.470; OKLCH L 77.8% C 0.136 H 89.6°. Best body text is #000000 at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#D9B240
RGBrgb(217, 178, 64)
HSLhsl(45, 67%, 55%)
HSVhsv(45, 71%, 85%)
CMYKcmyk(0%, 18%, 70.5%, 14.9%)
CIE-LABlab(74.17, 2.38, 60.87)
CIE-LCHlch(74.17, 60.91, 87.76°)
OKLaboklab(77.83% 0.001 0.1358)
OKLCHoklch(77.83% 0.136 89.6)
XYZxyz(45.4636, 46.9655, 11.5201)
Luminance0.4696 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9B240 #4067D9
analogous
#D96640 #D9B240 #B3D940
triadic
#D9B240 #40D9B2 #B240D9
tetradic
#D9B240 #40D966 #4067D9 #D940B3
square
#D9B240 #40D966 #4067D9 #D940B3
split-complementary
#D9B240 #40B3D9 #6640D9
monochromatic
#84691A #B79224 #D9B240 #E3C773 #EDDBA6

Accessibility & contrast

On white

2.02
#D9B240 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.39
#D9B240 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9B240
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9B240#FFFFFF#000000##000000
##D9B2401.002.0210.3910.39
#FFFFFF2.021.0021.0021.00
#00000010.3921.001.001.00
##00000010.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B030
Deuteranopia (green-blind)
#CFBB46
Tritanopia (blue-blind)
#EBA39B
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #d9b240;
/* rgb */ color: rgb(217, 178, 64);
/* oklch */ color: oklch(77.8% 0.136 89.6);
Tailwind
colors: {
  custom: {
    50: '#e9c87b',
    500: '#d9b240',
    950: '#000000',
  },
}
SCSS
$custom: #d9b240;
$custom-light: #e9c87b;
$custom-dark: #000000;
JSON
{
  "hex": "#d9b240",
  "rgb": {
    "r": 217,
    "g": 178,
    "b": 64
  },
  "hsl": {
    "h": 44.706,
    "s": 66.812,
    "l": 55.098
  },
  "oklch": {
    "l": 0.77825,
    "c": 0.13581,
    "h": 89.6
  },
  "luminance": 0.46963
}

Semantic roles & 50–950 ramp

primary
#D9B240
secondary
#9AABDA
accent
#6AEA3E
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#17130A
muted
#85827C

Preview Lab

Preview with #D9B240

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

Preview Lab → · Contrast checker → · Palette generator →

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