#D5D698#D5D698

#D5D698 is a very light, moderate yellow. Relative luminance 0.645; OKLCH L 86.1% C 0.081 H 108.8°. Best body text is #000000 at 13.90:1 contrast (WCAG AA passes).

Color values

HEX#D5D698
RGBrgb(213, 214, 152)
HSLhsl(61, 43%, 72%)
HSVhsv(61, 29%, 84%)
CMYKcmyk(0.5%, 0%, 29%, 16.1%)
CIE-LABlab(84.23, -9.99, 30.60)
CIE-LCHlch(84.23, 32.19, 108.08°)
OKLaboklab(86.05% -0.026 0.0765)
OKLCHoklch(86.05% 0.081 108.8)
XYZxyz(57.1548, 64.5071, 39.1399)
Luminance0.6451 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D698 #9998D6
analogous
#D6B898 #D5D698 #B6D698
triadic
#D5D698 #98D5D6 #D698D5
tetradic
#D5D698 #98D6B8 #9998D6 #D698B6
square
#D5D698 #98D6B8 #9998D6 #D698B6
split-complementary
#D5D698 #98B6D6 #B898D6
monochromatic
#ADAE45 #C3C56C #D5D698 #E7E7C4 #F6F6E9

Accessibility & contrast

On white

1.51
#D5D698 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.90
#D5D698 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5D698
13.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5D698#FFFFFF#000000##000000
##D5D6981.001.5113.9013.90
#FFFFFF1.511.0021.0021.00
#00000013.9021.001.001.00
##00000013.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0D194
Deuteranopia (green-blind)
#E1D39A
Tritanopia (blue-blind)
#DECEC6
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #d5d698;
/* rgb */ color: rgb(213, 214, 152);
/* oklch */ color: oklch(86.1% 0.081 108.8);
Tailwind
colors: {
  custom: {
    50: '#e2e2b6',
    500: '#d5d698',
    950: '#000000',
  },
}
SCSS
$custom: #d5d698;
$custom-light: #e2e2b6;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d698",
  "rgb": {
    "r": 213,
    "g": 214,
    "b": 152
  },
  "hsl": {
    "h": 60.968,
    "s": 43.056,
    "l": 71.765
  },
  "oklch": {
    "l": 0.86051,
    "c": 0.0808,
    "h": 108.8
  },
  "luminance": 0.64506
}

Semantic roles & 50–950 ramp

primary
#D5D698
secondary
#6766AD
accent
#2FB632
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#151511
muted
#848481

Preview Lab

Preview with #D5D698

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

Preview Lab → · Contrast checker → · Palette generator →

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