#D2CA58#D2CA58

#D2CA58 is a very light, vivid yellow. Relative luminance 0.566; OKLCH L 82.3% C 0.135 H 105.3°. Best body text is #000000 at 12.33:1 contrast (WCAG AA passes).

Color values

HEX#D2CA58
RGBrgb(210, 202, 88)
HSLhsl(56, 58%, 58%)
HSVhsv(56, 58%, 82%)
CMYKcmyk(0%, 3.8%, 58.1%, 17.6%)
CIE-LABlab(79.98, -11.54, 56.62)
CIE-LCHlch(79.98, 57.79, 101.52°)
OKLaboklab(82.35% -0.0356 0.1306)
OKLCHoklch(82.35% 0.135 105.3)
XYZxyz(49.4619, 56.6489, 17.5595)
Luminance0.5665 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CA58 #5860D2
analogous
#D28D58 #D2CA58 #9DD258
triadic
#D2CA58 #58D2CA #CA58D2
tetradic
#D2CA58 #58D28D #5860D2 #D2589D
square
#D2CA58 #58D28D #5860D2 #D2589D
split-complementary
#D2CA58 #589DD2 #8D58D2
monochromatic
#8A8425 #BBB232 #D2CA58 #DFD988 #ECE9B8

Accessibility & contrast

On white

1.70
#D2CA58 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.33
#D2CA58 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CA58
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CA58#FFFFFF#000000##000000
##D2CA581.001.7012.3312.33
#FFFFFF1.701.0021.0021.00
#00000012.3321.001.001.00
##00000012.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC34C
Deuteranopia (green-blind)
#DDC95E
Tritanopia (blue-blind)
#E0BEB1
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d2ca58;
/* rgb */ color: rgb(210, 202, 88);
/* oklch */ color: oklch(82.3% 0.135 105.3);
Tailwind
colors: {
  custom: {
    50: '#e2d98b',
    500: '#d2ca58',
    950: '#000000',
  },
}
SCSS
$custom: #d2ca58;
$custom-light: #e2d98b;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ca58",
  "rgb": {
    "r": 210,
    "g": 202,
    "b": 88
  },
  "hsl": {
    "h": 56.066,
    "s": 57.547,
    "l": 58.431
  },
  "oklch": {
    "l": 0.82345,
    "c": 0.13541,
    "h": 105.3
  },
  "luminance": 0.56647
}

Semantic roles & 50–950 ramp

primary
#D2CA58
secondary
#3E4391
accent
#51E147
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D2CA58

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

Preview Lab → · Contrast checker → · Palette generator →

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