#D2C343#D2C343

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

Color values

HEX#D2C343
RGBrgb(210, 195, 67)
HSLhsl(54, 61%, 54%)
HSVhsv(54, 68%, 82%)
CMYKcmyk(0%, 7.1%, 68.1%, 17.6%)
CIE-LABlab(77.96, -9.30, 63.30)
CIE-LCHlch(77.96, 63.98, 98.35°)
OKLaboklab(80.68% -0.0316 0.1417)
OKLCHoklch(80.68% 0.145 102.6)
XYZxyz(47.1085, 53.1390, 13.0845)
Luminance0.5314 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C343 #4352D2
analogous
#D27C43 #D2C343 #9AD243
triadic
#D2C343 #43D2C3 #C343D2
tetradic
#D2C343 #43D27C #4352D2 #D2439A
square
#D2C343 #43D27C #4352D2 #D2439A
split-complementary
#D2C343 #439AD2 #7C43D2
monochromatic
#7D731E #AEA02A #D2C343 #DED374 #EAE3A6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2C343#FFFFFF#000000##000000
##D2C3431.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)
#D4BD31
Deuteranopia (green-blind)
#D9C44B
Tritanopia (blue-blind)
#E2B6A9
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #d2c343;
/* rgb */ color: rgb(210, 195, 67);
/* oklch */ color: oklch(80.7% 0.145 102.6);
Tailwind
colors: {
  custom: {
    50: '#e3d47e',
    500: '#d2c343',
    950: '#000000',
  },
}
SCSS
$custom: #d2c343;
$custom-light: #e3d47e;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c343",
  "rgb": {
    "r": 210,
    "g": 195,
    "b": 67
  },
  "hsl": {
    "h": 53.706,
    "s": 61.373,
    "l": 54.314
  },
  "oklch": {
    "l": 0.80679,
    "c": 0.14519,
    "h": 102.6
  },
  "luminance": 0.53137
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D2C343

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

Preview Lab → · Contrast checker → · Palette generator →

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