#D3CB3E#D3CB3E

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

Color values

HEX#D3CB3E
RGBrgb(211, 203, 62)
HSLhsl(57, 63%, 54%)
HSVhsv(57, 71%, 83%)
CMYKcmyk(0%, 3.8%, 70.6%, 17.3%)
CIE-LABlab(80.13, -13.18, 67.37)
CIE-LCHlch(80.13, 68.65, 101.07°)
OKLaboklab(82.42% -0.0431 0.1494)
OKLCHoklch(82.42% 0.156 106.1)
XYZxyz(49.0914, 56.9103, 12.9554)
Luminance0.5691 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3CB3E #3E46D3
analogous
#D3813E #D3CB3E #90D33E
triadic
#D3CB3E #3ED3CB #CB3ED3
tetradic
#D3CB3E #3ED381 #3E46D3 #D33E90
square
#D3CB3E #3ED381 #3E46D3 #D33E90
split-complementary
#D3CB3E #3E90D3 #813ED3
monochromatic
#7B761C #ACA527 #D3CB3E #DED870 #EAE6A2

Accessibility & contrast

On white

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

On black

12.38
#D3CB3E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3CB3E
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3CB3E#FFFFFF#000000##000000
##D3CB3E1.001.7012.3812.38
#FFFFFF1.701.0021.0021.00
#00000012.3821.001.001.00
##00000012.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC426
Deuteranopia (green-blind)
#E0C948
Tritanopia (blue-blind)
#E2BEAF
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d3cb3e;
/* rgb */ color: rgb(211, 203, 62);
/* oklch */ color: oklch(82.4% 0.156 106.1);
Tailwind
colors: {
  custom: {
    50: '#e4da7c',
    500: '#d3cb3e',
    950: '#000000',
  },
}
SCSS
$custom: #d3cb3e;
$custom-light: #e4da7c;
$custom-dark: #000000;
JSON
{
  "hex": "#d3cb3e",
  "rgb": {
    "r": 211,
    "g": 203,
    "b": 62
  },
  "hsl": {
    "h": 56.779,
    "s": 62.869,
    "l": 53.529
  },
  "oklch": {
    "l": 0.82417,
    "c": 0.15552,
    "h": 106.1
  },
  "luminance": 0.56909
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D3CB3E

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

Preview Lab → · Contrast checker → · Palette generator →

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