#D2C246#D2C246

#D2C246 is a light, vivid yellow. Relative luminance 0.527; OKLCH L 80.5% C 0.142 H 101.9°. Best body text is #000000 at 11.55:1 contrast (WCAG AA passes).

Color values

HEX#D2C246
RGBrgb(210, 194, 70)
HSLhsl(53, 61%, 55%)
HSVhsv(53, 67%, 82%)
CMYKcmyk(0%, 7.6%, 66.7%, 17.6%)
CIE-LABlab(77.72, -8.62, 61.86)
CIE-LCHlch(77.72, 62.45, 97.93°)
OKLaboklab(80.49% -0.0293 0.1392)
OKLCHoklch(80.49% 0.142 101.9)
XYZxyz(46.9776, 52.7294, 13.4964)
Luminance0.5273 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C246 #4656D2
analogous
#D27C46 #D2C246 #9CD246
triadic
#D2C246 #46D2C2 #C246D2
tetradic
#D2C246 #46D27C #4656D2 #D2469C
square
#D2C246 #46D27C #4656D2 #D2469C
split-complementary
#D2C246 #469CD2 #7C46D2
monochromatic
#7F741F #B0A12B #D2C246 #DED277 #EAE2A8

Accessibility & contrast

On white

1.82
#D2C246 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.55
#D2C246 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C246
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C246#FFFFFF#000000##000000
##D2C2461.001.8211.5511.55
#FFFFFF1.821.0021.0021.00
#00000011.5521.001.001.00
##00000011.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BC35
Deuteranopia (green-blind)
#D8C34D
Tritanopia (blue-blind)
#E2B5A9
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #d2c246;
/* rgb */ color: rgb(210, 194, 70);
/* oklch */ color: oklch(80.5% 0.142 101.9);
Tailwind
colors: {
  custom: {
    50: '#e3d480',
    500: '#d2c246',
    950: '#000000',
  },
}
SCSS
$custom: #d2c246;
$custom-light: #e3d480;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c246",
  "rgb": {
    "r": 210,
    "g": 194,
    "b": 70
  },
  "hsl": {
    "h": 53.143,
    "s": 60.87,
    "l": 54.902
  },
  "oklch": {
    "l": 0.80494,
    "c": 0.14223,
    "h": 101.9
  },
  "luminance": 0.52727
}

Semantic roles & 50–950 ramp

primary
#D2C246
secondary
#363F86
accent
#56E444
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D2C246

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

Preview Lab → · Contrast checker → · Palette generator →

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