#D5C23E#D5C23E

#D5C23E is a light, vivid yellow. Relative luminance 0.531; OKLCH L 80.7% C 0.148 H 100.9°. Best body text is #000000 at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#D5C23E
RGBrgb(213, 194, 62)
HSLhsl(52, 64%, 54%)
HSVhsv(52, 71%, 84%)
CMYKcmyk(0%, 8.9%, 70.9%, 16.5%)
CIE-LABlab(77.92, -7.76, 65.27)
CIE-LCHlch(77.92, 65.73, 96.78°)
OKLaboklab(80.7% -0.0279 0.1449)
OKLCHoklch(80.7% 0.148 100.9)
XYZxyz(47.6040, 53.0797, 12.2944)
Luminance0.5308 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5C23E #3E51D5
analogous
#D5773E #D5C23E #9DD53E
triadic
#D5C23E #3ED5C2 #C23ED5
tetradic
#D5C23E #3ED577 #3E51D5 #D53E9D
square
#D5C23E #3ED577 #3E51D5 #D53E9D
split-complementary
#D5C23E #3E9DD5 #773ED5
monochromatic
#7D711B #B09E26 #D5C23E #E0D270 #EBE2A3

Accessibility & contrast

On white

1.81
#D5C23E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.62
#D5C23E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5C23E
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5C23E#FFFFFF#000000##000000
##D5C23E1.001.8111.6211.62
#FFFFFF1.811.0021.0021.00
#00000011.6221.001.001.00
##00000011.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BC29
Deuteranopia (green-blind)
#DAC446
Tritanopia (blue-blind)
#E5B4A8
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #d5c23e;
/* rgb */ color: rgb(213, 194, 62);
/* oklch */ color: oklch(80.7% 0.148 100.9);
Tailwind
colors: {
  custom: {
    50: '#e6d47b',
    500: '#d5c23e',
    950: '#000000',
  },
}
SCSS
$custom: #d5c23e;
$custom-light: #e6d47b;
$custom-dark: #000000;
JSON
{
  "hex": "#d5c23e",
  "rgb": {
    "r": 213,
    "g": 194,
    "b": 62
  },
  "hsl": {
    "h": 52.45,
    "s": 64.255,
    "l": 53.922
  },
  "oklch": {
    "l": 0.80703,
    "c": 0.14757,
    "h": 100.9
  },
  "luminance": 0.53078
}

Semantic roles & 50–950 ramp

primary
#D5C23E
secondary
#323D85
accent
#56E741
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D5C23E

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

Preview Lab → · Contrast checker → · Palette generator →

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