#D3C458#D3C458

#D3C458 is a light, vivid yellow. Relative luminance 0.540; OKLCH L 81.2% C 0.130 H 101.5°. Best body text is #000000 at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#D3C458
RGBrgb(211, 196, 88)
HSLhsl(53, 58%, 59%)
HSVhsv(53, 58%, 83%)
CMYKcmyk(0%, 7.1%, 58.3%, 17.3%)
CIE-LABlab(78.48, -8.07, 54.97)
CIE-LCHlch(78.48, 55.56, 98.35°)
OKLaboklab(81.17% -0.0258 0.1271)
OKLCHoklch(81.17% 0.13 101.5)
XYZxyz(48.3671, 54.0352, 17.1127)
Luminance0.5403 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3C458 #5867D3
analogous
#D38658 #D3C458 #A4D358
triadic
#D3C458 #58D3C4 #C458D3
tetradic
#D3C458 #58D386 #5867D3 #D358A4
square
#D3C458 #58D386 #5867D3 #D358A4
split-complementary
#D3C458 #58A4D3 #8658D3
monochromatic
#8C7F25 #BCAB32 #D3C458 #E0D588 #EDE6B9

Accessibility & contrast

On white

1.78
#D3C458 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.81
#D3C458 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3C458
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3C458#FFFFFF#000000##000000
##D3C4581.001.7811.8111.81
#FFFFFF1.781.0021.0021.00
#00000011.8121.001.001.00
##00000011.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BF4D
Deuteranopia (green-blind)
#D9C55D
Tritanopia (blue-blind)
#E2B8AC
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #d3c458;
/* rgb */ color: rgb(211, 196, 88);
/* oklch */ color: oklch(81.2% 0.130 101.5);
Tailwind
colors: {
  custom: {
    50: '#e3d58b',
    500: '#d3c458',
    950: '#000000',
  },
}
SCSS
$custom: #d3c458;
$custom-light: #e3d58b;
$custom-dark: #000000;
JSON
{
  "hex": "#d3c458",
  "rgb": {
    "r": 211,
    "g": 196,
    "b": 88
  },
  "hsl": {
    "h": 52.683,
    "s": 58.294,
    "l": 58.627
  },
  "oklch": {
    "l": 0.81173,
    "c": 0.12968,
    "h": 101.5
  },
  "luminance": 0.54033
}

Semantic roles & 50–950 ramp

primary
#D3C458
secondary
#3D4892
accent
#59E246
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D3C458

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

Preview Lab → · Contrast checker → · Palette generator →

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