#D7CE4B#D7CE4B

#D7CE4B is a very light, vivid yellow. Relative luminance 0.591; OKLCH L 83.5% C 0.149 H 105.4°. Best body text is #000000 at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#D7CE4B
RGBrgb(215, 206, 75)
HSLhsl(56, 64%, 57%)
HSVhsv(56, 65%, 84%)
CMYKcmyk(0%, 4.2%, 65.1%, 15.7%)
CIE-LABlab(81.35, -12.32, 63.73)
CIE-LCHlch(81.35, 64.91, 100.94°)
OKLaboklab(83.49% -0.0396 0.1438)
OKLCHoklch(83.49% 0.149 105.4)
XYZxyz(51.3676, 59.0995, 15.3568)
Luminance0.5910 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CE4B #4B54D7
analogous
#D7884B #D7CE4B #9AD74B
triadic
#D7CE4B #4BD7CE #CE4BD7
tetradic
#D7CE4B #4BD788 #4B54D7 #D74B9A
square
#D7CE4B #4BD788 #4B54D7 #D74B9A
split-complementary
#D7CE4B #4B9AD7 #884BD7
monochromatic
#89821E #BBB22A #D7CE4B #E2DC7D #EDE9AF

Accessibility & contrast

On white

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

On black

12.82
#D7CE4B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7CE4B
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7CE4B#FFFFFF#000000##000000
##D7CE4B1.001.6412.8212.82
#FFFFFF1.641.0021.0021.00
#00000012.8221.001.001.00
##00000012.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC73A
Deuteranopia (green-blind)
#E3CD53
Tritanopia (blue-blind)
#E6C1B3
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d7ce4b;
/* rgb */ color: rgb(215, 206, 75);
/* oklch */ color: oklch(83.5% 0.149 105.4);
Tailwind
colors: {
  custom: {
    50: '#e7dc84',
    500: '#d7ce4b',
    950: '#000000',
  },
}
SCSS
$custom: #d7ce4b;
$custom-light: #e7dc84;
$custom-dark: #000000;
JSON
{
  "hex": "#d7ce4b",
  "rgb": {
    "r": 215,
    "g": 206,
    "b": 75
  },
  "hsl": {
    "h": 56.143,
    "s": 63.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.83495,
    "c": 0.14912,
    "h": 105.4
  },
  "luminance": 0.59098
}

Semantic roles & 50–950 ramp

primary
#D7CE4B
secondary
#373D8F
accent
#4CE741
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D7CE4B

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

Preview Lab → · Contrast checker → · Palette generator →

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