#D5C046#D5C046

#D5C046 is a light, vivid yellow. Relative luminance 0.523; OKLCH L 80.3% C 0.141 H 99.4°. Best body text is #000000 at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#D5C046
RGBrgb(213, 192, 70)
HSLhsl(51, 63%, 55%)
HSVhsv(51, 67%, 84%)
CMYKcmyk(0%, 9.9%, 67.1%, 16.5%)
CIE-LABlab(77.45, -6.32, 61.67)
CIE-LCHlch(77.45, 61.99, 95.85°)
OKLaboklab(80.35% -0.023 0.1387)
OKLCHoklch(80.35% 0.141 99.4)
XYZxyz(47.3978, 52.2898, 13.3895)
Luminance0.5229 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5C046 #465BD5
analogous
#D57846 #D5C046 #A2D546
triadic
#D5C046 #46D5C0 #C046D5
tetradic
#D5C046 #46D578 #465BD5 #D546A2
square
#D5C046 #46D578 #465BD5 #D546A2
split-complementary
#D5C046 #46A2D5 #7846D5
monochromatic
#83741E #B5A029 #D5C046 #E0D178 #ECE2AA

Accessibility & contrast

On white

1.83
#D5C046 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.46
#D5C046 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5C046
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5C046#FFFFFF#000000##000000
##D5C0461.001.8311.4611.46
#FFFFFF1.831.0021.0021.00
#00000011.4621.001.001.00
##00000011.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BB36
Deuteranopia (green-blind)
#D8C34D
Tritanopia (blue-blind)
#E5B2A7
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #d5c046;
/* rgb */ color: rgb(213, 192, 70);
/* oklch */ color: oklch(80.3% 0.141 99.4);
Tailwind
colors: {
  custom: {
    50: '#e5d280',
    500: '#d5c046',
    950: '#000000',
  },
}
SCSS
$custom: #d5c046;
$custom-light: #e5d280;
$custom-dark: #000000;
JSON
{
  "hex": "#d5c046",
  "rgb": {
    "r": 213,
    "g": 192,
    "b": 70
  },
  "hsl": {
    "h": 51.189,
    "s": 62.996,
    "l": 55.49
  },
  "oklch": {
    "l": 0.8035,
    "c": 0.14057,
    "h": 99.4
  },
  "luminance": 0.52288
}

Semantic roles & 50–950 ramp

primary
#D5C046
secondary
#35428A
accent
#5AE642
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D5C046

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

Preview Lab → · Contrast checker → · Palette generator →

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