#D2C06B#D2C06B

#D2C06B is a light, moderate yellow. Relative luminance 0.525; OKLCH L 80.5% C 0.108 H 97.7°. Best body text is #000000 at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#D2C06B
RGBrgb(210, 192, 107)
HSLhsl(50, 53%, 62%)
HSVhsv(50, 49%, 82%)
CMYKcmyk(0%, 8.6%, 49%, 17.6%)
CIE-LABlab(77.56, -4.86, 44.84)
CIE-LCHlch(77.56, 45.10, 96.19°)
OKLaboklab(80.49% -0.0144 0.107)
OKLCHoklch(80.49% 0.108 97.7)
XYZxyz(48.0833, 52.4643, 21.5009)
Luminance0.5246 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C06B #6B7DD2
analogous
#D28D6B #D2C06B #B0D26B
triadic
#D2C06B #6BD2C0 #C06BD2
tetradic
#D2C06B #6BD28D #6B7DD2 #D26BB0
square
#D2C06B #6BD28D #6B7DD2 #D26BB0
split-complementary
#D2C06B #6BB0D2 #8D6BD2
monochromatic
#95832D #C4AC3C #D2C06B #E0D49A #EFE8C9

Accessibility & contrast

On white

1.83
#D2C06B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.49
#D2C06B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C06B
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C06B#FFFFFF#000000##000000
##D2C06B1.001.8311.4911.49
#FFFFFF1.831.0021.0021.00
#00000011.4921.001.001.00
##00000011.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBC64
Deuteranopia (green-blind)
#D4C26F
Tritanopia (blue-blind)
#E0B5AC
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #d2c06b;
/* rgb */ color: rgb(210, 192, 107);
/* oklch */ color: oklch(80.5% 0.108 97.7);
Tailwind
colors: {
  custom: {
    50: '#e2d297',
    500: '#d2c06b',
    950: '#000000',
  },
}
SCSS
$custom: #d2c06b;
$custom-light: #e2d297;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c06b",
  "rgb": {
    "r": 210,
    "g": 192,
    "b": 107
  },
  "hsl": {
    "h": 49.515,
    "s": 53.368,
    "l": 62.157
  },
  "oklch": {
    "l": 0.80488,
    "c": 0.10797,
    "h": 97.7
  },
  "luminance": 0.52462
}

Semantic roles & 50–950 ramp

primary
#D2C06B
secondary
#47559B
accent
#40C125
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#16140E
muted
#84837F

Preview Lab

Preview with #D2C06B

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

Preview Lab → · Contrast checker → · Palette generator →

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