#D3C262#D3C262

#D3C262 is a light, moderate yellow. Relative luminance 0.533; OKLCH L 80.9% C 0.119 H 99.4°. Best body text is #000000 at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#D3C262
RGBrgb(211, 194, 98)
HSLhsl(51, 56%, 61%)
HSVhsv(51, 54%, 83%)
CMYKcmyk(0%, 8.1%, 53.6%, 17.3%)
CIE-LABlab(78.06, -6.27, 49.83)
CIE-LCHlch(78.06, 50.23, 97.17°)
OKLaboklab(80.87% -0.0195 0.1171)
OKLCHoklch(80.87% 0.119 99.4)
XYZxyz(48.3620, 53.3162, 19.2965)
Luminance0.5331 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3C262 #6273D3
analogous
#D38962 #D3C262 #ACD362
triadic
#D3C262 #62D3C2 #C262D3
tetradic
#D3C262 #62D389 #6273D3 #D362AC
square
#D3C262 #62D389 #6273D3 #D362AC
split-complementary
#D3C262 #62ACD3 #8962D3
monochromatic
#928229 #C2AD36 #D3C262 #E0D592 #EEE7C2

Accessibility & contrast

On white

1.80
#D3C262 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.66
#D3C262 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3C262
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3C262#FFFFFF#000000##000000
##D3C2621.001.8011.6611.66
#FFFFFF1.801.0021.0021.00
#00000011.6621.001.001.00
##00000011.6621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d3c262;
/* rgb */ color: rgb(211, 194, 98);
/* oklch */ color: oklch(80.9% 0.119 99.4);
Tailwind
colors: {
  custom: {
    50: '#e3d491',
    500: '#d3c262',
    950: '#000000',
  },
}
SCSS
$custom: #d3c262;
$custom-light: #e3d491;
$custom-dark: #000000;
JSON
{
  "hex": "#d3c262",
  "rgb": {
    "r": 211,
    "g": 194,
    "b": 98
  },
  "hsl": {
    "h": 50.973,
    "s": 56.219,
    "l": 60.588
  },
  "oklch": {
    "l": 0.80873,
    "c": 0.11874,
    "h": 99.4
  },
  "luminance": 0.53314
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D3C262

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

Preview Lab → · Contrast checker → · Palette generator →

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