#D5C846#D5C846

#D5C846 is a very light, vivid yellow. Relative luminance 0.559; OKLCH L 82.0% C 0.147 H 103.6°. Best body text is #000000 at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#D5C846
RGBrgb(213, 200, 70)
HSLhsl(55, 63%, 55%)
HSVhsv(55, 67%, 84%)
CMYKcmyk(0%, 6.1%, 67.1%, 16.5%)
CIE-LABlab(79.56, -10.41, 63.83)
CIE-LCHlch(79.56, 64.67, 99.26°)
OKLaboklab(82.02% -0.0346 0.1432)
OKLCHoklch(82.02% 0.147 103.6)
XYZxyz(49.2023, 55.8988, 13.9910)
Luminance0.5590 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5C846 #4653D5
analogous
#D58046 #D5C846 #9BD546
triadic
#D5C846 #46D5C8 #C846D5
tetradic
#D5C846 #46D580 #4653D5 #D5469B
square
#D5C846 #46D580 #4653D5 #D5469B
split-complementary
#D5C846 #469BD5 #8046D5
monochromatic
#837A1E #B5A829 #D5C846 #E0D778 #ECE6AA

Accessibility & contrast

On white

1.72
#D5C846 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.18
#D5C846 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5C846
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5C846#FFFFFF#000000##000000
##D5C8461.001.7212.1812.18
#FFFFFF1.721.0021.0021.00
#00000012.1821.001.001.00
##00000012.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C234
Deuteranopia (green-blind)
#DEC84E
Tritanopia (blue-blind)
#E5BBAE
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d5c846;
/* rgb */ color: rgb(213, 200, 70);
/* oklch */ color: oklch(82.0% 0.147 103.6);
Tailwind
colors: {
  custom: {
    50: '#e5d880',
    500: '#d5c846',
    950: '#000000',
  },
}
SCSS
$custom: #d5c846;
$custom-light: #e5d880;
$custom-dark: #000000;
JSON
{
  "hex": "#d5c846",
  "rgb": {
    "r": 213,
    "g": 200,
    "b": 70
  },
  "hsl": {
    "h": 54.545,
    "s": 62.996,
    "l": 55.49
  },
  "oklch": {
    "l": 0.82019,
    "c": 0.14735,
    "h": 103.6
  },
  "luminance": 0.55897
}

Semantic roles & 50–950 ramp

primary
#D5C846
secondary
#353D8A
accent
#51E642
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D5C846

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

Preview Lab → · Contrast checker → · Palette generator →

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