#D9B23D#D9B23D

#D9B23D is a light, vivid yellow. Relative luminance 0.469; OKLCH L 77.8% C 0.138 H 89.9°. Best body text is #000000 at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#D9B23D
RGBrgb(217, 178, 61)
HSLhsl(45, 67%, 55%)
HSVhsv(45, 72%, 85%)
CMYKcmyk(0%, 18%, 71.9%, 14.9%)
CIE-LABlab(74.15, 2.23, 62.04)
CIE-LCHlch(74.15, 62.08, 87.94°)
OKLaboklab(77.8% 0.0003 0.1378)
OKLCHoklch(77.8% 0.138 89.9)
XYZxyz(45.3805, 46.9322, 11.0826)
Luminance0.4693 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9B23D #3D64D9
analogous
#D9643D #D9B23D #B2D93D
triadic
#D9B23D #3DD9B2 #B23DD9
tetradic
#D9B23D #3DD964 #3D64D9 #D93DB2
square
#D9B23D #3DD964 #3D64D9 #D93DB2
split-complementary
#D9B23D #3DB2D9 #643DD9
monochromatic
#826819 #B59124 #D9B23D #E3C670 #EDDBA3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D9B23D#FFFFFF#000000##000000
##D9B23D1.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)
#C6B02C
Deuteranopia (green-blind)
#D0BB43
Tritanopia (blue-blind)
#EBA39A
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #d9b23d;
/* rgb */ color: rgb(217, 178, 61);
/* oklch */ color: oklch(77.8% 0.138 89.9);
Tailwind
colors: {
  custom: {
    50: '#e9c87a',
    500: '#d9b23d',
    950: '#000000',
  },
}
SCSS
$custom: #d9b23d;
$custom-light: #e9c87a;
$custom-dark: #000000;
JSON
{
  "hex": "#d9b23d",
  "rgb": {
    "r": 217,
    "g": 178,
    "b": 61
  },
  "hsl": {
    "h": 45,
    "s": 67.241,
    "l": 54.51
  },
  "oklch": {
    "l": 0.77801,
    "c": 0.13775,
    "h": 89.9
  },
  "luminance": 0.46929
}

Semantic roles & 50–950 ramp

primary
#D9B23D
secondary
#98A8DA
accent
#69EA3E
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#17130A
muted
#85827C

Preview Lab

Preview with #D9B23D

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

Preview Lab → · Contrast checker → · Palette generator →

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