#D5CF46#D5CF46

#D5CF46 is a very light, vivid yellow. Relative luminance 0.592; OKLCH L 83.5% C 0.154 H 106.8°. Best body text is #000000 at 12.84:1 contrast (WCAG AA passes).

Color values

HEX#D5CF46
RGBrgb(213, 207, 70)
HSLhsl(57, 63%, 55%)
HSVhsv(57, 67%, 84%)
CMYKcmyk(0%, 2.8%, 67.1%, 16.5%)
CIE-LABlab(81.41, -13.94, 65.71)
CIE-LCHlch(81.41, 67.17, 101.98°)
OKLaboklab(83.49% -0.0445 0.1472)
OKLCHoklch(83.49% 0.154 106.8)
XYZxyz(50.8608, 59.2157, 14.5438)
Luminance0.5921 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CF46 #464CD5
analogous
#D58846 #D5CF46 #93D546
triadic
#D5CF46 #46D5CF #CF46D5
tetradic
#D5CF46 #46D588 #464CD5 #D54693
square
#D5CF46 #46D588 #464CD5 #D54693
split-complementary
#D5CF46 #4693D5 #8846D5
monochromatic
#837F1E #B5AF29 #D5CF46 #E0DC78 #ECE9AA

Accessibility & contrast

On white

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

On black

12.84
#D5CF46 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5CF46
12.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5CF46#FFFFFF#000000##000000
##D5CF461.001.6412.8412.84
#FFFFFF1.641.0021.0021.00
#00000012.8421.001.001.00
##00000012.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C732
Deuteranopia (green-blind)
#E3CD4F
Tritanopia (blue-blind)
#E4C2B3
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d5cf46;
/* rgb */ color: rgb(213, 207, 70);
/* oklch */ color: oklch(83.5% 0.154 106.8);
Tailwind
colors: {
  custom: {
    50: '#e5dd81',
    500: '#d5cf46',
    950: '#000000',
  },
}
SCSS
$custom: #d5cf46;
$custom-light: #e5dd81;
$custom-dark: #000000;
JSON
{
  "hex": "#d5cf46",
  "rgb": {
    "r": 213,
    "g": 207,
    "b": 70
  },
  "hsl": {
    "h": 57.483,
    "s": 62.996,
    "l": 55.49
  },
  "oklch": {
    "l": 0.83495,
    "c": 0.1538,
    "h": 106.8
  },
  "luminance": 0.59214
}

Semantic roles & 50–950 ramp

primary
#D5CF46
secondary
#35398A
accent
#49E642
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D5CF46

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

Preview Lab → · Contrast checker → · Palette generator →

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