#D0C262#D0C262

#D0C262 is a light, moderate yellow. Relative luminance 0.529; OKLCH L 80.6% C 0.119 H 101.1°. Best body text is #000000 at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#D0C262
RGBrgb(208, 194, 98)
HSLhsl(52, 54%, 60%)
HSVhsv(52, 53%, 82%)
CMYKcmyk(0%, 6.7%, 52.9%, 18.4%)
CIE-LABlab(77.80, -7.51, 49.47)
CIE-LCHlch(77.80, 50.03, 98.63°)
OKLaboklab(80.61% -0.0229 0.1164)
OKLCHoklch(80.61% 0.119 101.1)
XYZxyz(47.5103, 52.8770, 19.2566)
Luminance0.5288 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0C262 #6270D0
analogous
#D08B62 #D0C262 #A7D062
triadic
#D0C262 #62D0C2 #C262D0
tetradic
#D0C262 #62D08B #6270D0 #D062A7
square
#D0C262 #62D08B #6270D0 #D062A7
split-complementary
#D0C262 #62A7D0 #8B62D0
monochromatic
#8D812A #BCAC38 #D0C262 #DED491 #ECE7C0

Accessibility & contrast

On white

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

On black

11.58
#D0C262 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0C262
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0C262#FFFFFF#000000##000000
##D0C2621.001.8111.5811.58
#FFFFFF1.811.0021.0021.00
#00000011.5821.001.001.00
##00000011.5821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d0c262;
/* rgb */ color: rgb(208, 194, 98);
/* oklch */ color: oklch(80.6% 0.119 101.1);
Tailwind
colors: {
  custom: {
    50: '#e1d491',
    500: '#d0c262',
    950: '#000000',
  },
}
SCSS
$custom: #d0c262;
$custom-light: #e1d491;
$custom-dark: #000000;
JSON
{
  "hex": "#d0c262",
  "rgb": {
    "r": 208,
    "g": 194,
    "b": 98
  },
  "hsl": {
    "h": 52.364,
    "s": 53.922,
    "l": 60
  },
  "oklch": {
    "l": 0.80606,
    "c": 0.11862,
    "h": 101.1
  },
  "luminance": 0.52875
}

Semantic roles & 50–950 ramp

primary
#D0C262
secondary
#434D94
accent
#5DDD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D0C262

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

Preview Lab → · Contrast checker → · Palette generator →

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