#D9B23F#D9B23F

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

Color values

HEX#D9B23F
RGBrgb(217, 178, 63)
HSLhsl(45, 67%, 55%)
HSVhsv(45, 71%, 85%)
CMYKcmyk(0%, 18%, 71%, 14.9%)
CIE-LABlab(74.16, 2.33, 61.26)
CIE-LCHlch(74.16, 61.31, 87.82°)
OKLaboklab(77.82% 0.0008 0.1365)
OKLCHoklch(77.82% 0.136 89.7)
XYZxyz(45.4354, 46.9542, 11.3716)
Luminance0.4695 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9B23F #3F66D9
analogous
#D9653F #D9B23F #B3D93F
triadic
#D9B23F #3FD9B2 #B23FD9
tetradic
#D9B23F #3FD965 #3F66D9 #D93FB3
square
#D9B23F #3FD965 #3F66D9 #D93FB3
split-complementary
#D9B23F #3FB3D9 #653FD9
monochromatic
#84691A #B79224 #D9B23F #E3C672 #EDDBA5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D9B23F#FFFFFF#000000##000000
##D9B23F1.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)
#C6B02F
Deuteranopia (green-blind)
#CFBB45
Tritanopia (blue-blind)
#EBA39B
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #d9b23f;
/* rgb */ color: rgb(217, 178, 63);
/* oklch */ color: oklch(77.8% 0.136 89.7);
Tailwind
colors: {
  custom: {
    50: '#e9c87b',
    500: '#d9b23f',
    950: '#000000',
  },
}
SCSS
$custom: #d9b23f;
$custom-light: #e9c87b;
$custom-dark: #000000;
JSON
{
  "hex": "#d9b23f",
  "rgb": {
    "r": 217,
    "g": 178,
    "b": 63
  },
  "hsl": {
    "h": 44.805,
    "s": 66.957,
    "l": 54.902
  },
  "oklch": {
    "l": 0.77817,
    "c": 0.13647,
    "h": 89.7
  },
  "luminance": 0.46951
}

Semantic roles & 50–950 ramp

primary
#D9B23F
secondary
#9AAADA
accent
#69EA3E
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#17130A
muted
#85827C

Preview Lab

Preview with #D9B23F

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

Preview Lab → · Contrast checker → · Palette generator →

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