#D5C35E#D5C35E

#D5C35E is a light, vivid yellow. Relative luminance 0.540; OKLCH L 81.2% C 0.123 H 99.4°. Best body text is #000000 at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#D5C35E
RGBrgb(213, 195, 94)
HSLhsl(51, 59%, 60%)
HSVhsv(51, 56%, 84%)
CMYKcmyk(0%, 8.5%, 55.9%, 16.5%)
CIE-LABlab(78.45, -6.27, 52.22)
CIE-LCHlch(78.45, 52.60, 96.85°)
OKLaboklab(81.21% -0.0201 0.1219)
OKLCHoklch(81.21% 0.123 99.4)
XYZxyz(48.9778, 53.9865, 18.4280)
Luminance0.5398 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5C35E #5E70D5
analogous
#D5875E #D5C35E #ACD55E
triadic
#D5C35E #5ED5C3 #C35ED5
tetradic
#D5C35E #5ED587 #5E70D5 #D55EAC
square
#D5C35E #5ED587 #5E70D5 #D55EAC
split-complementary
#D5C35E #5EACD5 #875ED5
monochromatic
#928226 #C3AD33 #D5C35E #E2D58F #EEE7BF

Accessibility & contrast

On white

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

On black

11.80
#D5C35E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5C35E
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5C35E#FFFFFF#000000##000000
##D5C35E1.001.7811.8011.80
#FFFFFF1.781.0021.0021.00
#00000011.8021.001.001.00
##00000011.8021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d5c35e;
/* rgb */ color: rgb(213, 195, 94);
/* oklch */ color: oklch(81.2% 0.123 99.4);
Tailwind
colors: {
  custom: {
    50: '#e4d48f',
    500: '#d5c35e',
    950: '#000000',
  },
}
SCSS
$custom: #d5c35e;
$custom-light: #e4d48f;
$custom-dark: #000000;
JSON
{
  "hex": "#d5c35e",
  "rgb": {
    "r": 213,
    "g": 195,
    "b": 94
  },
  "hsl": {
    "h": 50.924,
    "s": 58.621,
    "l": 60.196
  },
  "oklch": {
    "l": 0.81212,
    "c": 0.12349,
    "h": 99.4
  },
  "luminance": 0.53984
}

Semantic roles & 50–950 ramp

primary
#D5C35E
secondary
#3F4D98
accent
#39C61F
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D5C35E

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

Preview Lab → · Contrast checker → · Palette generator →

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