#D3CB40#D3CB40

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

Color values

HEX#D3CB40
RGBrgb(211, 203, 64)
HSLhsl(57, 63%, 54%)
HSVhsv(57, 70%, 83%)
CMYKcmyk(0%, 3.8%, 69.7%, 17.3%)
CIE-LABlab(80.14, -13.08, 66.65)
CIE-LCHlch(80.14, 67.93, 101.11°)
OKLaboklab(82.43% -0.0426 0.1483)
OKLCHoklch(82.43% 0.154 106)
XYZxyz(49.1472, 56.9327, 13.2497)
Luminance0.5693 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3CB40 #4048D3
analogous
#D38240 #D3CB40 #92D340
triadic
#D3CB40 #40D3CB #CB40D3
tetradic
#D3CB40 #40D382 #4048D3 #D34092
square
#D3CB40 #40D382 #4048D3 #D34092
split-complementary
#D3CB40 #4092D3 #8240D3
monochromatic
#7C771D #AEA628 #D3CB40 #DED972 #EAE6A3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D3CB40#FFFFFF#000000##000000
##D3CB401.001.7012.3912.39
#FFFFFF1.701.0021.0021.00
#00000012.3921.001.001.00
##00000012.3921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d3cb40;
/* rgb */ color: rgb(211, 203, 64);
/* oklch */ color: oklch(82.4% 0.154 106.0);
Tailwind
colors: {
  custom: {
    50: '#e4da7d',
    500: '#d3cb40',
    950: '#000000',
  },
}
SCSS
$custom: #d3cb40;
$custom-light: #e4da7d;
$custom-dark: #000000;
JSON
{
  "hex": "#d3cb40",
  "rgb": {
    "r": 211,
    "g": 203,
    "b": 64
  },
  "hsl": {
    "h": 56.735,
    "s": 62.553,
    "l": 53.922
  },
  "oklch": {
    "l": 0.82432,
    "c": 0.15427,
    "h": 106
  },
  "luminance": 0.56931
}

Semantic roles & 50–950 ramp

primary
#D3CB40
secondary
#333884
accent
#4BE642
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D3CB40

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

Preview Lab → · Contrast checker → · Palette generator →

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