#D2C746#D2C746

#D2C746 is a light, vivid yellow. Relative luminance 0.550; OKLCH L 81.5% C 0.147 H 104.4°. Best body text is #000000 at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#D2C746
RGBrgb(210, 199, 70)
HSLhsl(55, 61%, 55%)
HSVhsv(55, 67%, 82%)
CMYKcmyk(0%, 5.2%, 66.7%, 17.6%)
CIE-LABlab(79.04, -11.17, 63.22)
CIE-LCHlch(79.04, 64.20, 100.02°)
OKLaboklab(81.55% -0.0365 0.142)
OKLCHoklch(81.55% 0.147 104.4)
XYZxyz(48.1091, 54.9925, 13.8736)
Luminance0.5499 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C746 #4651D2
analogous
#D28146 #D2C746 #97D246
triadic
#D2C746 #46D2C7 #C746D2
tetradic
#D2C746 #46D281 #4651D2 #D24697
square
#D2C746 #46D281 #4651D2 #D24697
split-complementary
#D2C746 #4697D2 #8146D2
monochromatic
#7F771F #B0A62B #D2C746 #DED677 #EAE5A8

Accessibility & contrast

On white

1.75
#D2C746 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.00
#D2C746 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C746
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C746#FFFFFF#000000##000000
##D2C7461.001.7512.0012.00
#FFFFFF1.751.0021.0021.00
#00000012.0021.001.001.00
##00000012.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C034
Deuteranopia (green-blind)
#DCC64E
Tritanopia (blue-blind)
#E1BAAD
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #d2c746;
/* rgb */ color: rgb(210, 199, 70);
/* oklch */ color: oklch(81.5% 0.147 104.4);
Tailwind
colors: {
  custom: {
    50: '#e3d780',
    500: '#d2c746',
    950: '#000000',
  },
}
SCSS
$custom: #d2c746;
$custom-light: #e3d780;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c746",
  "rgb": {
    "r": 210,
    "g": 199,
    "b": 70
  },
  "hsl": {
    "h": 55.286,
    "s": 60.87,
    "l": 54.902
  },
  "oklch": {
    "l": 0.81545,
    "c": 0.14667,
    "h": 104.4
  },
  "luminance": 0.54991
}

Semantic roles & 50–950 ramp

primary
#D2C746
secondary
#363C86
accent
#50E444
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D2C746

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

Preview Lab → · Contrast checker → · Palette generator →

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