#D1C57D#D1C57D

#D1C57D is a light, moderate yellow. Relative luminance 0.550; OKLCH L 81.7% C 0.093 H 100.0°. Best body text is #000000 at 11.99:1 contrast (WCAG AA passes).

Color values

HEX#D1C57D
RGBrgb(209, 197, 125)
HSLhsl(51, 48%, 65%)
HSVhsv(51, 40%, 82%)
CMYKcmyk(0%, 5.7%, 40.2%, 18%)
CIE-LABlab(79.02, -6.06, 37.60)
CIE-LCHlch(79.02, 38.09, 99.15°)
OKLaboklab(81.71% -0.0161 0.0919)
OKLCHoklch(81.71% 0.093 100)
XYZxyz(49.9634, 54.9699, 27.3764)
Luminance0.5497 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1C57D #7D89D1
analogous
#D19B7D #D1C57D #B3D17D
triadic
#D1C57D #7DD1C5 #C57DD1
tetradic
#D1C57D #7DD19B #7D89D1 #D17DB3
square
#D1C57D #7DD19B #7D89D1 #D17DB3
split-complementary
#D1C57D #7DB3D1 #9B7DD1
monochromatic
#9C8E37 #C1B150 #D1C57D #E1D9AA #F1EDD7

Accessibility & contrast

On white

1.75
#D1C57D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.99
#D1C57D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1C57D
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1C57D#FFFFFF#000000##000000
##D1C57D1.001.7511.9911.99
#FFFFFF1.751.0021.0021.00
#00000011.9921.001.001.00
##00000011.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2C178
Deuteranopia (green-blind)
#D5C680
Tritanopia (blue-blind)
#DDBCB3
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #d1c57d;
/* rgb */ color: rgb(209, 197, 125);
/* oklch */ color: oklch(81.7% 0.093 100.0);
Tailwind
colors: {
  custom: {
    50: '#e0d6a3',
    500: '#d1c57d',
    950: '#000000',
  },
}
SCSS
$custom: #d1c57d;
$custom-light: #e0d6a3;
$custom-dark: #000000;
JSON
{
  "hex": "#d1c57d",
  "rgb": {
    "r": 209,
    "g": 197,
    "b": 125
  },
  "hsl": {
    "h": 51.429,
    "s": 47.727,
    "l": 65.49
  },
  "oklch": {
    "l": 0.81708,
    "c": 0.09329,
    "h": 100
  },
  "luminance": 0.54968
}

Semantic roles & 50–950 ramp

primary
#D1C57D
secondary
#515CA2
accent
#3FBB2B
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #D1C57D

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

Preview Lab → · Contrast checker → · Palette generator →

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