#D7CE38#D7CE38

#D7CE38 is a very light, vivid yellow. Relative luminance 0.589; OKLCH L 83.4% C 0.161 H 105.9°. Best body text is #000000 at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#D7CE38
RGBrgb(215, 206, 56)
HSLhsl(57, 67%, 53%)
HSVhsv(57, 74%, 84%)
CMYKcmyk(0%, 4.2%, 74%, 15.7%)
CIE-LABlab(81.22, -13.27, 70.61)
CIE-LCHlch(81.22, 71.85, 100.64°)
OKLaboklab(83.36% -0.0441 0.1551)
OKLCHoklch(83.36% 0.161 105.9)
XYZxyz(50.8116, 58.8771, 12.4285)
Luminance0.5887 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CE38 #3841D7
analogous
#D77E38 #D7CE38 #90D738
triadic
#D7CE38 #38D7CE #CE38D7
tetradic
#D7CE38 #38D77E #3841D7 #D73890
square
#D7CE38 #38D77E #3841D7 #D73890
split-complementary
#D7CE38 #3890D7 #7E38D7
monochromatic
#7C7619 #AFA723 #D7CE38 #E1DB6B #EBE79E

Accessibility & contrast

On white

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

On black

12.78
#D7CE38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7CE38
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7CE38#FFFFFF#000000##000000
##D7CE381.001.6412.7812.78
#FFFFFF1.641.0021.0021.00
#00000012.7821.001.001.00
##00000012.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C618
Deuteranopia (green-blind)
#E3CD43
Tritanopia (blue-blind)
#E7C0B1
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d7ce38;
/* rgb */ color: rgb(215, 206, 56);
/* oklch */ color: oklch(83.4% 0.161 105.9);
Tailwind
colors: {
  custom: {
    50: '#e7dc7a',
    500: '#d7ce38',
    950: '#000000',
  },
}
SCSS
$custom: #d7ce38;
$custom-light: #e7dc7a;
$custom-dark: #000000;
JSON
{
  "hex": "#d7ce38",
  "rgb": {
    "r": 215,
    "g": 206,
    "b": 56
  },
  "hsl": {
    "h": 56.604,
    "s": 66.527,
    "l": 53.137
  },
  "oklch": {
    "l": 0.83359,
    "c": 0.16123,
    "h": 105.9
  },
  "luminance": 0.58875
}

Semantic roles & 50–950 ramp

primary
#D7CE38
secondary
#303583
accent
#48E93E
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17150A
muted
#85847D

Preview Lab

Preview with #D7CE38

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

Preview Lab → · Contrast checker → · Palette generator →

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