#D6C954#D6C954

#D6C954 is a very light, vivid yellow. Relative luminance 0.567; OKLCH L 82.4% C 0.138 H 103.0°. Best body text is #000000 at 12.34:1 contrast (WCAG AA passes).

Color values

HEX#D6C954
RGBrgb(214, 201, 84)
HSLhsl(54, 61%, 58%)
HSVhsv(54, 61%, 84%)
CMYKcmyk(0%, 6.1%, 60.7%, 16.1%)
CIE-LABlab(80.02, -9.65, 58.52)
CIE-LCHlch(80.02, 59.31, 99.36°)
OKLaboklab(82.44% -0.0309 0.1341)
OKLCHoklch(82.44% 0.138 103)
XYZxyz(50.2203, 56.7114, 16.6868)
Luminance0.5671 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6C954 #5461D6
analogous
#D68854 #D6C954 #A2D654
triadic
#D6C954 #54D6C9 #C954D6
tetradic
#D6C954 #54D688 #5461D6 #D654A2
square
#D6C954 #54D688 #5461D6 #D654A2
split-complementary
#D6C954 #54A2D6 #8854D6
monochromatic
#8E8322 #BFB02E #D6C954 #E2D985 #EEE8B7

Accessibility & contrast

On white

1.70
#D6C954 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.34
#D6C954 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6C954
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6C954#FFFFFF#000000##000000
##D6C9541.001.7012.3412.34
#FFFFFF1.701.0021.0021.00
#00000012.3421.001.001.00
##00000012.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC347
Deuteranopia (green-blind)
#DEC95A
Tritanopia (blue-blind)
#E5BCB0
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d6c954;
/* rgb */ color: rgb(214, 201, 84);
/* oklch */ color: oklch(82.4% 0.138 103.0);
Tailwind
colors: {
  custom: {
    50: '#e6d989',
    500: '#d6c954',
    950: '#000000',
  },
}
SCSS
$custom: #d6c954;
$custom-light: #e6d989;
$custom-dark: #000000;
JSON
{
  "hex": "#d6c954",
  "rgb": {
    "r": 214,
    "g": 201,
    "b": 84
  },
  "hsl": {
    "h": 54,
    "s": 61.321,
    "l": 58.431
  },
  "oklch": {
    "l": 0.82442,
    "c": 0.13759,
    "h": 103
  },
  "luminance": 0.5671
}

Semantic roles & 50–950 ramp

primary
#D6C954
secondary
#3B4493
accent
#53E443
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D6C954

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

Preview Lab → · Contrast checker → · Palette generator →

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