#D2C262#D2C262

#D2C262 is a light, moderate yellow. Relative luminance 0.532; OKLCH L 80.8% C 0.119 H 100.0°. Best body text is #000000 at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#D2C262
RGBrgb(210, 194, 98)
HSLhsl(51, 55%, 60%)
HSVhsv(51, 53%, 82%)
CMYKcmyk(0%, 7.6%, 53.3%, 17.6%)
CIE-LABlab(77.97, -6.68, 49.71)
CIE-LCHlch(77.97, 50.16, 97.65°)
OKLaboklab(80.78% -0.0206 0.1169)
OKLCHoklch(80.78% 0.119 100)
XYZxyz(48.0763, 53.1689, 19.2831)
Luminance0.5317 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C262 #6272D2
analogous
#D28A62 #D2C262 #AAD262
triadic
#D2C262 #62D2C2 #C262D2
tetradic
#D2C262 #62D28A #6272D2 #D262AA
square
#D2C262 #62D28A #6272D2 #D262AA
split-complementary
#D2C262 #62AAD2 #8A62D2
monochromatic
#908229 #C0AC37 #D2C262 #E0D492 #EDE7C1

Accessibility & contrast

On white

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

On black

11.63
#D2C262 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C262
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C262#FFFFFF#000000##000000
##D2C2621.001.8111.6311.63
#FFFFFF1.811.0021.0021.00
#00000011.6321.001.001.00
##00000011.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BD59
Deuteranopia (green-blind)
#D6C466
Tritanopia (blue-blind)
#E0B6AC
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #d2c262;
/* rgb */ color: rgb(210, 194, 98);
/* oklch */ color: oklch(80.8% 0.119 100.0);
Tailwind
colors: {
  custom: {
    50: '#e2d491',
    500: '#d2c262',
    950: '#000000',
  },
}
SCSS
$custom: #d2c262;
$custom-light: #e2d491;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c262",
  "rgb": {
    "r": 210,
    "g": 194,
    "b": 98
  },
  "hsl": {
    "h": 51.429,
    "s": 55.446,
    "l": 60.392
  },
  "oklch": {
    "l": 0.80784,
    "c": 0.11868,
    "h": 100
  },
  "luminance": 0.53167
}

Semantic roles & 50–950 ramp

primary
#D2C262
secondary
#424E96
accent
#39C323
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D2C262

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

Preview Lab → · Contrast checker → · Palette generator →

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