#D7CF5E#D7CF5E

#D7CF5E is a very light, vivid yellow. Relative luminance 0.599; OKLCH L 83.9% C 0.135 H 105.2°. Best body text is #000000 at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#D7CF5E
RGBrgb(215, 207, 94)
HSLhsl(56, 60%, 61%)
HSVhsv(56, 56%, 84%)
CMYKcmyk(0%, 3.7%, 56.3%, 15.7%)
CIE-LABlab(81.77, -11.56, 56.06)
CIE-LCHlch(81.77, 57.24, 101.65°)
OKLaboklab(83.89% -0.0353 0.1301)
OKLCHoklch(83.89% 0.135 105.2)
XYZxyz(52.3592, 59.8826, 19.3879)
Luminance0.5988 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CF5E #5E66D7
analogous
#D7925E #D7CF5E #A2D75E
triadic
#D7CF5E #5ED7CF #CF5ED7
tetradic
#D7CF5E #5ED792 #5E66D7 #D75EA2
square
#D7CF5E #5ED792 #5E66D7 #D75EA2
split-complementary
#D7CF5E #5EA2D7 #925ED7
monochromatic
#958E25 #C6BD31 #D7CF5E #E3DE8F #EFECC0

Accessibility & contrast

On white

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

On black

12.98
#D7CF5E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7CF5E
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7CF5E#FFFFFF#000000##000000
##D7CF5E1.001.6212.9812.98
#FFFFFF1.621.0021.0021.00
#00000012.9821.001.001.00
##00000012.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC852
Deuteranopia (green-blind)
#E2CE64
Tritanopia (blue-blind)
#E5C3B6
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d7cf5e;
/* rgb */ color: rgb(215, 207, 94);
/* oklch */ color: oklch(83.9% 0.135 105.2);
Tailwind
colors: {
  custom: {
    50: '#e6dd8f',
    500: '#d7cf5e',
    950: '#000000',
  },
}
SCSS
$custom: #d7cf5e;
$custom-light: #e6dd8f;
$custom-dark: #000000;
JSON
{
  "hex": "#d7cf5e",
  "rgb": {
    "r": 215,
    "g": 207,
    "b": 94
  },
  "hsl": {
    "h": 56.033,
    "s": 60.199,
    "l": 60.588
  },
  "oklch": {
    "l": 0.83889,
    "c": 0.13477,
    "h": 105.2
  },
  "luminance": 0.59881
}

Semantic roles & 50–950 ramp

primary
#D7CF5E
secondary
#3F459A
accent
#29C81E
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D7CF5E

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

Preview Lab → · Contrast checker → · Palette generator →

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