#D7CE45#D7CE45

#D7CE45 is a very light, vivid yellow. Relative luminance 0.590; OKLCH L 83.4% C 0.153 H 105.6°. Best body text is #000000 at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#D7CE45
RGBrgb(215, 206, 69)
HSLhsl(56, 65%, 56%)
HSVhsv(56, 68%, 84%)
CMYKcmyk(0%, 4.2%, 67.9%, 15.7%)
CIE-LABlab(81.30, -12.65, 66.04)
CIE-LCHlch(81.30, 67.24, 100.85°)
OKLaboklab(83.45% -0.0411 0.1477)
OKLCHoklch(83.45% 0.153 105.6)
XYZxyz(51.1718, 59.0212, 14.3258)
Luminance0.5902 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CE45 #454ED7
analogous
#D78545 #D7CE45 #97D745
triadic
#D7CE45 #45D7CE #CE45D7
tetradic
#D7CE45 #45D785 #454ED7 #D74597
square
#D7CE45 #45D785 #454ED7 #D74597
split-complementary
#D7CE45 #4597D7 #8545D7
monochromatic
#857F1D #B7AE27 #D7CE45 #E2DB77 #EDE9AA

Accessibility & contrast

On white

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

On black

12.80
#D7CE45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7CE45
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7CE45#FFFFFF#000000##000000
##D7CE451.001.6412.8012.80
#FFFFFF1.641.0021.0021.00
#00000012.8021.001.001.00
##00000012.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC731
Deuteranopia (green-blind)
#E3CD4E
Tritanopia (blue-blind)
#E6C0B3
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d7ce45;
/* rgb */ color: rgb(215, 206, 69);
/* oklch */ color: oklch(83.4% 0.153 105.6);
Tailwind
colors: {
  custom: {
    50: '#e7dc80',
    500: '#d7ce45',
    950: '#000000',
  },
}
SCSS
$custom: #d7ce45;
$custom-light: #e7dc80;
$custom-dark: #000000;
JSON
{
  "hex": "#d7ce45",
  "rgb": {
    "r": 215,
    "g": 206,
    "b": 69
  },
  "hsl": {
    "h": 56.301,
    "s": 64.602,
    "l": 55.686
  },
  "oklch": {
    "l": 0.83447,
    "c": 0.1533,
    "h": 105.6
  },
  "luminance": 0.59019
}

Semantic roles & 50–950 ramp

primary
#D7CE45
secondary
#353A8C
accent
#4BE840
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D7CE45

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

Preview Lab → · Contrast checker → · Palette generator →

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