#D7CE5A#D7CE5A

#D7CE5A is a very light, vivid yellow. Relative luminance 0.593; OKLCH L 83.6% C 0.137 H 104.9°. Best body text is #000000 at 12.87:1 contrast (WCAG AA passes).

Color values

HEX#D7CE5A
RGBrgb(215, 206, 90)
HSLhsl(56, 61%, 60%)
HSVhsv(56, 58%, 84%)
CMYKcmyk(0%, 4.2%, 58.1%, 15.7%)
CIE-LABlab(81.47, -11.35, 57.51)
CIE-LCHlch(81.47, 58.62, 101.17°)
OKLaboklab(83.64% -0.0352 0.1327)
OKLCHoklch(83.64% 0.137 104.9)
XYZxyz(51.9428, 59.3296, 18.3865)
Luminance0.5933 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CE5A #5A63D7
analogous
#D7905A #D7CE5A #A2D75A
triadic
#D7CE5A #5AD7CE #CE5AD7
tetradic
#D7CE5A #5AD790 #5A63D7 #D75AA2
square
#D7CE5A #5AD790 #5A63D7 #D75AA2
split-complementary
#D7CE5A #5AA2D7 #905AD7
monochromatic
#938B24 #C4BA30 #D7CE5A #E3DD8B #EFEBBD

Accessibility & contrast

On white

1.63
#D7CE5A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.87
#D7CE5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7CE5A
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7CE5A#FFFFFF#000000##000000
##D7CE5A1.001.6312.8712.87
#FFFFFF1.631.0021.0021.00
#00000012.8721.001.001.00
##00000012.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC74E
Deuteranopia (green-blind)
#E2CD60
Tritanopia (blue-blind)
#E6C1B5
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d7ce5a;
/* rgb */ color: rgb(215, 206, 90);
/* oklch */ color: oklch(83.6% 0.137 104.9);
Tailwind
colors: {
  custom: {
    50: '#e6dc8d',
    500: '#d7ce5a',
    950: '#000000',
  },
}
SCSS
$custom: #d7ce5a;
$custom-light: #e6dc8d;
$custom-dark: #000000;
JSON
{
  "hex": "#d7ce5a",
  "rgb": {
    "r": 215,
    "g": 206,
    "b": 90
  },
  "hsl": {
    "h": 55.68,
    "s": 60.976,
    "l": 59.804
  },
  "oklch": {
    "l": 0.83636,
    "c": 0.13726,
    "h": 104.9
  },
  "luminance": 0.59328
}

Semantic roles & 50–950 ramp

primary
#D7CE5A
secondary
#3D4498
accent
#4FE444
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D7CE5A

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

Preview Lab → · Contrast checker → · Palette generator →

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