#D2CF95#D2CF95

#D2CF95 is a very light, moderate yellow. Relative luminance 0.605; OKLCH L 84.3% C 0.076 H 105.4°. Best body text is #000000 at 13.10:1 contrast (WCAG AA passes).

Color values

HEX#D2CF95
RGBrgb(210, 207, 149)
HSLhsl(57, 40%, 70%)
HSVhsv(57, 29%, 82%)
CMYKcmyk(0%, 1.4%, 29%, 17.6%)
CIE-LABlab(82.11, -7.96, 29.28)
CIE-LCHlch(82.11, 30.34, 105.20°)
OKLaboklab(84.3% -0.0202 0.0733)
OKLCHoklch(84.3% 0.076 105.4)
XYZxyz(54.3162, 60.4982, 37.2439)
Luminance0.6050 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CF95 #9598D2
analogous
#D2B095 #D2CF95 #B6D295
triadic
#D2CF95 #95D2CF #CF95D2
tetradic
#D2CF95 #95D2B0 #9598D2 #D295B6
square
#D2CF95 #95D2B0 #9598D2 #D295B6
split-complementary
#D2CF95 #95B6D2 #B095D2
monochromatic
#A6A147 #C0BC6A #D2CF95 #E4E2C0 #F6F5EA

Accessibility & contrast

On white

1.60
#D2CF95 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.10
#D2CF95 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CF95
13.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CF95#FFFFFF#000000##000000
##D2CF951.001.6013.1013.10
#FFFFFF1.601.0021.0021.00
#00000013.1021.001.001.00
##00000013.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9CB91
Deuteranopia (green-blind)
#DBCE97
Tritanopia (blue-blind)
#DBC8C0
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d2cf95;
/* rgb */ color: rgb(210, 207, 149);
/* oklch */ color: oklch(84.3% 0.076 105.4);
Tailwind
colors: {
  custom: {
    50: '#e0ddb4',
    500: '#d2cf95',
    950: '#000000',
  },
}
SCSS
$custom: #d2cf95;
$custom-light: #e0ddb4;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cf95",
  "rgb": {
    "r": 210,
    "g": 207,
    "b": 149
  },
  "hsl": {
    "h": 57.049,
    "s": 40.397,
    "l": 70.392
  },
  "oklch": {
    "l": 0.84296,
    "c": 0.07605,
    "h": 105.4
  },
  "luminance": 0.60497
}

Semantic roles & 50–950 ramp

primary
#D2CF95
secondary
#6367A8
accent
#38B332
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#151511
muted
#848481

Preview Lab

Preview with #D2CF95

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

Preview Lab → · Contrast checker → · Palette generator →

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