#D2C44F#D2C44F

#D2C44F is a light, vivid yellow. Relative luminance 0.537; OKLCH L 81.0% C 0.137 H 102.5°. Best body text is #000000 at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#D2C44F
RGBrgb(210, 196, 79)
HSLhsl(54, 59%, 57%)
HSVhsv(54, 62%, 82%)
CMYKcmyk(0%, 6.7%, 62.4%, 17.6%)
CIE-LABlab(78.31, -9.10, 58.73)
CIE-LCHlch(78.31, 59.43, 98.81°)
OKLaboklab(80.99% -0.0297 0.1339)
OKLCHoklch(80.99% 0.137 102.5)
XYZxyz(47.7314, 53.7479, 15.2557)
Luminance0.5375 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C44F #4F5DD2
analogous
#D2834F #D2C44F #9FD24F
triadic
#D2C44F #4FD2C4 #C44FD2
tetradic
#D2C44F #4FD283 #4F5DD2 #D24F9F
square
#D2C44F #4FD283 #4F5DD2 #D24F9F
split-complementary
#D2C44F #4F9FD2 #834FD2
monochromatic
#857A22 #B5A72E #D2C44F #DED480 #EBE5B0

Accessibility & contrast

On white

1.79
#D2C44F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.75
#D2C44F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C44F
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C44F#FFFFFF#000000##000000
##D2C44F1.001.7911.7511.75
#FFFFFF1.791.0021.0021.00
#00000011.7521.001.001.00
##00000011.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BE41
Deuteranopia (green-blind)
#D9C555
Tritanopia (blue-blind)
#E1B7AB
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #d2c44f;
/* rgb */ color: rgb(210, 196, 79);
/* oklch */ color: oklch(81.0% 0.137 102.5);
Tailwind
colors: {
  custom: {
    50: '#e3d585',
    500: '#d2c44f',
    950: '#000000',
  },
}
SCSS
$custom: #d2c44f;
$custom-light: #e3d585;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c44f",
  "rgb": {
    "r": 210,
    "g": 196,
    "b": 79
  },
  "hsl": {
    "h": 53.588,
    "s": 59.276,
    "l": 56.667
  },
  "oklch": {
    "l": 0.80993,
    "c": 0.13718,
    "h": 102.5
  },
  "luminance": 0.53746
}

Semantic roles & 50–950 ramp

primary
#D2C44F
secondary
#3A428C
accent
#56E245
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D2C44F

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

Preview Lab → · Contrast checker → · Palette generator →

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