#D5C35A#D5C35A

#D5C35A is a light, vivid yellow. Relative luminance 0.539; OKLCH L 81.2% C 0.127 H 99.7°. Best body text is #000000 at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#D5C35A
RGBrgb(213, 195, 90)
HSLhsl(51, 59%, 59%)
HSVhsv(51, 58%, 84%)
CMYKcmyk(0%, 8.5%, 57.7%, 16.5%)
CIE-LABlab(78.41, -6.57, 54.03)
CIE-LCHlch(78.41, 54.42, 96.94°)
OKLaboklab(81.17% -0.0214 0.1253)
OKLCHoklch(81.17% 0.127 99.7)
XYZxyz(48.8030, 53.9165, 17.5071)
Luminance0.5392 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5C35A #5A6CD5
analogous
#D5865A #D5C35A #A9D55A
triadic
#D5C35A #5AD5C3 #C35AD5
tetradic
#D5C35A #5AD586 #5A6CD5 #D55AA9
square
#D5C35A #5AD586 #5A6CD5 #D55AA9
split-complementary
#D5C35A #5AA9D5 #865AD5
monochromatic
#908025 #C1AC31 #D5C35A #E1D58B #EEE6BC

Accessibility & contrast

On white

1.78
#D5C35A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.78
#D5C35A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5C35A
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5C35A#FFFFFF#000000##000000
##D5C35A1.001.7811.7811.78
#FFFFFF1.781.0021.0021.00
#00000011.7821.001.001.00
##00000011.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BE4F
Deuteranopia (green-blind)
#D9C55F
Tritanopia (blue-blind)
#E4B7AC
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #d5c35a;
/* rgb */ color: rgb(213, 195, 90);
/* oklch */ color: oklch(81.2% 0.127 99.7);
Tailwind
colors: {
  custom: {
    50: '#e5d48c',
    500: '#d5c35a',
    950: '#000000',
  },
}
SCSS
$custom: #d5c35a;
$custom-light: #e5d48c;
$custom-dark: #000000;
JSON
{
  "hex": "#d5c35a",
  "rgb": {
    "r": 213,
    "g": 195,
    "b": 90
  },
  "hsl": {
    "h": 51.22,
    "s": 59.42,
    "l": 59.412
  },
  "oklch": {
    "l": 0.81166,
    "c": 0.12708,
    "h": 99.7
  },
  "luminance": 0.53915
}

Semantic roles & 50–950 ramp

primary
#D5C35A
secondary
#3E4B96
accent
#5CE345
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D5C35A

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

Preview Lab → · Contrast checker → · Palette generator →

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