#D2C341#D2C341

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

Color values

HEX#D2C341
RGBrgb(210, 195, 65)
HSLhsl(54, 62%, 54%)
HSVhsv(54, 69%, 82%)
CMYKcmyk(0%, 7.1%, 69%, 17.6%)
CIE-LABlab(77.94, -9.40, 64.06)
CIE-LCHlch(77.94, 64.75, 98.35°)
OKLaboklab(80.66% -0.0321 0.143)
OKLCHoklch(80.66% 0.147 102.6)
XYZxyz(47.0496, 53.1155, 12.7740)
Luminance0.5311 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C341 #4150D2
analogous
#D27B41 #D2C341 #99D241
triadic
#D2C341 #41D2C3 #C341D2
tetradic
#D2C341 #41D27B #4150D2 #D24199
square
#D2C341 #41D27B #4150D2 #D24199
split-complementary
#D2C341 #4199D2 #7B41D2
monochromatic
#7B721D #AD9F29 #D2C341 #DED372 #E9E2A4

Accessibility & contrast

On white

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

On black

11.62
#D2C341 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C341
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C341#FFFFFF#000000##000000
##D2C3411.001.8111.6211.62
#FFFFFF1.811.0021.0021.00
#00000011.6221.001.001.00
##00000011.6221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2c341;
/* rgb */ color: rgb(210, 195, 65);
/* oklch */ color: oklch(80.7% 0.147 102.6);
Tailwind
colors: {
  custom: {
    50: '#e3d47d',
    500: '#d2c341',
    950: '#000000',
  },
}
SCSS
$custom: #d2c341;
$custom-light: #e3d47d;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c341",
  "rgb": {
    "r": 210,
    "g": 195,
    "b": 65
  },
  "hsl": {
    "h": 53.793,
    "s": 61.702,
    "l": 53.922
  },
  "oklch": {
    "l": 0.80664,
    "c": 0.14654,
    "h": 102.6
  },
  "luminance": 0.53114
}

Semantic roles & 50–950 ramp

primary
#D2C341
secondary
#343C83
accent
#54E543
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #D2C341

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

Preview Lab → · Contrast checker → · Palette generator →

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