#D7CF54#D7CF54

#D7CF54 is a very light, vivid yellow. Relative luminance 0.597; OKLCH L 83.8% C 0.143 H 105.6°. Best body text is #000000 at 12.94:1 contrast (WCAG AA passes).

Color values

HEX#D7CF54
RGBrgb(215, 207, 84)
HSLhsl(56, 62%, 59%)
HSVhsv(56, 61%, 84%)
CMYKcmyk(0%, 3.7%, 60.9%, 15.7%)
CIE-LABlab(81.68, -12.27, 60.35)
CIE-LCHlch(81.68, 61.59, 101.49°)
OKLaboklab(83.79% -0.0384 0.1379)
OKLCHoklch(83.79% 0.143 105.6)
XYZxyz(51.9392, 59.7146, 17.1759)
Luminance0.5971 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CF54 #545CD7
analogous
#D78D54 #D7CF54 #9DD754
triadic
#D7CF54 #54D7CF #CF54D7
tetradic
#D7CF54 #54D78D #545CD7 #D7549D
square
#D7CF54 #54D78D #545CD7 #D7549D
split-complementary
#D7CF54 #549DD7 #8D54D7
monochromatic
#8F8821 #C1B82D #D7CF54 #E3DD86 #EEEBB7

Accessibility & contrast

On white

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

On black

12.94
#D7CF54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7CF54
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7CF54#FFFFFF#000000##000000
##D7CF541.001.6212.9412.94
#FFFFFF1.621.0021.0021.00
#00000012.9421.001.001.00
##00000012.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C846
Deuteranopia (green-blind)
#E3CE5B
Tritanopia (blue-blind)
#E6C2B5
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d7cf54;
/* rgb */ color: rgb(215, 207, 84);
/* oklch */ color: oklch(83.8% 0.143 105.6);
Tailwind
colors: {
  custom: {
    50: '#e6dd89',
    500: '#d7cf54',
    950: '#000000',
  },
}
SCSS
$custom: #d7cf54;
$custom-light: #e6dd89;
$custom-dark: #000000;
JSON
{
  "hex": "#d7cf54",
  "rgb": {
    "r": 215,
    "g": 207,
    "b": 84
  },
  "hsl": {
    "h": 56.336,
    "s": 62.085,
    "l": 58.627
  },
  "oklch": {
    "l": 0.83786,
    "c": 0.1432,
    "h": 105.6
  },
  "luminance": 0.59713
}

Semantic roles & 50–950 ramp

primary
#D7CF54
secondary
#3B4095
accent
#4DE543
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D7CF54

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

Preview Lab → · Contrast checker → · Palette generator →

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