#D2C458#D2C458

#D2C458 is a light, vivid yellow. Relative luminance 0.539; OKLCH L 81.1% C 0.130 H 102.0°. Best body text is #000000 at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#D2C458
RGBrgb(210, 196, 88)
HSLhsl(53, 58%, 58%)
HSVhsv(53, 58%, 82%)
CMYKcmyk(0%, 6.7%, 58.1%, 17.6%)
CIE-LABlab(78.40, -8.48, 54.85)
CIE-LCHlch(78.40, 55.50, 98.79°)
OKLaboklab(81.08% -0.0269 0.1269)
OKLCHoklch(81.08% 0.13 102)
XYZxyz(48.0814, 53.8879, 17.0993)
Luminance0.5389 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C458 #5866D2
analogous
#D28758 #D2C458 #A3D258
triadic
#D2C458 #58D2C4 #C458D2
tetradic
#D2C458 #58D287 #5866D2 #D258A3
square
#D2C458 #58D287 #5866D2 #D258A3
split-complementary
#D2C458 #58A3D2 #8758D2
monochromatic
#8A7F25 #BBAB32 #D2C458 #DFD588 #ECE6B8

Accessibility & contrast

On white

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

On black

11.78
#D2C458 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C458
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C458#FFFFFF#000000##000000
##D2C4581.001.7811.7811.78
#FFFFFF1.781.0021.0021.00
#00000011.7821.001.001.00
##00000011.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BE4D
Deuteranopia (green-blind)
#D8C55D
Tritanopia (blue-blind)
#E1B8AC
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #d2c458;
/* rgb */ color: rgb(210, 196, 88);
/* oklch */ color: oklch(81.1% 0.130 102.0);
Tailwind
colors: {
  custom: {
    50: '#e2d58b',
    500: '#d2c458',
    950: '#000000',
  },
}
SCSS
$custom: #d2c458;
$custom-light: #e2d58b;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c458",
  "rgb": {
    "r": 210,
    "g": 196,
    "b": 88
  },
  "hsl": {
    "h": 53.115,
    "s": 57.547,
    "l": 58.431
  },
  "oklch": {
    "l": 0.81085,
    "c": 0.12967,
    "h": 102
  },
  "luminance": 0.53886
}

Semantic roles & 50–950 ramp

primary
#D2C458
secondary
#3E4791
accent
#59E147
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D2C458

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

Preview Lab → · Contrast checker → · Palette generator →

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