#D2C94F#D2C94F

#D2C94F is a very light, vivid yellow. Relative luminance 0.560; OKLCH L 82.0% C 0.142 H 105.1°. Best body text is #000000 at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#D2C94F
RGBrgb(210, 201, 79)
HSLhsl(56, 59%, 57%)
HSVhsv(56, 62%, 82%)
CMYKcmyk(0%, 4.3%, 62.4%, 17.6%)
CIE-LABlab(79.64, -11.64, 60.15)
CIE-LCHlch(79.64, 61.27, 100.96°)
OKLaboklab(82.05% -0.0369 0.1369)
OKLCHoklch(82.05% 0.142 105.1)
XYZxyz(48.8780, 56.0412, 15.6380)
Luminance0.5604 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C94F #4F58D2
analogous
#D2884F #D2C94F #9AD24F
triadic
#D2C94F #4FD2C9 #C94FD2
tetradic
#D2C94F #4FD288 #4F58D2 #D24F9A
square
#D2C94F #4FD288 #4F58D2 #D24F9A
split-complementary
#D2C94F #4F9AD2 #884FD2
monochromatic
#857E22 #B5AC2E #D2C94F #DED880 #EBE7B0

Accessibility & contrast

On white

1.72
#D2C94F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.21
#D2C94F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C94F
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C94F#FFFFFF#000000##000000
##D2C94F1.001.7212.2112.21
#FFFFFF1.721.0021.0021.00
#00000012.2121.001.001.00
##00000012.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C240
Deuteranopia (green-blind)
#DDC856
Tritanopia (blue-blind)
#E1BCAF
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d2c94f;
/* rgb */ color: rgb(210, 201, 79);
/* oklch */ color: oklch(82.0% 0.142 105.1);
Tailwind
colors: {
  custom: {
    50: '#e3d986',
    500: '#d2c94f',
    950: '#000000',
  },
}
SCSS
$custom: #d2c94f;
$custom-light: #e3d986;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c94f",
  "rgb": {
    "r": 210,
    "g": 201,
    "b": 79
  },
  "hsl": {
    "h": 55.878,
    "s": 59.276,
    "l": 56.667
  },
  "oklch": {
    "l": 0.82045,
    "c": 0.14183,
    "h": 105.1
  },
  "luminance": 0.56039
}

Semantic roles & 50–950 ramp

primary
#D2C94F
secondary
#3A3F8C
accent
#50E245
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D2C94F

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

Preview Lab → · Contrast checker → · Palette generator →

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