#D5C248#D5C248

#D5C248 is a light, vivid yellow. Relative luminance 0.532; OKLCH L 80.8% C 0.141 H 100.4°. Best body text is #000000 at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#D5C248
RGBrgb(213, 194, 72)
HSLhsl(52, 63%, 56%)
HSVhsv(52, 66%, 84%)
CMYKcmyk(0%, 8.9%, 66.2%, 16.5%)
CIE-LABlab(77.99, -7.23, 61.41)
CIE-LCHlch(77.99, 61.84, 96.72°)
OKLaboklab(80.78% -0.0253 0.1385)
OKLCHoklch(80.78% 0.141 100.4)
XYZxyz(47.9041, 53.1997, 13.8749)
Luminance0.5320 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5C248 #485BD5
analogous
#D57B48 #D5C248 #A1D548
triadic
#D5C248 #48D5C2 #C248D5
tetradic
#D5C248 #48D57B #485BD5 #D548A1
square
#D5C248 #48D57B #485BD5 #D548A1
split-complementary
#D5C248 #48A1D5 #7B48D5
monochromatic
#84771E #B6A32A #D5C248 #E0D37A #ECE3AC

Accessibility & contrast

On white

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

On black

11.64
#D5C248 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5C248
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5C248#FFFFFF#000000##000000
##D5C2481.001.8011.6411.64
#FFFFFF1.801.0021.0021.00
#00000011.6421.001.001.00
##00000011.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BD38
Deuteranopia (green-blind)
#D9C44F
Tritanopia (blue-blind)
#E5B5A9
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #d5c248;
/* rgb */ color: rgb(213, 194, 72);
/* oklch */ color: oklch(80.8% 0.141 100.4);
Tailwind
colors: {
  custom: {
    50: '#e5d481',
    500: '#d5c248',
    950: '#000000',
  },
}
SCSS
$custom: #d5c248;
$custom-light: #e5d481;
$custom-dark: #000000;
JSON
{
  "hex": "#d5c248",
  "rgb": {
    "r": 213,
    "g": 194,
    "b": 72
  },
  "hsl": {
    "h": 51.915,
    "s": 62.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.80782,
    "c": 0.14076,
    "h": 100.4
  },
  "luminance": 0.53198
}

Semantic roles & 50–950 ramp

primary
#D5C248
secondary
#36428B
accent
#58E642
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D5C248

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

Preview Lab → · Contrast checker → · Palette generator →

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