#D7CF45#D7CF45

#D7CF45 is a very light, vivid yellow. Relative luminance 0.595; OKLCH L 83.7% C 0.154 H 106.0°. Best body text is #000000 at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#D7CF45
RGBrgb(215, 207, 69)
HSLhsl(57, 65%, 56%)
HSVhsv(57, 68%, 84%)
CMYKcmyk(0%, 3.7%, 67.9%, 15.7%)
CIE-LABlab(81.57, -13.16, 66.31)
CIE-LCHlch(81.57, 67.60, 101.22°)
OKLaboklab(83.66% -0.0426 0.1482)
OKLCHoklch(83.66% 0.154 106)
XYZxyz(51.4133, 59.5042, 14.4063)
Luminance0.5950 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CF45 #454DD7
analogous
#D78645 #D7CF45 #96D745
triadic
#D7CF45 #45D7CF #CF45D7
tetradic
#D7CF45 #45D786 #454DD7 #D74596
square
#D7CF45 #45D786 #454DD7 #D74596
split-complementary
#D7CF45 #4596D7 #8645D7
monochromatic
#857F1D #B7AF27 #D7CF45 #E2DC77 #EDE9AA

Accessibility & contrast

On white

1.63
#D7CF45 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.90
#D7CF45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7CF45
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7CF45#FFFFFF#000000##000000
##D7CF451.001.6312.9012.90
#FFFFFF1.631.0021.0021.00
#00000012.9021.001.001.00
##00000012.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C730
Deuteranopia (green-blind)
#E4CD4E
Tritanopia (blue-blind)
#E6C1B3
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d7cf45;
/* rgb */ color: rgb(215, 207, 69);
/* oklch */ color: oklch(83.7% 0.154 106.0);
Tailwind
colors: {
  custom: {
    50: '#e7dd80',
    500: '#d7cf45',
    950: '#000000',
  },
}
SCSS
$custom: #d7cf45;
$custom-light: #e7dd80;
$custom-dark: #000000;
JSON
{
  "hex": "#d7cf45",
  "rgb": {
    "r": 215,
    "g": 207,
    "b": 69
  },
  "hsl": {
    "h": 56.712,
    "s": 64.602,
    "l": 55.686
  },
  "oklch": {
    "l": 0.83658,
    "c": 0.15423,
    "h": 106
  },
  "luminance": 0.59502
}

Semantic roles & 50–950 ramp

primary
#D7CF45
secondary
#35398C
accent
#49E840
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D7CF45

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

Preview Lab → · Contrast checker → · Palette generator →

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