#D2C83D#D2C83D

#D2C83D is a light, vivid yellow. Relative luminance 0.553; OKLCH L 81.7% C 0.154 H 105.2°. Best body text is #000000 at 12.07:1 contrast (WCAG AA passes).

Color values

HEX#D2C83D
RGBrgb(210, 200, 61)
HSLhsl(56, 62%, 53%)
HSVhsv(56, 71%, 82%)
CMYKcmyk(0%, 4.8%, 71%, 17.6%)
CIE-LABlab(79.24, -12.14, 66.84)
CIE-LCHlch(79.24, 67.93, 100.29°)
OKLaboklab(81.69% -0.0402 0.1482)
OKLCHoklch(81.69% 0.154 105.2)
XYZxyz(48.0769, 55.3489, 12.5649)
Luminance0.5535 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C83D #3D47D2
analogous
#D27D3D #D2C83D #91D23D
triadic
#D2C83D #3DD2C8 #C83DD2
tetradic
#D2C83D #3DD27D #3D47D2 #D23D91
square
#D2C83D #3DD27D #3D47D2 #D23D91
split-complementary
#D2C83D #3D91D2 #7D3DD2
monochromatic
#79721C #AAA228 #D2C83D #DED66F #E9E4A0

Accessibility & contrast

On white

1.74
#D2C83D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.07
#D2C83D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C83D
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C83D#FFFFFF#000000##000000
##D2C83D1.001.7412.0712.07
#FFFFFF1.741.0021.0021.00
#00000012.0721.001.001.00
##00000012.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C125
Deuteranopia (green-blind)
#DDC747
Tritanopia (blue-blind)
#E1BAAD
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #d2c83d;
/* rgb */ color: rgb(210, 200, 61);
/* oklch */ color: oklch(81.7% 0.154 105.2);
Tailwind
colors: {
  custom: {
    50: '#e3d87b',
    500: '#d2c83d',
    950: '#000000',
  },
}
SCSS
$custom: #d2c83d;
$custom-light: #e3d87b;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c83d",
  "rgb": {
    "r": 210,
    "g": 200,
    "b": 61
  },
  "hsl": {
    "h": 55.973,
    "s": 62.343,
    "l": 53.137
  },
  "oklch": {
    "l": 0.81689,
    "c": 0.15352,
    "h": 105.2
  },
  "luminance": 0.55347
}

Semantic roles & 50–950 ramp

primary
#D2C83D
secondary
#323881
accent
#4DE542
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D2C83D

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

Preview Lab → · Contrast checker → · Palette generator →

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