#D2C55F#D2C55F

#D2C55F is a light, vivid yellow. Relative luminance 0.545; OKLCH L 81.4% C 0.124 H 102.1°. Best body text is #000000 at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#D2C55F
RGBrgb(210, 197, 95)
HSLhsl(53, 56%, 60%)
HSVhsv(53, 55%, 82%)
CMYKcmyk(0%, 6.2%, 54.8%, 17.6%)
CIE-LABlab(78.73, -8.46, 52.01)
CIE-LCHlch(78.73, 52.69, 99.24°)
OKLaboklab(81.37% -0.0261 0.1216)
OKLCHoklch(81.37% 0.124 102.1)
XYZxyz(48.6117, 54.4621, 18.7758)
Luminance0.5446 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C55F #5F6CD2
analogous
#D28B5F #D2C55F #A6D25F
triadic
#D2C55F #5FD2C5 #C55FD2
tetradic
#D2C55F #5FD28B #5F6CD2 #D25FA6
square
#D2C55F #5FD28B #5F6CD2 #D25FA6
split-complementary
#D2C55F #5FA6D2 #8B5FD2
monochromatic
#8F8328 #BEAF36 #D2C55F #DFD68F #EDE8BF

Accessibility & contrast

On white

1.77
#D2C55F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.89
#D2C55F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C55F
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C55F#FFFFFF#000000##000000
##D2C55F1.001.7711.8911.89
#FFFFFF1.771.0021.0021.00
#00000011.8921.001.001.00
##00000011.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C055
Deuteranopia (green-blind)
#D9C564
Tritanopia (blue-blind)
#E0B9AE
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d2c55f;
/* rgb */ color: rgb(210, 197, 95);
/* oklch */ color: oklch(81.4% 0.124 102.1);
Tailwind
colors: {
  custom: {
    50: '#e2d68f',
    500: '#d2c55f',
    950: '#000000',
  },
}
SCSS
$custom: #d2c55f;
$custom-light: #e2d68f;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c55f",
  "rgb": {
    "r": 210,
    "g": 197,
    "b": 95
  },
  "hsl": {
    "h": 53.217,
    "s": 56.098,
    "l": 59.804
  },
  "oklch": {
    "l": 0.81373,
    "c": 0.12431,
    "h": 102.1
  },
  "luminance": 0.5446
}

Semantic roles & 50–950 ramp

primary
#D2C55F
secondary
#414A94
accent
#59DF48
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D2C55F

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

Preview Lab → · Contrast checker → · Palette generator →

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