#D9CE62#D9CE62

#D9CE62 is a very light, vivid yellow. Relative luminance 0.598; OKLCH L 83.9% C 0.130 H 103.5°. Best body text is #000000 at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#D9CE62
RGBrgb(217, 206, 98)
HSLhsl(54, 61%, 62%)
HSVhsv(54, 55%, 85%)
CMYKcmyk(0%, 5.1%, 54.8%, 14.9%)
CIE-LABlab(81.72, -9.93, 54.21)
CIE-LCHlch(81.72, 55.12, 100.38°)
OKLaboklab(83.9% -0.0304 0.1265)
OKLCHoklch(83.9% 0.13 103.5)
XYZxyz(52.8929, 59.7780, 20.3050)
Luminance0.5978 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9CE62 #626DD9
analogous
#D99362 #D9CE62 #A9D962
triadic
#D9CE62 #62D9CE #CE62D9
tetradic
#D9CE62 #62D993 #626DD9 #D962A9
square
#D9CE62 #62D993 #626DD9 #D962A9
split-complementary
#D9CE62 #62A9D9 #9362D9
monochromatic
#9B9026 #CCBE31 #D9CE62 #E5DD93 #F1EDC5

Accessibility & contrast

On white

1.62
#D9CE62 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.96
#D9CE62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9CE62
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9CE62#FFFFFF#000000##000000
##D9CE621.001.6212.9612.96
#FFFFFF1.621.0021.0021.00
#00000012.9621.001.001.00
##00000012.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC857
Deuteranopia (green-blind)
#E2CE67
Tritanopia (blue-blind)
#E7C2B6
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d9ce62;
/* rgb */ color: rgb(217, 206, 98);
/* oklch */ color: oklch(83.9% 0.130 103.5);
Tailwind
colors: {
  custom: {
    50: '#e7dc92',
    500: '#d9ce62',
    950: '#000000',
  },
}
SCSS
$custom: #d9ce62;
$custom-light: #e7dc92;
$custom-dark: #000000;
JSON
{
  "hex": "#d9ce62",
  "rgb": {
    "r": 217,
    "g": 206,
    "b": 98
  },
  "hsl": {
    "h": 54.454,
    "s": 61.026,
    "l": 61.765
  },
  "oklch": {
    "l": 0.83896,
    "c": 0.13009,
    "h": 103.5
  },
  "luminance": 0.59776
}

Semantic roles & 50–950 ramp

primary
#D9CE62
secondary
#40499F
accent
#2DC91D
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150D
muted
#85847F

Preview Lab

Preview with #D9CE62

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

Preview Lab → · Contrast checker → · Palette generator →

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