#D5B23A#D5B23A

#D5B23A is a light, vivid yellow. Relative luminance 0.463; OKLCH L 77.4% C 0.139 H 92.1°. Best body text is #000000 at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#D5B23A
RGBrgb(213, 178, 58)
HSLhsl(46, 65%, 53%)
HSVhsv(46, 73%, 84%)
CMYKcmyk(0%, 16.4%, 72.8%, 16.5%)
CIE-LABlab(73.74, 0.37, 62.67)
CIE-LCHlch(73.74, 62.67, 89.67°)
OKLaboklab(77.38% -0.0052 0.1387)
OKLCHoklch(77.38% 0.139 92.1)
XYZxyz(44.1271, 46.2950, 10.6138)
Luminance0.4629 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5B23A #3A5DD5
analogous
#D5643A #D5B23A #AAD53A
triadic
#D5B23A #3AD5B2 #B23AD5
tetradic
#D5B23A #3AD564 #3A5DD5 #D53AAA
square
#D5B23A #3AD564 #3A5DD5 #D53AAA
split-complementary
#D5B23A #3AAAD5 #643AD5
monochromatic
#7A651A #AD8E25 #D5B23A #E0C66C #EBD99F

Accessibility & contrast

On white

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

On black

10.26
#D5B23A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5B23A
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5B23A#FFFFFF#000000##000000
##D5B23A1.002.0510.2610.26
#FFFFFF2.051.0021.0021.00
#00000010.2621.001.001.00
##00000010.2621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d5b23a;
/* rgb */ color: rgb(213, 178, 58);
/* oklch */ color: oklch(77.4% 0.139 92.1);
Tailwind
colors: {
  custom: {
    50: '#e6c878',
    500: '#d5b23a',
    950: '#000000',
  },
}
SCSS
$custom: #d5b23a;
$custom-light: #e6c878;
$custom-dark: #000000;
JSON
{
  "hex": "#d5b23a",
  "rgb": {
    "r": 213,
    "g": 178,
    "b": 58
  },
  "hsl": {
    "h": 46.452,
    "s": 64.854,
    "l": 53.137
  },
  "oklch": {
    "l": 0.77382,
    "c": 0.13878,
    "h": 92.1
  },
  "luminance": 0.46292
}

Semantic roles & 50–950 ramp

primary
#D5B23A
secondary
#94A3D7
accent
#66E840
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#171309
muted
#85827B

Preview Lab

Preview with #D5B23A

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

Preview Lab → · Contrast checker → · Palette generator →

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