#D7CE4F#D7CE4F

#D7CE4F is a very light, vivid yellow. Relative luminance 0.592; OKLCH L 83.5% C 0.146 H 105.3°. Best body text is #000000 at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#D7CE4F
RGBrgb(215, 206, 79)
HSLhsl(56, 63%, 58%)
HSVhsv(56, 63%, 84%)
CMYKcmyk(0%, 4.2%, 63.3%, 15.7%)
CIE-LABlab(81.38, -12.08, 62.13)
CIE-LCHlch(81.38, 63.30, 101.00°)
OKLaboklab(83.53% -0.0385 0.141)
OKLCHoklch(83.53% 0.146 105.3)
XYZxyz(51.5088, 59.1560, 16.1006)
Luminance0.5915 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CE4F #4F58D7
analogous
#D78A4F #D7CE4F #9CD74F
triadic
#D7CE4F #4FD7CE #CE4FD7
tetradic
#D7CE4F #4FD78A #4F58D7 #D74F9C
square
#D7CE4F #4FD78A #4F58D7 #D74F9C
split-complementary
#D7CE4F #4F9CD7 #8A4FD7
monochromatic
#8C8520 #BEB42B #D7CE4F #E2DC81 #EEEAB3

Accessibility & contrast

On white

1.64
#D7CE4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.83
#D7CE4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7CE4F
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7CE4F#FFFFFF#000000##000000
##D7CE4F1.001.6412.8312.83
#FFFFFF1.641.0021.0021.00
#00000012.8321.001.001.00
##00000012.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC73F
Deuteranopia (green-blind)
#E2CD57
Tritanopia (blue-blind)
#E6C1B4
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d7ce4f;
/* rgb */ color: rgb(215, 206, 79);
/* oklch */ color: oklch(83.5% 0.146 105.3);
Tailwind
colors: {
  custom: {
    50: '#e6dc86',
    500: '#d7ce4f',
    950: '#000000',
  },
}
SCSS
$custom: #d7ce4f;
$custom-light: #e6dc86;
$custom-dark: #000000;
JSON
{
  "hex": "#d7ce4f",
  "rgb": {
    "r": 215,
    "g": 206,
    "b": 79
  },
  "hsl": {
    "h": 56.029,
    "s": 62.963,
    "l": 57.647
  },
  "oklch": {
    "l": 0.8353,
    "c": 0.14614,
    "h": 105.3
  },
  "luminance": 0.59154
}

Semantic roles & 50–950 ramp

primary
#D7CE4F
secondary
#393E92
accent
#4DE642
background
#FFFEFC
surface
#FEFBF3
border
#D6D4CD
text
#16150C
muted
#85847F

Preview Lab

Preview with #D7CE4F

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

Preview Lab → · Contrast checker → · Palette generator →

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