#D2C250#D2C250

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

Color values

HEX#D2C250
RGBrgb(210, 194, 80)
HSLhsl(53, 59%, 57%)
HSVhsv(53, 62%, 82%)
CMYKcmyk(0%, 7.6%, 61.9%, 17.6%)
CIE-LABlab(77.80, -8.01, 57.74)
CIE-LCHlch(77.80, 58.29, 97.90°)
OKLaboklab(80.58% -0.0265 0.132)
OKLCHoklch(80.58% 0.135 101.3)
XYZxyz(47.3199, 52.8663, 15.2995)
Luminance0.5286 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C250 #5060D2
analogous
#D28150 #D2C250 #A1D250
triadic
#D2C250 #50D2C2 #C250D2
tetradic
#D2C250 #50D281 #5060D2 #D250A1
square
#D2C250 #50D281 #5060D2 #D250A1
split-complementary
#D2C250 #50A1D2 #8150D2
monochromatic
#857922 #B6A52F #D2C250 #DFD381 #EBE4B1

Accessibility & contrast

On white

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

On black

11.57
#D2C250 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C250
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C250#FFFFFF#000000##000000
##D2C2501.001.8111.5711.57
#FFFFFF1.811.0021.0021.00
#00000011.5721.001.001.00
##00000011.5721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2c250;
/* rgb */ color: rgb(210, 194, 80);
/* oklch */ color: oklch(80.6% 0.135 101.3);
Tailwind
colors: {
  custom: {
    50: '#e3d486',
    500: '#d2c250',
    950: '#000000',
  },
}
SCSS
$custom: #d2c250;
$custom-light: #e3d486;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c250",
  "rgb": {
    "r": 210,
    "g": 194,
    "b": 80
  },
  "hsl": {
    "h": 52.615,
    "s": 59.091,
    "l": 56.863
  },
  "oklch": {
    "l": 0.80584,
    "c": 0.1346,
    "h": 101.3
  },
  "luminance": 0.52864
}

Semantic roles & 50–950 ramp

primary
#D2C250
secondary
#3A448C
accent
#59E246
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D2C250

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

Preview Lab → · Contrast checker → · Palette generator →

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