#D2C25E#D2C25E

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

Color values

HEX#D2C25E
RGBrgb(210, 194, 94)
HSLhsl(52, 56%, 60%)
HSVhsv(52, 55%, 82%)
CMYKcmyk(0%, 7.6%, 55.2%, 17.6%)
CIE-LABlab(77.93, -7.00, 51.55)
CIE-LCHlch(77.93, 52.02, 97.73°)
OKLaboklab(80.74% -0.022 0.1205)
OKLCHoklch(80.74% 0.122 100.3)
XYZxyz(47.8922, 53.0952, 18.3132)
Luminance0.5309 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C25E #5E6ED2
analogous
#D2885E #D2C25E #A8D25E
triadic
#D2C25E #5ED2C2 #C25ED2
tetradic
#D2C25E #5ED288 #5E6ED2 #D25EA8
square
#D2C25E #5ED288 #5E6ED2 #D25EA8
split-complementary
#D2C25E #5EA8D2 #885ED2
monochromatic
#8E8028 #BEAB35 #D2C25E #DFD48E #EDE6BE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2C25E#FFFFFF#000000##000000
##D2C25E1.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)
#D2BD54
Deuteranopia (green-blind)
#D6C363
Tritanopia (blue-blind)
#E0B6AC
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #d2c25e;
/* rgb */ color: rgb(210, 194, 94);
/* oklch */ color: oklch(80.7% 0.122 100.3);
Tailwind
colors: {
  custom: {
    50: '#e2d48f',
    500: '#d2c25e',
    950: '#000000',
  },
}
SCSS
$custom: #d2c25e;
$custom-light: #e2d48f;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c25e",
  "rgb": {
    "r": 210,
    "g": 194,
    "b": 94
  },
  "hsl": {
    "h": 51.724,
    "s": 56.311,
    "l": 59.608
  },
  "oklch": {
    "l": 0.80735,
    "c": 0.12245,
    "h": 100.3
  },
  "luminance": 0.53093
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D2C25E

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

Preview Lab → · Contrast checker → · Palette generator →

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