#D5B23E#D5B23E

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

Color values

HEX#D5B23E
RGBrgb(213, 178, 62)
HSLhsl(46, 64%, 54%)
HSVhsv(46, 71%, 84%)
CMYKcmyk(0%, 16.4%, 70.9%, 16.5%)
CIE-LABlab(73.76, 0.56, 61.14)
CIE-LCHlch(73.76, 61.14, 89.48°)
OKLaboklab(77.41% -0.0042 0.1362)
OKLCHoklch(77.41% 0.136 91.8)
XYZxyz(44.2329, 46.3373, 11.1707)
Luminance0.4633 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5B23E #3E61D5
analogous
#D5673E #D5B23E #ACD53E
triadic
#D5B23E #3ED5B2 #B23ED5
tetradic
#D5B23E #3ED567 #3E61D5 #D53EAC
square
#D5B23E #3ED567 #3E61D5 #D53EAC
split-complementary
#D5B23E #3EACD5 #673ED5
monochromatic
#7D671B #B09026 #D5B23E #E0C670 #EBDAA3

Accessibility & contrast

On white

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

On black

10.27
#D5B23E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5B23E
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5B23E#FFFFFF#000000##000000
##D5B23E1.002.0510.2710.27
#FFFFFF2.051.0021.0021.00
#00000010.2721.001.001.00
##00000010.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AF2D
Deuteranopia (green-blind)
#CEB944
Tritanopia (blue-blind)
#E6A49B
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #d5b23e;
/* rgb */ color: rgb(213, 178, 62);
/* oklch */ color: oklch(77.4% 0.136 91.8);
Tailwind
colors: {
  custom: {
    50: '#e6c87a',
    500: '#d5b23e',
    950: '#000000',
  },
}
SCSS
$custom: #d5b23e;
$custom-light: #e6c87a;
$custom-dark: #000000;
JSON
{
  "hex": "#d5b23e",
  "rgb": {
    "r": 213,
    "g": 178,
    "b": 62
  },
  "hsl": {
    "h": 46.093,
    "s": 64.255,
    "l": 53.922
  },
  "oklch": {
    "l": 0.77412,
    "c": 0.13623,
    "h": 91.8
  },
  "luminance": 0.46335
}

Semantic roles & 50–950 ramp

primary
#D5B23E
secondary
#97A6D8
accent
#67E741
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D5B23E

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

Preview Lab → · Contrast checker → · Palette generator →

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