#D3C162#D3C162

#D3C162 is a light, moderate yellow. Relative luminance 0.529; OKLCH L 80.7% C 0.118 H 98.8°. Best body text is #000000 at 11.57:1 contrast (WCAG AA passes).

Color values

HEX#D3C162
RGBrgb(211, 193, 98)
HSLhsl(50, 56%, 61%)
HSVhsv(50, 54%, 83%)
CMYKcmyk(0%, 8.5%, 53.6%, 17.3%)
CIE-LABlab(77.80, -5.75, 49.53)
CIE-LCHlch(77.80, 49.86, 96.62°)
OKLaboklab(80.67% -0.018 0.1165)
OKLCHoklch(80.67% 0.118 98.8)
XYZxyz(48.1402, 52.8725, 19.2225)
Luminance0.5287 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3C162 #6274D3
analogous
#D38862 #D3C162 #ADD362
triadic
#D3C162 #62D3C1 #C162D3
tetradic
#D3C162 #62D388 #6274D3 #D362AD
square
#D3C162 #62D388 #6274D3 #D362AD
split-complementary
#D3C162 #62ADD3 #8862D3
monochromatic
#928129 #C2AB36 #D3C162 #E0D492 #EEE7C2

Accessibility & contrast

On white

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

On black

11.57
#D3C162 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3C162
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3C162#FFFFFF#000000##000000
##D3C1621.001.8111.5711.57
#FFFFFF1.811.0021.0021.00
#00000011.5721.001.001.00
##00000011.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BD59
Deuteranopia (green-blind)
#D6C366
Tritanopia (blue-blind)
#E1B5AB
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #d3c162;
/* rgb */ color: rgb(211, 193, 98);
/* oklch */ color: oklch(80.7% 0.118 98.8);
Tailwind
colors: {
  custom: {
    50: '#e3d391',
    500: '#d3c162',
    950: '#000000',
  },
}
SCSS
$custom: #d3c162;
$custom-light: #e3d391;
$custom-dark: #000000;
JSON
{
  "hex": "#d3c162",
  "rgb": {
    "r": 211,
    "g": 193,
    "b": 98
  },
  "hsl": {
    "h": 50.442,
    "s": 56.219,
    "l": 60.588
  },
  "oklch": {
    "l": 0.80666,
    "c": 0.11785,
    "h": 98.8
  },
  "luminance": 0.52871
}

Semantic roles & 50–950 ramp

primary
#D3C162
secondary
#424F97
accent
#3CC422
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D3C162

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

Preview Lab → · Contrast checker → · Palette generator →

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