#D5C23A#D5C23A

#D5C23A is a light, vivid yellow. Relative luminance 0.530; OKLCH L 80.7% C 0.150 H 101.1°. Best body text is #000000 at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#D5C23A
RGBrgb(213, 194, 58)
HSLhsl(53, 65%, 53%)
HSVhsv(53, 73%, 84%)
CMYKcmyk(0%, 8.9%, 72.8%, 16.5%)
CIE-LABlab(77.90, -7.95, 66.71)
CIE-LCHlch(77.90, 67.18, 96.80°)
OKLaboklab(80.68% -0.0288 0.1472)
OKLCHoklch(80.68% 0.15 101.1)
XYZxyz(47.4983, 53.0374, 11.7375)
Luminance0.5303 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5C23A #3A4DD5
analogous
#D5743A #D5C23A #9AD53A
triadic
#D5C23A #3AD5C2 #C23AD5
tetradic
#D5C23A #3AD574 #3A4DD5 #D53A9A
square
#D5C23A #3AD574 #3A4DD5 #D53A9A
split-complementary
#D5C23A #3A9AD5 #743AD5
monochromatic
#7A6F1A #AD9C25 #D5C23A #E0D26C #EBE19F

Accessibility & contrast

On white

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

On black

11.61
#D5C23A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5C23A
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5C23A#FFFFFF#000000##000000
##D5C23A1.001.8111.6111.61
#FFFFFF1.811.0021.0021.00
#00000011.6121.001.001.00
##00000011.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BC22
Deuteranopia (green-blind)
#DAC443
Tritanopia (blue-blind)
#E5B4A7
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #d5c23a;
/* rgb */ color: rgb(213, 194, 58);
/* oklch */ color: oklch(80.7% 0.150 101.1);
Tailwind
colors: {
  custom: {
    50: '#e6d479',
    500: '#d5c23a',
    950: '#000000',
  },
}
SCSS
$custom: #d5c23a;
$custom-light: #e6d479;
$custom-dark: #000000;
JSON
{
  "hex": "#d5c23a",
  "rgb": {
    "r": 213,
    "g": 194,
    "b": 58
  },
  "hsl": {
    "h": 52.645,
    "s": 64.854,
    "l": 53.137
  },
  "oklch": {
    "l": 0.80675,
    "c": 0.15003,
    "h": 101.1
  },
  "luminance": 0.53035
}

Semantic roles & 50–950 ramp

primary
#D5C23A
secondary
#313B82
accent
#55E840
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D5C23A

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

Preview Lab → · Contrast checker → · Palette generator →

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