#D5B23C#D5B23C

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

Color values

HEX#D5B23C
RGBrgb(213, 178, 60)
HSLhsl(46, 65%, 54%)
HSVhsv(46, 72%, 84%)
CMYKcmyk(0%, 16.4%, 71.8%, 16.5%)
CIE-LABlab(73.75, 0.46, 61.91)
CIE-LCHlch(73.75, 61.91, 89.57°)
OKLaboklab(77.4% -0.0047 0.1375)
OKLCHoklch(77.4% 0.138 92)
XYZxyz(44.1790, 46.3158, 10.8870)
Luminance0.4631 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5B23C #3C5FD5
analogous
#D5653C #D5B23C #ABD53C
triadic
#D5B23C #3CD5B2 #B23CD5
tetradic
#D5B23C #3CD565 #3C5FD5 #D53CAB
square
#D5B23C #3CD565 #3C5FD5 #D53CAB
split-complementary
#D5B23C #3CABD5 #653CD5
monochromatic
#7C661B #AE8F26 #D5B23C #E0C66E #EBDAA1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D5B23C#FFFFFF#000000##000000
##D5B23C1.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)
#C5AF2A
Deuteranopia (green-blind)
#CEB942
Tritanopia (blue-blind)
#E6A49A
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #d5b23c;
/* rgb */ color: rgb(213, 178, 60);
/* oklch */ color: oklch(77.4% 0.138 92.0);
Tailwind
colors: {
  custom: {
    50: '#e6c879',
    500: '#d5b23c',
    950: '#000000',
  },
}
SCSS
$custom: #d5b23c;
$custom-light: #e6c879;
$custom-dark: #000000;
JSON
{
  "hex": "#d5b23c",
  "rgb": {
    "r": 213,
    "g": 178,
    "b": 60
  },
  "hsl": {
    "h": 46.275,
    "s": 64.557,
    "l": 53.529
  },
  "oklch": {
    "l": 0.77396,
    "c": 0.13753,
    "h": 92
  },
  "luminance": 0.46313
}

Semantic roles & 50–950 ramp

primary
#D5B23C
secondary
#96A5D7
accent
#67E840
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #D5B23C

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

Preview Lab → · Contrast checker → · Palette generator →

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