#D2C765#D2C765

#D2C765 is a light, vivid yellow. Relative luminance 0.555; OKLCH L 81.9% C 0.121 H 102.9°. Best body text is #000000 at 12.10:1 contrast (WCAG AA passes).

Color values

HEX#D2C765
RGBrgb(210, 199, 101)
HSLhsl(54, 55%, 61%)
HSVhsv(54, 52%, 82%)
CMYKcmyk(0%, 5.2%, 51.9%, 17.6%)
CIE-LABlab(79.32, -9.00, 49.87)
CIE-LCHlch(79.32, 50.67, 100.23°)
OKLaboklab(81.86% -0.0269 0.1175)
OKLCHoklch(81.86% 0.121 102.9)
XYZxyz(49.3522, 55.4897, 20.4203)
Luminance0.5549 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C765 #6570D2
analogous
#D29065 #D2C765 #A6D265
triadic
#D2C765 #65D2C7 #C765D2
tetradic
#D2C765 #65D290 #6570D2 #D265A6
square
#D2C765 #65D290 #6570D2 #D265A6
split-complementary
#D2C765 #65A6D2 #9065D2
monochromatic
#92882B #C1B438 #D2C765 #E0D894 #EEE9C4

Accessibility & contrast

On white

1.74
#D2C765 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.10
#D2C765 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C765
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C765#FFFFFF#000000##000000
##D2C7651.001.7412.1012.10
#FFFFFF1.741.0021.0021.00
#00000012.1021.001.001.00
##00000012.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C15C
Deuteranopia (green-blind)
#DAC76A
Tritanopia (blue-blind)
#E0BCB1
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #d2c765;
/* rgb */ color: rgb(210, 199, 101);
/* oklch */ color: oklch(81.9% 0.121 102.9);
Tailwind
colors: {
  custom: {
    50: '#e2d793',
    500: '#d2c765',
    950: '#000000',
  },
}
SCSS
$custom: #d2c765;
$custom-light: #e2d793;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c765",
  "rgb": {
    "r": 210,
    "g": 199,
    "b": 101
  },
  "hsl": {
    "h": 53.945,
    "s": 54.774,
    "l": 60.98
  },
  "oklch": {
    "l": 0.81864,
    "c": 0.12057,
    "h": 102.9
  },
  "luminance": 0.55488
}

Semantic roles & 50–950 ramp

primary
#D2C765
secondary
#444C98
accent
#33C223
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D2C765

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

Preview Lab → · Contrast checker → · Palette generator →

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