#D2C83F#D2C83F

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

Color values

HEX#D2C83F
RGBrgb(210, 200, 63)
HSLhsl(56, 62%, 54%)
HSVhsv(56, 70%, 82%)
CMYKcmyk(0%, 4.8%, 70%, 17.6%)
CIE-LABlab(79.25, -12.04, 66.12)
CIE-LCHlch(79.25, 67.21, 100.32°)
OKLaboklab(81.7% -0.0397 0.147)
OKLCHoklch(81.7% 0.152 105.1)
XYZxyz(48.1318, 55.3709, 12.8540)
Luminance0.5537 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C83F #3F49D2
analogous
#D27E3F #D2C83F #92D23F
triadic
#D2C83F #3FD2C8 #C83FD2
tetradic
#D2C83F #3FD27E #3F49D2 #D23F92
square
#D2C83F #3FD27E #3F49D2 #D23F92
split-complementary
#D2C83F #3F92D2 #7E3FD2
monochromatic
#7A741D #ACA328 #D2C83F #DED671 #E9E4A2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2C83F#FFFFFF#000000##000000
##D2C83F1.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)
#D9C129
Deuteranopia (green-blind)
#DDC748
Tritanopia (blue-blind)
#E1BBAD
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #d2c83f;
/* rgb */ color: rgb(210, 200, 63);
/* oklch */ color: oklch(81.7% 0.152 105.1);
Tailwind
colors: {
  custom: {
    50: '#e3d87d',
    500: '#d2c83f',
    950: '#000000',
  },
}
SCSS
$custom: #d2c83f;
$custom-light: #e3d87d;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c83f",
  "rgb": {
    "r": 210,
    "g": 200,
    "b": 63
  },
  "hsl": {
    "h": 55.918,
    "s": 62.025,
    "l": 53.529
  },
  "oklch": {
    "l": 0.81703,
    "c": 0.15227,
    "h": 105.1
  },
  "luminance": 0.55369
}

Semantic roles & 50–950 ramp

primary
#D2C83F
secondary
#333982
accent
#4EE543
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #D2C83F

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

Preview Lab → · Contrast checker → · Palette generator →

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