#D3C168#D3C168

#D3C168 is a light, moderate yellow. Relative luminance 0.530; OKLCH L 80.7% C 0.112 H 98.1°. Best body text is #000000 at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#D3C168
RGBrgb(211, 193, 104)
HSLhsl(50, 55%, 62%)
HSVhsv(50, 51%, 83%)
CMYKcmyk(0%, 8.5%, 50.7%, 17.3%)
CIE-LABlab(77.87, -5.24, 46.71)
CIE-LCHlch(77.87, 47.00, 96.40°)
OKLaboklab(80.74% -0.0159 0.1109)
OKLCHoklch(80.74% 0.112 98.1)
XYZxyz(48.4342, 52.9901, 20.7709)
Luminance0.5299 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3C168 #687AD3
analogous
#D38C68 #D3C168 #AFD368
triadic
#D3C168 #68D3C1 #C168D3
tetradic
#D3C168 #68D38C #687AD3 #D368AF
square
#D3C168 #68D38C #687AD3 #D368AF
split-complementary
#D3C168 #68AFD3 #8C68D3
monochromatic
#95832B #C5AD39 #D3C168 #E1D497 #EFE8C7

Accessibility & contrast

On white

1.81
#D3C168 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.60
#D3C168 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3C168
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3C168#FFFFFF#000000##000000
##D3C1681.001.8111.6011.60
#FFFFFF1.811.0021.0021.00
#00000011.6021.001.001.00
##00000011.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BD60
Deuteranopia (green-blind)
#D5C36C
Tritanopia (blue-blind)
#E1B6AC
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #d3c168;
/* rgb */ color: rgb(211, 193, 104);
/* oklch */ color: oklch(80.7% 0.112 98.1);
Tailwind
colors: {
  custom: {
    50: '#e3d395',
    500: '#d3c168',
    950: '#000000',
  },
}
SCSS
$custom: #d3c168;
$custom-light: #e3d395;
$custom-dark: #000000;
JSON
{
  "hex": "#d3c168",
  "rgb": {
    "r": 211,
    "g": 193,
    "b": 104
  },
  "hsl": {
    "h": 49.907,
    "s": 54.872,
    "l": 61.765
  },
  "oklch": {
    "l": 0.80743,
    "c": 0.112,
    "h": 98.1
  },
  "luminance": 0.52988
}

Semantic roles & 50–950 ramp

primary
#D3C168
secondary
#45539A
accent
#3EC223
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D3C168

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

Preview Lab → · Contrast checker → · Palette generator →

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