#D2C461#D2C461

#D2C461 is a light, vivid yellow. Relative luminance 0.540; OKLCH L 81.2% C 0.121 H 101.4°. Best body text is #000000 at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#D2C461
RGBrgb(210, 196, 97)
HSLhsl(53, 56%, 60%)
HSVhsv(53, 54%, 82%)
CMYKcmyk(0%, 6.7%, 53.8%, 17.6%)
CIE-LABlab(78.49, -7.79, 50.79)
CIE-LCHlch(78.49, 51.38, 98.72°)
OKLaboklab(81.19% -0.0239 0.1191)
OKLCHoklch(81.19% 0.122 101.4)
XYZxyz(48.4775, 54.0463, 19.1854)
Luminance0.5404 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C461 #616FD2
analogous
#D28B61 #D2C461 #A8D261
triadic
#D2C461 #61D2C4 #C461D2
tetradic
#D2C461 #61D28B #616FD2 #D261A8
square
#D2C461 #61D28B #616FD2 #D261A8
split-complementary
#D2C461 #61A8D2 #8B61D2
monochromatic
#908329 #BFAE36 #D2C461 #E0D691 #EDE8C0

Accessibility & contrast

On white

1.78
#D2C461 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.81
#D2C461 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C461
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C461#FFFFFF#000000##000000
##D2C4611.001.7811.8111.81
#FFFFFF1.781.0021.0021.00
#00000011.8121.001.001.00
##00000011.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BF58
Deuteranopia (green-blind)
#D8C566
Tritanopia (blue-blind)
#E0B8AE
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #d2c461;
/* rgb */ color: rgb(210, 196, 97);
/* oklch */ color: oklch(81.2% 0.121 101.4);
Tailwind
colors: {
  custom: {
    50: '#e2d591',
    500: '#d2c461',
    950: '#000000',
  },
}
SCSS
$custom: #d2c461;
$custom-light: #e2d591;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c461",
  "rgb": {
    "r": 210,
    "g": 196,
    "b": 97
  },
  "hsl": {
    "h": 52.566,
    "s": 55.665,
    "l": 60.196
  },
  "oklch": {
    "l": 0.81188,
    "c": 0.1215,
    "h": 101.4
  },
  "luminance": 0.54045
}

Semantic roles & 50–950 ramp

primary
#D2C461
secondary
#424C96
accent
#36C322
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D2C461

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

Preview Lab → · Contrast checker → · Palette generator →

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