#D5C253#D5C253

#D5C253 is a light, vivid yellow. Relative luminance 0.534; OKLCH L 80.9% C 0.132 H 99.6°. Best body text is #000000 at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#D5C253
RGBrgb(213, 194, 83)
HSLhsl(51, 61%, 58%)
HSVhsv(51, 61%, 84%)
CMYKcmyk(0%, 8.9%, 61%, 16.5%)
CIE-LABlab(78.08, -6.55, 56.81)
CIE-LCHlch(78.08, 57.19, 96.58°)
OKLaboklab(80.88% -0.0221 0.1303)
OKLCHoklch(80.88% 0.132 99.6)
XYZxyz(48.2956, 53.3563, 15.9368)
Luminance0.5335 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5C253 #5366D5
analogous
#D58153 #D5C253 #A7D553
triadic
#D5C253 #53D5C2 #C253D5
tetradic
#D5C253 #53D581 #5366D5 #D553A7
square
#D5C253 #53D581 #5366D5 #D553A7
split-complementary
#D5C253 #53A7D5 #8153D5
monochromatic
#8C7C22 #BDA82E #D5C253 #E1D384 #EDE5B5

Accessibility & contrast

On white

1.80
#D5C253 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.67
#D5C253 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5C253
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5C253#FFFFFF#000000##000000
##D5C2531.001.8011.6711.67
#FFFFFF1.801.0021.0021.00
#00000011.6721.001.001.00
##00000011.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BD47
Deuteranopia (green-blind)
#D8C459
Tritanopia (blue-blind)
#E4B5AA
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #d5c253;
/* rgb */ color: rgb(213, 194, 83);
/* oklch */ color: oklch(80.9% 0.132 99.6);
Tailwind
colors: {
  custom: {
    50: '#e5d488',
    500: '#d5c253',
    950: '#000000',
  },
}
SCSS
$custom: #d5c253;
$custom-light: #e5d488;
$custom-dark: #000000;
JSON
{
  "hex": "#d5c253",
  "rgb": {
    "r": 213,
    "g": 194,
    "b": 83
  },
  "hsl": {
    "h": 51.231,
    "s": 60.748,
    "l": 58.039
  },
  "oklch": {
    "l": 0.80885,
    "c": 0.1322,
    "h": 99.6
  },
  "luminance": 0.53354
}

Semantic roles & 50–950 ramp

primary
#D5C253
secondary
#3B4792
accent
#5BE444
background
#FEFEFC
surface
#FDFBF3
border
#D5D4CD
text
#16140C
muted
#84837F

Preview Lab

Preview with #D5C253

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

Preview Lab → · Contrast checker → · Palette generator →

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