#D5D235#D5D235

#D5D235 is a very light, vivid yellow. Relative luminance 0.605; OKLCH L 84.0% C 0.167 H 108.4°. Best body text is #000000 at 13.10:1 contrast (WCAG AA passes).

Color values

HEX#D5D235
RGBrgb(213, 210, 53)
HSLhsl(59, 66%, 52%)
HSVhsv(59, 75%, 84%)
CMYKcmyk(0%, 1.4%, 75.1%, 16.5%)
CIE-LABlab(82.11, -16.23, 72.34)
CIE-LCHlch(82.11, 74.13, 102.65°)
OKLaboklab(84.02% -0.0526 0.1583)
OKLCHoklch(84.02% 0.167 108.4)
XYZxyz(51.1318, 60.4980, 12.3513)
Luminance0.6050 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D235 #3538D5
analogous
#D58235 #D5D235 #88D535
triadic
#D5D235 #35D5D2 #D235D5
tetradic
#D5D235 #35D582 #3538D5 #D53588
square
#D5D235 #35D582 #3538D5 #D53588
split-complementary
#D5D235 #3588D5 #8235D5
monochromatic
#777519 #AAA723 #D5D235 #E0DD68 #EAE99A

Accessibility & contrast

On white

1.60
#D5D235 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.10
#D5D235 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5D235
13.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5D235#FFFFFF#000000##000000
##D5D2351.001.6013.1013.10
#FFFFFF1.601.0021.0021.00
#00000013.1021.001.001.00
##00000013.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4C90D
Deuteranopia (green-blind)
#E6CF42
Tritanopia (blue-blind)
#E4C4B5
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d5d235;
/* rgb */ color: rgb(213, 210, 53);
/* oklch */ color: oklch(84.0% 0.167 108.4);
Tailwind
colors: {
  custom: {
    50: '#e6df79',
    500: '#d5d235',
    950: '#000000',
  },
}
SCSS
$custom: #d5d235;
$custom-light: #e6df79;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d235",
  "rgb": {
    "r": 213,
    "g": 210,
    "b": 53
  },
  "hsl": {
    "h": 58.875,
    "s": 65.574,
    "l": 52.157
  },
  "oklch": {
    "l": 0.84019,
    "c": 0.16678,
    "h": 108.4
  },
  "luminance": 0.60496
}

Semantic roles & 50–950 ramp

primary
#D5D235
secondary
#2F317F
accent
#42E93F
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150A
muted
#85847D

Preview Lab

Preview with #D5D235

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

Preview Lab → · Contrast checker → · Palette generator →

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