#D2C344#D2C344

#D2C344 is a light, vivid yellow. Relative luminance 0.531; OKLCH L 80.7% C 0.144 H 102.5°. Best body text is #000000 at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#D2C344
RGBrgb(210, 195, 68)
HSLhsl(54, 61%, 55%)
HSVhsv(54, 68%, 82%)
CMYKcmyk(0%, 7.1%, 67.6%, 17.6%)
CIE-LABlab(77.96, -9.24, 62.91)
CIE-LCHlch(77.96, 63.59, 98.36°)
OKLaboklab(80.69% -0.0313 0.1411)
OKLCHoklch(80.69% 0.145 102.5)
XYZxyz(47.1388, 53.1512, 13.2439)
Luminance0.5315 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C344 #4453D2
analogous
#D27C44 #D2C344 #9AD244
triadic
#D2C344 #44D2C3 #C344D2
tetradic
#D2C344 #44D27C #4453D2 #D2449A
square
#D2C344 #44D27C #4453D2 #D2449A
split-complementary
#D2C344 #449AD2 #7C44D2
monochromatic
#7D731E #AFA12A #D2C344 #DED375 #EAE3A7

Accessibility & contrast

On white

1.81
#D2C344 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.63
#D2C344 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C344
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C344#FFFFFF#000000##000000
##D2C3441.001.8111.6311.63
#FFFFFF1.811.0021.0021.00
#00000011.6321.001.001.00
##00000011.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BD32
Deuteranopia (green-blind)
#D9C44C
Tritanopia (blue-blind)
#E2B6A9
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #d2c344;
/* rgb */ color: rgb(210, 195, 68);
/* oklch */ color: oklch(80.7% 0.144 102.5);
Tailwind
colors: {
  custom: {
    50: '#e3d47f',
    500: '#d2c344',
    950: '#000000',
  },
}
SCSS
$custom: #d2c344;
$custom-light: #e3d47f;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c344",
  "rgb": {
    "r": 210,
    "g": 195,
    "b": 68
  },
  "hsl": {
    "h": 53.662,
    "s": 61.207,
    "l": 54.51
  },
  "oklch": {
    "l": 0.80687,
    "c": 0.1445,
    "h": 102.5
  },
  "luminance": 0.53149
}

Semantic roles & 50–950 ramp

primary
#D2C344
secondary
#353E85
accent
#54E443
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #D2C344

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

Preview Lab → · Contrast checker → · Palette generator →

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