#D2C741#D2C741

#D2C741 is a light, vivid yellow. Relative luminance 0.549; OKLCH L 81.5% C 0.150 H 104.6°. Best body text is #000000 at 11.99:1 contrast (WCAG AA passes).

Color values

HEX#D2C741
RGBrgb(210, 199, 65)
HSLhsl(55, 62%, 54%)
HSVhsv(55, 69%, 82%)
CMYKcmyk(0%, 5.2%, 69%, 17.6%)
CIE-LABlab(79.00, -11.44, 65.12)
CIE-LCHlch(79.00, 66.12, 99.96°)
OKLaboklab(81.51% -0.0378 0.1452)
OKLCHoklch(81.51% 0.15 104.6)
XYZxyz(47.9578, 54.9320, 13.0768)
Luminance0.5493 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C741 #414CD2
analogous
#D27F41 #D2C741 #95D241
triadic
#D2C741 #41D2C7 #C741D2
tetradic
#D2C741 #41D27F #414CD2 #D24195
square
#D2C741 #41D27F #414CD2 #D24195
split-complementary
#D2C741 #4195D2 #7F41D2
monochromatic
#7B741D #ADA329 #D2C741 #DED672 #E9E4A4

Accessibility & contrast

On white

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

On black

11.99
#D2C741 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C741
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C741#FFFFFF#000000##000000
##D2C7411.001.7511.9911.99
#FFFFFF1.751.0021.0021.00
#00000011.9921.001.001.00
##00000011.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C02C
Deuteranopia (green-blind)
#DCC64A
Tritanopia (blue-blind)
#E1BAAC
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #d2c741;
/* rgb */ color: rgb(210, 199, 65);
/* oklch */ color: oklch(81.5% 0.150 104.6);
Tailwind
colors: {
  custom: {
    50: '#e3d77e',
    500: '#d2c741',
    950: '#000000',
  },
}
SCSS
$custom: #d2c741;
$custom-light: #e3d77e;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c741",
  "rgb": {
    "r": 210,
    "g": 199,
    "b": 65
  },
  "hsl": {
    "h": 55.448,
    "s": 61.702,
    "l": 53.922
  },
  "oklch": {
    "l": 0.81506,
    "c": 0.15008,
    "h": 104.6
  },
  "luminance": 0.5493
}

Semantic roles & 50–950 ramp

primary
#D2C741
secondary
#343A83
accent
#4FE543
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #D2C741

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

Preview Lab → · Contrast checker → · Palette generator →

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