#D1C262#D1C262

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

Color values

HEX#D1C262
RGBrgb(209, 194, 98)
HSLhsl(52, 55%, 60%)
HSVhsv(52, 53%, 82%)
CMYKcmyk(0%, 7.2%, 53.1%, 18%)
CIE-LABlab(77.89, -7.09, 49.59)
CIE-LCHlch(77.89, 50.09, 98.14°)
OKLaboklab(80.69% -0.0217 0.1166)
OKLCHoklch(80.69% 0.119 100.6)
XYZxyz(47.7924, 53.0225, 19.2698)
Luminance0.5302 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1C262 #6271D1
analogous
#D18A62 #D1C262 #A8D162
triadic
#D1C262 #62D1C2 #C262D1
tetradic
#D1C262 #62D18A #6271D1 #D162A8
square
#D1C262 #62D18A #6271D1 #D162A8
split-complementary
#D1C262 #62A8D1 #8A62D1
monochromatic
#8F812A #BEAC38 #D1C262 #DFD491 #EDE7C1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D1C262#FFFFFF#000000##000000
##D1C2621.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)
#D1BD59
Deuteranopia (green-blind)
#D6C366
Tritanopia (blue-blind)
#DFB6AC
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #d1c262;
/* rgb */ color: rgb(209, 194, 98);
/* oklch */ color: oklch(80.7% 0.119 100.6);
Tailwind
colors: {
  custom: {
    50: '#e1d491',
    500: '#d1c262',
    950: '#000000',
  },
}
SCSS
$custom: #d1c262;
$custom-light: #e1d491;
$custom-dark: #000000;
JSON
{
  "hex": "#d1c262",
  "rgb": {
    "r": 209,
    "g": 194,
    "b": 98
  },
  "hsl": {
    "h": 51.892,
    "s": 54.68,
    "l": 60.196
  },
  "oklch": {
    "l": 0.80695,
    "c": 0.11864,
    "h": 100.6
  },
  "luminance": 0.53021
}

Semantic roles & 50–950 ramp

primary
#D1C262
secondary
#424E95
accent
#39C223
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D1C262

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

Preview Lab → · Contrast checker → · Palette generator →

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