#D6C852#D6C852

#D6C852 is a very light, vivid yellow. Relative luminance 0.562; OKLCH L 82.2% C 0.138 H 102.6°. Best body text is #000000 at 12.24:1 contrast (WCAG AA passes).

Color values

HEX#D6C852
RGBrgb(214, 200, 82)
HSLhsl(54, 62%, 58%)
HSVhsv(54, 62%, 84%)
CMYKcmyk(0%, 6.5%, 61.7%, 16.1%)
CIE-LABlab(79.74, -9.27, 59.08)
CIE-LCHlch(79.74, 59.80, 98.92°)
OKLaboklab(82.21% -0.0301 0.135)
OKLCHoklch(82.21% 0.138 102.6)
XYZxyz(49.9107, 56.2158, 16.2027)
Luminance0.5621 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6C852 #5260D6
analogous
#D68652 #D6C852 #A2D652
triadic
#D6C852 #52D6C8 #C852D6
tetradic
#D6C852 #52D686 #5260D6 #D652A2
square
#D6C852 #52D686 #5260D6 #D652A2
split-complementary
#D6C852 #52A2D6 #8652D6
monochromatic
#8C8121 #BEAE2D #D6C852 #E2D883 #EDE7B5

Accessibility & contrast

On white

1.72
#D6C852 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.24
#D6C852 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6C852
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6C852#FFFFFF#000000##000000
##D6C8521.001.7212.2412.24
#FFFFFF1.721.0021.0021.00
#00000012.2421.001.001.00
##00000012.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C244
Deuteranopia (green-blind)
#DDC858
Tritanopia (blue-blind)
#E5BBAF
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d6c852;
/* rgb */ color: rgb(214, 200, 82);
/* oklch */ color: oklch(82.2% 0.138 102.6);
Tailwind
colors: {
  custom: {
    50: '#e6d887',
    500: '#d6c852',
    950: '#000000',
  },
}
SCSS
$custom: #d6c852;
$custom-light: #e6d887;
$custom-dark: #000000;
JSON
{
  "hex": "#d6c852",
  "rgb": {
    "r": 214,
    "g": 200,
    "b": 82
  },
  "hsl": {
    "h": 53.636,
    "s": 61.682,
    "l": 58.039
  },
  "oklch": {
    "l": 0.82213,
    "c": 0.1383,
    "h": 102.6
  },
  "luminance": 0.56214
}

Semantic roles & 50–950 ramp

primary
#D6C852
secondary
#3A4392
accent
#54E543
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D6C852

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

Preview Lab → · Contrast checker → · Palette generator →

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