#D2C83C#D2C83C

#D2C83C 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#D2C83C
RGBrgb(210, 200, 60)
HSLhsl(56, 63%, 53%)
HSVhsv(56, 71%, 82%)
CMYKcmyk(0%, 4.8%, 71.4%, 17.6%)
CIE-LABlab(79.24, -12.19, 67.19)
CIE-LCHlch(79.24, 68.29, 100.28°)
OKLaboklab(81.68% -0.0404 0.1487)
OKLCHoklch(81.68% 0.154 105.2)
XYZxyz(48.0502, 55.3383, 12.4244)
Luminance0.5534 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C83C #3C46D2
analogous
#D27D3C #D2C83C #91D23C
triadic
#D2C83C #3CD2C8 #C83CD2
tetradic
#D2C83C #3CD27D #3C46D2 #D23C91
square
#D2C83C #3CD27D #3C46D2 #D23C91
split-complementary
#D2C83C #3C91D2 #7D3CD2
monochromatic
#78721C #AAA127 #D2C83C #DDD66E #E9E49F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2C83C#FFFFFF#000000##000000
##D2C83C1.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)
#D9C124
Deuteranopia (green-blind)
#DDC746
Tritanopia (blue-blind)
#E2BAAD
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #d2c83c;
/* rgb */ color: rgb(210, 200, 60);
/* oklch */ color: oklch(81.7% 0.154 105.2);
Tailwind
colors: {
  custom: {
    50: '#e4d87b',
    500: '#d2c83c',
    950: '#000000',
  },
}
SCSS
$custom: #d2c83c;
$custom-light: #e4d87b;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c83c",
  "rgb": {
    "r": 210,
    "g": 200,
    "b": 60
  },
  "hsl": {
    "h": 56,
    "s": 62.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.81682,
    "c": 0.15413,
    "h": 105.2
  },
  "luminance": 0.55336
}

Semantic roles & 50–950 ramp

primary
#D2C83C
secondary
#323780
accent
#4DE642
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D2C83C

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

Preview Lab → · Contrast checker → · Palette generator →

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