#D4B623#D4B623

#D4B623 is a light, vivid yellow. Relative luminance 0.476; OKLCH L 78.0% C 0.153 H 96.3°. Best body text is #000000 at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#D4B623
RGBrgb(212, 182, 35)
HSLhsl(50, 72%, 48%)
HSVhsv(50, 83%, 83%)
CMYKcmyk(0%, 14.2%, 83.5%, 16.9%)
CIE-LABlab(74.56, -3.00, 70.84)
CIE-LCHlch(74.56, 70.90, 92.43°)
OKLaboklab(77.97% -0.0168 0.1517)
OKLCHoklch(77.97% 0.153 96.3)
XYZxyz(44.1852, 47.5768, 8.4457)
Luminance0.4757 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4B623 #2341D4
analogous
#D45E23 #D4B623 #99D423
triadic
#D4B623 #23D4B6 #B623D4
tetradic
#D4B623 #23D45E #2341D4 #D42399
square
#D4B623 #23D45E #2341D4 #D42399
split-complementary
#D4B623 #2399D4 #5E23D4
monochromatic
#6B5C12 #9F891A #D4B623 #E2CA52 #EBDA86

Accessibility & contrast

On white

2.00
#D4B623 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.51
#D4B623 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4B623
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4B623#FFFFFF#000000##000000
##D4B6231.002.0010.5110.51
#FFFFFF2.001.0021.0021.00
#00000010.5121.001.001.00
##00000010.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB200
Deuteranopia (green-blind)
#D1BB2F
Tritanopia (blue-blind)
#E6A79C
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #d4b623;
/* rgb */ color: rgb(212, 182, 35);
/* oklch */ color: oklch(78.0% 0.153 96.3);
Tailwind
colors: {
  custom: {
    50: '#e6cb6e',
    500: '#d4b623',
    950: '#000000',
  },
}
SCSS
$custom: #d4b623;
$custom-light: #e6cb6e;
$custom-dark: #000000;
JSON
{
  "hex": "#d4b623",
  "rgb": {
    "r": 212,
    "g": 182,
    "b": 35
  },
  "hsl": {
    "h": 49.831,
    "s": 71.66,
    "l": 48.431
  },
  "oklch": {
    "l": 0.77971,
    "c": 0.15263,
    "h": 96.3
  },
  "luminance": 0.47574
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D4B623

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

Preview Lab → · Contrast checker → · Palette generator →

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