#D2C346#D2C346

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

Color values

HEX#D2C346
RGBrgb(210, 195, 70)
HSLhsl(54, 61%, 55%)
HSVhsv(54, 67%, 82%)
CMYKcmyk(0%, 7.1%, 66.7%, 17.6%)
CIE-LABlab(77.98, -9.13, 62.13)
CIE-LCHlch(77.98, 62.80, 98.36°)
OKLaboklab(80.7% -0.0308 0.1397)
OKLCHoklch(80.7% 0.143 102.4)
XYZxyz(47.2009, 53.1760, 13.5709)
Luminance0.5317 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C346 #4655D2
analogous
#D27D46 #D2C346 #9BD246
triadic
#D2C346 #46D2C3 #C346D2
tetradic
#D2C346 #46D27D #4655D2 #D2469B
square
#D2C346 #46D27D #4655D2 #D2469B
split-complementary
#D2C346 #469BD2 #7D46D2
monochromatic
#7F741F #B0A22B #D2C346 #DED377 #EAE3A8

Accessibility & contrast

On white

1.80
#D2C346 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2C346#FFFFFF#000000##000000
##D2C3461.001.8011.6311.63
#FFFFFF1.801.0021.0021.00
#00000011.6321.001.001.00
##00000011.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BD35
Deuteranopia (green-blind)
#D9C44D
Tritanopia (blue-blind)
#E1B6A9
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #d2c346;
/* rgb */ color: rgb(210, 195, 70);
/* oklch */ color: oklch(80.7% 0.143 102.4);
Tailwind
colors: {
  custom: {
    50: '#e3d480',
    500: '#d2c346',
    950: '#000000',
  },
}
SCSS
$custom: #d2c346;
$custom-light: #e3d480;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c346",
  "rgb": {
    "r": 210,
    "g": 195,
    "b": 70
  },
  "hsl": {
    "h": 53.571,
    "s": 60.87,
    "l": 54.902
  },
  "oklch": {
    "l": 0.80704,
    "c": 0.14309,
    "h": 102.4
  },
  "luminance": 0.53174
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D2C346

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

Preview Lab → · Contrast checker → · Palette generator →

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