#D3CF54#D3CF54

#D3CF54 is a very light, vivid yellow. Relative luminance 0.591; OKLCH L 83.4% C 0.144 H 107.4°. Best body text is #000000 at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#D3CF54
RGBrgb(211, 207, 84)
HSLhsl(58, 59%, 58%)
HSVhsv(58, 60%, 83%)
CMYKcmyk(0%, 1.9%, 60.2%, 17.3%)
CIE-LABlab(81.36, -13.92, 59.90)
CIE-LCHlch(81.36, 61.50, 103.09°)
OKLaboklab(83.45% -0.0429 0.1371)
OKLCHoklch(83.45% 0.144 107.4)
XYZxyz(50.7787, 59.1162, 17.1215)
Luminance0.5911 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3CF54 #5458D3
analogous
#D38F54 #D3CF54 #98D354
triadic
#D3CF54 #54D3CF #CF54D3
tetradic
#D3CF54 #54D38F #5458D3 #D35498
square
#D3CF54 #54D38F #5458D3 #D35498
split-complementary
#D3CF54 #5498D3 #8F54D3
monochromatic
#898623 #BAB630 #D3CF54 #E0DD85 #ECEAB5

Accessibility & contrast

On white

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

On black

12.82
#D3CF54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3CF54
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3CF54#FFFFFF#000000##000000
##D3CF541.001.6412.8212.82
#FFFFFF1.641.0021.0021.00
#00000012.8221.001.001.00
##00000012.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC746
Deuteranopia (green-blind)
#E1CC5B
Tritanopia (blue-blind)
#E1C3B5
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d3cf54;
/* rgb */ color: rgb(211, 207, 84);
/* oklch */ color: oklch(83.4% 0.144 107.4);
Tailwind
colors: {
  custom: {
    50: '#e3dd89',
    500: '#d3cf54',
    950: '#000000',
  },
}
SCSS
$custom: #d3cf54;
$custom-light: #e3dd89;
$custom-dark: #000000;
JSON
{
  "hex": "#d3cf54",
  "rgb": {
    "r": 211,
    "g": 207,
    "b": 84
  },
  "hsl": {
    "h": 58.11,
    "s": 59.07,
    "l": 57.843
  },
  "oklch": {
    "l": 0.83447,
    "c": 0.14364,
    "h": 107.4
  },
  "luminance": 0.59115
}

Semantic roles & 50–950 ramp

primary
#D3CF54
secondary
#3C3E90
accent
#4AE246
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D3CF54

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

Preview Lab → · Contrast checker → · Palette generator →

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