#D2C263#D2C263

#D2C263 is a light, moderate yellow. Relative luminance 0.532; OKLCH L 80.8% C 0.118 H 99.9°. Best body text is #000000 at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#D2C263
RGBrgb(210, 194, 99)
HSLhsl(51, 55%, 61%)
HSVhsv(51, 53%, 82%)
CMYKcmyk(0%, 7.6%, 52.9%, 17.6%)
CIE-LABlab(77.99, -6.60, 49.25)
CIE-LCHlch(77.99, 49.69, 97.63°)
OKLaboklab(80.8% -0.0203 0.116)
OKLCHoklch(80.8% 0.118 99.9)
XYZxyz(48.1238, 53.1879, 19.5333)
Luminance0.5319 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C263 #6373D2
analogous
#D28A63 #D2C263 #ABD263
triadic
#D2C263 #63D2C2 #C263D2
tetradic
#D2C263 #63D28A #6373D2 #D263AB
square
#D2C263 #63D28A #6373D2 #D263AB
split-complementary
#D2C263 #63ABD2 #8A63D2
monochromatic
#91822A #C0AD37 #D2C263 #E0D592 #EDE7C2

Accessibility & contrast

On white

1.80
#D2C263 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.64
#D2C263 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C263
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C263#FFFFFF#000000##000000
##D2C2631.001.8011.6411.64
#FFFFFF1.801.0021.0021.00
#00000011.6421.001.001.00
##00000011.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BD5A
Deuteranopia (green-blind)
#D6C467
Tritanopia (blue-blind)
#E0B6AC
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #d2c263;
/* rgb */ color: rgb(210, 194, 99);
/* oklch */ color: oklch(80.8% 0.118 99.9);
Tailwind
colors: {
  custom: {
    50: '#e2d492',
    500: '#d2c263',
    950: '#000000',
  },
}
SCSS
$custom: #d2c263;
$custom-light: #e2d492;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c263",
  "rgb": {
    "r": 210,
    "g": 194,
    "b": 99
  },
  "hsl": {
    "h": 51.351,
    "s": 55.224,
    "l": 60.588
  },
  "oklch": {
    "l": 0.80796,
    "c": 0.11773,
    "h": 99.9
  },
  "luminance": 0.53186
}

Semantic roles & 50–950 ramp

primary
#D2C263
secondary
#434F97
accent
#3AC323
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D2C263

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

Preview Lab → · Contrast checker → · Palette generator →

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