#D5CF74#D5CF74

#D5CF74 is a very light, moderate yellow. Relative luminance 0.600; OKLCH L 84.0% C 0.114 H 105.3°. Best body text is #000000 at 13.01:1 contrast (WCAG AA passes).

Color values

HEX#D5CF74
RGBrgb(213, 207, 116)
HSLhsl(56, 54%, 65%)
HSVhsv(56, 46%, 84%)
CMYKcmyk(0%, 2.8%, 45.5%, 16.5%)
CIE-LABlab(81.86, -10.49, 45.73)
CIE-LCHlch(81.86, 46.92, 102.92°)
OKLaboklab(83.99% -0.0299 0.1096)
OKLCHoklch(83.99% 0.114 105.3)
XYZxyz(52.9070, 60.0342, 25.3204)
Luminance0.6003 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CF74 #747AD5
analogous
#D59F74 #D5CF74 #AAD574
triadic
#D5CF74 #74D5CF #CF74D5
tetradic
#D5CF74 #74D59F #747AD5 #D574AA
square
#D5CF74 #74D59F #747AD5 #D574AA
split-complementary
#D5CF74 #74AAD5 #9F74D5
monochromatic
#9F9830 #C7BF45 #D5CF74 #E3DFA3 #F1EFD2

Accessibility & contrast

On white

1.61
#D5CF74 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.01
#D5CF74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5CF74
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5CF74#FFFFFF#000000##000000
##D5CF741.001.6113.0113.01
#FFFFFF1.611.0021.0021.00
#00000013.0121.001.001.00
##00000013.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC96C
Deuteranopia (green-blind)
#DFCE78
Tritanopia (blue-blind)
#E1C4B9
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d5cf74;
/* rgb */ color: rgb(213, 207, 116);
/* oklch */ color: oklch(84.0% 0.114 105.3);
Tailwind
colors: {
  custom: {
    50: '#e4dd9e',
    500: '#d5cf74',
    950: '#000000',
  },
}
SCSS
$custom: #d5cf74;
$custom-light: #e4dd9e;
$custom-dark: #000000;
JSON
{
  "hex": "#d5cf74",
  "rgb": {
    "r": 213,
    "g": 207,
    "b": 116
  },
  "hsl": {
    "h": 56.289,
    "s": 53.591,
    "l": 64.51
  },
  "oklch": {
    "l": 0.83994,
    "c": 0.11361,
    "h": 105.3
  },
  "luminance": 0.60033
}

Semantic roles & 50–950 ramp

primary
#D5CF74
secondary
#4A50A3
accent
#2EC124
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D5CF74

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

Preview Lab → · Contrast checker → · Palette generator →

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