#D3CB42#D3CB42

#D3CB42 is a very light, vivid yellow. Relative luminance 0.570; OKLCH L 82.4% C 0.153 H 106.0°. Best body text is #000000 at 12.39:1 contrast (WCAG AA passes).

Color values

HEX#D3CB42
RGBrgb(211, 203, 66)
HSLhsl(57, 62%, 54%)
HSVhsv(57, 69%, 83%)
CMYKcmyk(0%, 3.8%, 68.7%, 17.3%)
CIE-LABlab(80.15, -12.98, 65.92)
CIE-LCHlch(80.15, 67.19, 101.14°)
OKLaboklab(82.45% -0.0421 0.147)
OKLCHoklch(82.45% 0.153 106)
XYZxyz(49.2052, 56.9559, 13.5549)
Luminance0.5695 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3CB42 #424AD3
analogous
#D38342 #D3CB42 #92D342
triadic
#D3CB42 #42D3CB #CB42D3
tetradic
#D3CB42 #42D383 #424AD3 #D34292
square
#D3CB42 #42D383 #424AD3 #D34292
split-complementary
#D3CB42 #4292D3 #8342D3
monochromatic
#7D781D #AFA829 #D3CB42 #DFD974 #EAE6A5

Accessibility & contrast

On white

1.69
#D3CB42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.39
#D3CB42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3CB42
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3CB42#FFFFFF#000000##000000
##D3CB421.001.6912.3912.39
#FFFFFF1.691.0021.0021.00
#00000012.3921.001.001.00
##00000012.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC42D
Deuteranopia (green-blind)
#DFC94B
Tritanopia (blue-blind)
#E2BEB0
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d3cb42;
/* rgb */ color: rgb(211, 203, 66);
/* oklch */ color: oklch(82.4% 0.153 106.0);
Tailwind
colors: {
  custom: {
    50: '#e4da7e',
    500: '#d3cb42',
    950: '#000000',
  },
}
SCSS
$custom: #d3cb42;
$custom-light: #e4da7e;
$custom-dark: #000000;
JSON
{
  "hex": "#d3cb42",
  "rgb": {
    "r": 211,
    "g": 203,
    "b": 66
  },
  "hsl": {
    "h": 56.69,
    "s": 62.232,
    "l": 54.314
  },
  "oklch": {
    "l": 0.82446,
    "c": 0.15297,
    "h": 106
  },
  "luminance": 0.56954
}

Semantic roles & 50–950 ramp

primary
#D3CB42
secondary
#343985
accent
#4BE542
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D3CB42

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

Preview Lab → · Contrast checker → · Palette generator →

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