#D4B723#D4B723

#D4B723 is a light, vivid yellow. Relative luminance 0.480; OKLCH L 78.2% C 0.153 H 96.9°. Best body text is #000000 at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#D4B723
RGBrgb(212, 183, 35)
HSLhsl(50, 72%, 48%)
HSVhsv(50, 83%, 83%)
CMYKcmyk(0%, 13.7%, 83.5%, 16.9%)
CIE-LABlab(74.82, -3.52, 71.06)
CIE-LCHlch(74.82, 71.14, 92.84°)
OKLaboklab(78.18% -0.0183 0.1522)
OKLCHoklch(78.18% 0.153 96.9)
XYZxyz(44.3907, 47.9879, 8.5142)
Luminance0.4798 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4B723 #2340D4
analogous
#D45E23 #D4B723 #99D423
triadic
#D4B723 #23D4B7 #B723D4
tetradic
#D4B723 #23D45E #2340D4 #D42399
square
#D4B723 #23D45E #2340D4 #D42399
split-complementary
#D4B723 #2399D4 #5E23D4
monochromatic
#6B5C12 #9F8A1A #D4B723 #E2CB52 #EBDB86

Accessibility & contrast

On white

1.98
#D4B723 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.60
#D4B723 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4B723
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4B723#FFFFFF#000000##000000
##D4B7231.001.9810.6010.60
#FFFFFF1.981.0021.0021.00
#00000010.6021.001.001.00
##00000010.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB300
Deuteranopia (green-blind)
#D2BC2F
Tritanopia (blue-blind)
#E5A89D
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #d4b723;
/* rgb */ color: rgb(212, 183, 35);
/* oklch */ color: oklch(78.2% 0.153 96.9);
Tailwind
colors: {
  custom: {
    50: '#e6cc6e',
    500: '#d4b723',
    950: '#000000',
  },
}
SCSS
$custom: #d4b723;
$custom-light: #e6cc6e;
$custom-dark: #000000;
JSON
{
  "hex": "#d4b723",
  "rgb": {
    "r": 212,
    "g": 183,
    "b": 35
  },
  "hsl": {
    "h": 50.169,
    "s": 71.66,
    "l": 48.431
  },
  "oklch": {
    "l": 0.78176,
    "c": 0.15328,
    "h": 96.9
  },
  "luminance": 0.47985
}

Semantic roles & 50–950 ramp

primary
#D4B723
secondary
#7E8DD4
accent
#57EE39
background
#FEFCF7
surface
#FDF8ED
border
#D5D1C8
text
#171308
muted
#85827B

Preview Lab

Preview with #D4B723

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

Preview Lab → · Contrast checker → · Palette generator →

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