#D4B23A#D4B23A

#D4B23A is a light, vivid yellow. Relative luminance 0.461; OKLCH L 77.3% C 0.139 H 92.6°. Best body text is #000000 at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#D4B23A
RGBrgb(212, 178, 58)
HSLhsl(47, 64%, 53%)
HSVhsv(47, 73%, 83%)
CMYKcmyk(0%, 16%, 72.6%, 16.9%)
CIE-LABlab(73.64, -0.07, 62.55)
CIE-LCHlch(73.64, 62.55, 90.06°)
OKLaboklab(77.28% -0.0064 0.1385)
OKLCHoklch(77.28% 0.139 92.6)
XYZxyz(43.8379, 46.1459, 10.6002)
Luminance0.4614 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4B23A #3A5CD4
analogous
#D4653A #D4B23A #A9D43A
triadic
#D4B23A #3AD4B2 #B23AD4
tetradic
#D4B23A #3AD465 #3A5CD4 #D43AA9
square
#D4B23A #3AD465 #3A5CD4 #D43AA9
split-complementary
#D4B23A #3AA9D4 #653AD4
monochromatic
#79641A #AB8E25 #D4B23A #DFC66C #EAD99E

Accessibility & contrast

On white

2.05
#D4B23A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.23
#D4B23A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4B23A
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4B23A#FFFFFF#000000##000000
##D4B23A1.002.0510.2310.23
#FFFFFF2.051.0021.0021.00
#00000010.2321.001.001.00
##00000010.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AF27
Deuteranopia (green-blind)
#CEB941
Tritanopia (blue-blind)
#E5A49A
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #d4b23a;
/* rgb */ color: rgb(212, 178, 58);
/* oklch */ color: oklch(77.3% 0.139 92.6);
Tailwind
colors: {
  custom: {
    50: '#e5c878',
    500: '#d4b23a',
    950: '#000000',
  },
}
SCSS
$custom: #d4b23a;
$custom-light: #e5c878;
$custom-dark: #000000;
JSON
{
  "hex": "#d4b23a",
  "rgb": {
    "r": 212,
    "g": 178,
    "b": 58
  },
  "hsl": {
    "h": 46.753,
    "s": 64.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.77283,
    "c": 0.1386,
    "h": 92.6
  },
  "luminance": 0.46143
}

Semantic roles & 50–950 ramp

primary
#D4B23A
secondary
#94A2D6
accent
#65E741
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #D4B23A

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

Preview Lab → · Contrast checker → · Palette generator →

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