#D2C244#D2C244

#D2C244 is a light, vivid yellow. Relative luminance 0.527; OKLCH L 80.5% C 0.144 H 102.0°. Best body text is #000000 at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#D2C244
RGBrgb(210, 194, 68)
HSLhsl(53, 61%, 55%)
HSVhsv(53, 68%, 82%)
CMYKcmyk(0%, 7.6%, 67.6%, 17.6%)
CIE-LABlab(77.70, -8.73, 62.64)
CIE-LCHlch(77.70, 63.25, 97.93°)
OKLaboklab(80.48% -0.0298 0.1405)
OKLCHoklch(80.48% 0.144 102)
XYZxyz(46.9155, 52.7045, 13.1695)
Luminance0.5270 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C244 #4454D2
analogous
#D27B44 #D2C244 #9BD244
triadic
#D2C244 #44D2C2 #C244D2
tetradic
#D2C244 #44D27B #4454D2 #D2449B
square
#D2C244 #44D27B #4454D2 #D2449B
split-complementary
#D2C244 #449BD2 #7B44D2
monochromatic
#7D731E #AFA02A #D2C244 #DED275 #EAE2A7

Accessibility & contrast

On white

1.82
#D2C244 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.54
#D2C244 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C244
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C244#FFFFFF#000000##000000
##D2C2441.001.8211.5411.54
#FFFFFF1.821.0021.0021.00
#00000011.5421.001.001.00
##00000011.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BC32
Deuteranopia (green-blind)
#D8C34C
Tritanopia (blue-blind)
#E2B5A8
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #d2c244;
/* rgb */ color: rgb(210, 194, 68);
/* oklch */ color: oklch(80.5% 0.144 102.0);
Tailwind
colors: {
  custom: {
    50: '#e3d47f',
    500: '#d2c244',
    950: '#000000',
  },
}
SCSS
$custom: #d2c244;
$custom-light: #e3d47f;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c244",
  "rgb": {
    "r": 210,
    "g": 194,
    "b": 68
  },
  "hsl": {
    "h": 53.239,
    "s": 61.207,
    "l": 54.51
  },
  "oklch": {
    "l": 0.80478,
    "c": 0.14364,
    "h": 102
  },
  "luminance": 0.52703
}

Semantic roles & 50–950 ramp

primary
#D2C244
secondary
#353E85
accent
#56E443
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #D2C244

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

Preview Lab → · Contrast checker → · Palette generator →

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