#D2C63B#D2C63B

#D2C63B is a light, vivid yellow. Relative luminance 0.544; OKLCH L 81.3% C 0.153 H 104.3°. Best body text is #000000 at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#D2C63B
RGBrgb(210, 198, 59)
HSLhsl(55, 63%, 53%)
HSVhsv(55, 72%, 82%)
CMYKcmyk(0%, 5.7%, 71.9%, 17.6%)
CIE-LABlab(78.70, -11.22, 67.03)
CIE-LCHlch(78.70, 67.96, 99.50°)
OKLaboklab(81.25% -0.0378 0.1482)
OKLCHoklch(81.25% 0.153 104.3)
XYZxyz(47.5639, 54.4075, 12.1331)
Luminance0.5441 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C63B #3B47D2
analogous
#D27B3B #D2C63B #92D23B
triadic
#D2C63B #3BD2C6 #C63BD2
tetradic
#D2C63B #3BD27B #3B47D2 #D23B92
square
#D2C63B #3BD27B #3B47D2 #D23B92
split-complementary
#D2C63B #3B92D2 #7B3BD2
monochromatic
#77701B #A99F27 #D2C63B #DDD46D #E9E39F

Accessibility & contrast

On white

1.77
#D2C63B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.88
#D2C63B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C63B
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C63B#FFFFFF#000000##000000
##D2C63B1.001.7711.8811.88
#FFFFFF1.771.0021.0021.00
#00000011.8821.001.001.00
##00000011.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8BF22
Deuteranopia (green-blind)
#DCC645
Tritanopia (blue-blind)
#E2B8AB
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d2c63b;
/* rgb */ color: rgb(210, 198, 59);
/* oklch */ color: oklch(81.3% 0.153 104.3);
Tailwind
colors: {
  custom: {
    50: '#e4d67a',
    500: '#d2c63b',
    950: '#000000',
  },
}
SCSS
$custom: #d2c63b;
$custom-light: #e4d67a;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c63b",
  "rgb": {
    "r": 210,
    "g": 198,
    "b": 59
  },
  "hsl": {
    "h": 55.232,
    "s": 62.656,
    "l": 52.745
  },
  "oklch": {
    "l": 0.81252,
    "c": 0.15296,
    "h": 104.3
  },
  "luminance": 0.54406
}

Semantic roles & 50–950 ramp

primary
#D2C63B
secondary
#32387F
accent
#4FE642
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D2C63B

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

Preview Lab → · Contrast checker → · Palette generator →

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