#D2B968#D2B968

#D2B968 is a light, moderate yellow. Relative luminance 0.494; OKLCH L 79.0% C 0.105 H 92.7°. Best body text is #000000 at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#D2B968
RGBrgb(210, 185, 104)
HSLhsl(46, 54%, 62%)
HSVhsv(46, 50%, 82%)
CMYKcmyk(0%, 11.9%, 50.5%, 17.6%)
CIE-LABlab(75.70, -1.48, 44.07)
CIE-LCHlch(75.70, 44.09, 91.93°)
OKLaboklab(79.01% -0.0049 0.1051)
OKLCHoklch(79.01% 0.105 92.7)
XYZxyz(46.4276, 49.4011, 20.1838)
Luminance0.4940 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B968 #6881D2
analogous
#D28468 #D2B968 #B6D268
triadic
#D2B968 #68D2B9 #B968D2
tetradic
#D2B968 #68D284 #6881D2 #D268B6
square
#D2B968 #68D284 #6881D2 #D268B6
split-complementary
#D2B968 #68B6D2 #8468D2
monochromatic
#947B2C #C3A33A #D2B968 #E0CF97 #EEE5C6

Accessibility & contrast

On white

1.93
#D2B968 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.88
#D2B968 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2B968
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2B968#FFFFFF#000000##000000
##D2B9681.001.9310.8810.88
#FFFFFF1.931.0021.0021.00
#00000010.8821.001.001.00
##00000010.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B661
Deuteranopia (green-blind)
#CFBE6B
Tritanopia (blue-blind)
#E0AEA6
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #d2b968;
/* rgb */ color: rgb(210, 185, 104);
/* oklch */ color: oklch(79.0% 0.105 92.7);
Tailwind
colors: {
  custom: {
    50: '#e2cd95',
    500: '#d2b968',
    950: '#000000',
  },
}
SCSS
$custom: #d2b968;
$custom-light: #e2cd95;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b968",
  "rgb": {
    "r": 210,
    "g": 185,
    "b": 104
  },
  "hsl": {
    "h": 45.849,
    "s": 54.082,
    "l": 61.569
  },
  "oklch": {
    "l": 0.79007,
    "c": 0.10518,
    "h": 92.7
  },
  "luminance": 0.49399
}

Semantic roles & 50–950 ramp

primary
#D2B968
secondary
#B7C0DF
accent
#49C224
background
#FEFCF9
surface
#FCF9F2
border
#D5D2CC
text
#16130D
muted
#84827E

Preview Lab

Preview with #D2B968

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

Preview Lab → · Contrast checker → · Palette generator →

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