#D2C144#D2C144

#D2C144 is a light, vivid yellow. Relative luminance 0.523; OKLCH L 80.3% C 0.143 H 101.5°. Best body text is #000000 at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#D2C144
RGBrgb(210, 193, 68)
HSLhsl(53, 61%, 55%)
HSVhsv(53, 68%, 82%)
CMYKcmyk(0%, 8.1%, 67.6%, 17.6%)
CIE-LABlab(77.44, -8.22, 62.37)
CIE-LCHlch(77.44, 62.91, 97.50°)
OKLaboklab(80.27% -0.0284 0.1399)
OKLCHoklch(80.27% 0.143 101.5)
XYZxyz(46.6937, 52.2609, 13.0955)
Luminance0.5226 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C144 #4455D2
analogous
#D27A44 #D2C144 #9CD244
triadic
#D2C144 #44D2C1 #C144D2
tetradic
#D2C144 #44D27A #4455D2 #D2449C
square
#D2C144 #44D27A #4455D2 #D2449C
split-complementary
#D2C144 #449CD2 #7A44D2
monochromatic
#7D721E #AF9F2A #D2C144 #DED175 #EAE2A7

Accessibility & contrast

On white

1.83
#D2C144 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.45
#D2C144 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C144
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C144#FFFFFF#000000##000000
##D2C1441.001.8311.4511.45
#FFFFFF1.831.0021.0021.00
#00000011.4521.001.001.00
##00000011.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BB33
Deuteranopia (green-blind)
#D7C24B
Tritanopia (blue-blind)
#E2B4A8
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #d2c144;
/* rgb */ color: rgb(210, 193, 68);
/* oklch */ color: oklch(80.3% 0.143 101.5);
Tailwind
colors: {
  custom: {
    50: '#e3d37f',
    500: '#d2c144',
    950: '#000000',
  },
}
SCSS
$custom: #d2c144;
$custom-light: #e3d37f;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c144",
  "rgb": {
    "r": 210,
    "g": 193,
    "b": 68
  },
  "hsl": {
    "h": 52.817,
    "s": 61.207,
    "l": 54.51
  },
  "oklch": {
    "l": 0.80268,
    "c": 0.14278,
    "h": 101.5
  },
  "luminance": 0.52259
}

Semantic roles & 50–950 ramp

primary
#D2C144
secondary
#353F85
accent
#57E443
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #D2C144

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

Preview Lab → · Contrast checker → · Palette generator →

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