#D2C25D#D2C25D

#D2C25D is a light, vivid yellow. Relative luminance 0.531; OKLCH L 80.7% C 0.123 H 100.4°. Best body text is #000000 at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#D2C25D
RGBrgb(210, 194, 93)
HSLhsl(52, 57%, 59%)
HSVhsv(52, 56%, 82%)
CMYKcmyk(0%, 7.6%, 55.7%, 17.6%)
CIE-LABlab(77.92, -7.08, 52.01)
CIE-LCHlch(77.92, 52.49, 97.75°)
OKLaboklab(80.72% -0.0223 0.1213)
OKLCHoklch(80.72% 0.123 100.4)
XYZxyz(47.8476, 53.0774, 18.0784)
Luminance0.5308 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C25D #5D6DD2
analogous
#D2885D #D2C25D #A8D25D
triadic
#D2C25D #5DD2C2 #C25DD2
tetradic
#D2C25D #5DD288 #5D6DD2 #D25DA8
square
#D2C25D #5DD288 #5D6DD2 #D25DA8
split-complementary
#D2C25D #5DA8D2 #885DD2
monochromatic
#8D7F27 #BDAB35 #D2C25D #DFD48D #EDE6BD

Accessibility & contrast

On white

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

On black

11.62
#D2C25D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C25D
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C25D#FFFFFF#000000##000000
##D2C25D1.001.8111.6211.62
#FFFFFF1.811.0021.0021.00
#00000011.6221.001.001.00
##00000011.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BD53
Deuteranopia (green-blind)
#D7C362
Tritanopia (blue-blind)
#E0B6AB
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #d2c25d;
/* rgb */ color: rgb(210, 194, 93);
/* oklch */ color: oklch(80.7% 0.123 100.4);
Tailwind
colors: {
  custom: {
    50: '#e2d48e',
    500: '#d2c25d',
    950: '#000000',
  },
}
SCSS
$custom: #d2c25d;
$custom-light: #e2d48e;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c25d",
  "rgb": {
    "r": 210,
    "g": 194,
    "b": 93
  },
  "hsl": {
    "h": 51.795,
    "s": 56.522,
    "l": 59.412
  },
  "oklch": {
    "l": 0.80723,
    "c": 0.12337,
    "h": 100.4
  },
  "luminance": 0.53076
}

Semantic roles & 50–950 ramp

primary
#D2C25D
secondary
#404B93
accent
#5DE048
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D2C25D

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

Preview Lab → · Contrast checker → · Palette generator →

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