#D3C258#D3C258

#D3C258 is a light, vivid yellow. Relative luminance 0.531; OKLCH L 80.8% C 0.128 H 100.3°. Best body text is #000000 at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#D3C258
RGBrgb(211, 194, 88)
HSLhsl(52, 58%, 59%)
HSVhsv(52, 58%, 83%)
CMYKcmyk(0%, 8.1%, 58.3%, 17.3%)
CIE-LABlab(77.96, -7.04, 54.38)
CIE-LCHlch(77.96, 54.83, 97.38°)
OKLaboklab(80.76% -0.0228 0.1258)
OKLCHoklch(80.76% 0.128 100.3)
XYZxyz(47.9190, 53.1390, 16.9634)
Luminance0.5314 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3C258 #5869D3
analogous
#D38458 #D3C258 #A6D358
triadic
#D3C258 #58D3C2 #C258D3
tetradic
#D3C258 #58D384 #5869D3 #D358A6
square
#D3C258 #58D384 #5869D3 #D358A6
split-complementary
#D3C258 #58A6D3 #8458D3
monochromatic
#8C7E25 #BCA932 #D3C258 #E0D488 #EDE5B9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D3C258#FFFFFF#000000##000000
##D3C2581.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)
#D2BD4D
Deuteranopia (green-blind)
#D7C45D
Tritanopia (blue-blind)
#E2B6AB
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #d3c258;
/* rgb */ color: rgb(211, 194, 88);
/* oklch */ color: oklch(80.8% 0.128 100.3);
Tailwind
colors: {
  custom: {
    50: '#e3d48b',
    500: '#d3c258',
    950: '#000000',
  },
}
SCSS
$custom: #d3c258;
$custom-light: #e3d48b;
$custom-dark: #000000;
JSON
{
  "hex": "#d3c258",
  "rgb": {
    "r": 211,
    "g": 194,
    "b": 88
  },
  "hsl": {
    "h": 51.707,
    "s": 58.294,
    "l": 58.627
  },
  "oklch": {
    "l": 0.80757,
    "c": 0.12787,
    "h": 100.3
  },
  "luminance": 0.53137
}

Semantic roles & 50–950 ramp

primary
#D3C258
secondary
#3D4992
accent
#5CE246
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D3C258

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

Preview Lab → · Contrast checker → · Palette generator →

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