#D2C253#D2C253

#D2C253 is a light, vivid yellow. Relative luminance 0.529; OKLCH L 80.6% C 0.132 H 101.1°. Best body text is #000000 at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#D2C253
RGBrgb(210, 194, 83)
HSLhsl(52, 59%, 57%)
HSVhsv(52, 60%, 82%)
CMYKcmyk(0%, 7.6%, 60.5%, 17.6%)
CIE-LABlab(77.82, -7.81, 56.45)
CIE-LCHlch(77.82, 56.99, 97.88°)
OKLaboklab(80.61% -0.0255 0.1296)
OKLCHoklch(80.61% 0.132 101.1)
XYZxyz(47.4333, 52.9116, 15.8964)
Luminance0.5291 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C253 #5363D2
analogous
#D28353 #D2C253 #A2D253
triadic
#D2C253 #53D2C2 #C253D2
tetradic
#D2C253 #53D283 #5363D2 #D253A2
square
#D2C253 #53D283 #5363D2 #D253A2
split-complementary
#D2C253 #53A2D2 #8353D2
monochromatic
#877B23 #B8A730 #D2C253 #DFD384 #EBE4B4

Accessibility & contrast

On white

1.81
#D2C253 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.58
#D2C253 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C253
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C253#FFFFFF#000000##000000
##D2C2531.001.8111.5811.58
#FFFFFF1.811.0021.0021.00
#00000011.5821.001.001.00
##00000011.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BD47
Deuteranopia (green-blind)
#D7C359
Tritanopia (blue-blind)
#E1B5AA
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #d2c253;
/* rgb */ color: rgb(210, 194, 83);
/* oklch */ color: oklch(80.6% 0.132 101.1);
Tailwind
colors: {
  custom: {
    50: '#e3d488',
    500: '#d2c253',
    950: '#000000',
  },
}
SCSS
$custom: #d2c253;
$custom-light: #e3d488;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c253",
  "rgb": {
    "r": 210,
    "g": 194,
    "b": 83
  },
  "hsl": {
    "h": 52.441,
    "s": 58.525,
    "l": 57.451
  },
  "oklch": {
    "l": 0.80614,
    "c": 0.13213,
    "h": 101.1
  },
  "luminance": 0.5291
}

Semantic roles & 50–950 ramp

primary
#D2C253
secondary
#3B468E
accent
#5AE246
background
#FEFEFC
surface
#FDFBF3
border
#D5D4CD
text
#16140C
muted
#84837F

Preview Lab

Preview with #D2C253

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

Preview Lab → · Contrast checker → · Palette generator →

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