#D2CF5E#D2CF5E

#D2CF5E is a very light, vivid yellow. Relative luminance 0.591; OKLCH L 83.5% C 0.135 H 107.6°. Best body text is #000000 at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#D2CF5E
RGBrgb(210, 207, 94)
HSLhsl(58, 56%, 60%)
HSVhsv(58, 55%, 82%)
CMYKcmyk(0%, 1.4%, 55.2%, 17.6%)
CIE-LABlab(81.37, -13.62, 55.49)
CIE-LCHlch(81.37, 57.13, 103.79°)
OKLaboklab(83.47% -0.0409 0.1289)
OKLCHoklch(83.47% 0.135 107.6)
XYZxyz(50.9130, 59.1369, 19.3201)
Luminance0.5914 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CF5E #5E61D2
analogous
#D2955E #D2CF5E #9BD25E
triadic
#D2CF5E #5ED2CF #CF5ED2
tetradic
#D2CF5E #5ED295 #5E61D2 #D25E9B
square
#D2CF5E #5ED295 #5E61D2 #D25E9B
split-complementary
#D2CF5E #5E9BD2 #955ED2
monochromatic
#8E8B28 #BEBA35 #D2CF5E #DFDD8E #EDECBE

Accessibility & contrast

On white

1.64
#D2CF5E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.83
#D2CF5E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CF5E
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CF5E#FFFFFF#000000##000000
##D2CF5E1.001.6412.8312.83
#FFFFFF1.641.0021.0021.00
#00000012.8321.001.001.00
##00000012.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC852
Deuteranopia (green-blind)
#E0CC64
Tritanopia (blue-blind)
#DFC3B6
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d2cf5e;
/* rgb */ color: rgb(210, 207, 94);
/* oklch */ color: oklch(83.5% 0.135 107.6);
Tailwind
colors: {
  custom: {
    50: '#e2dd8f',
    500: '#d2cf5e',
    950: '#000000',
  },
}
SCSS
$custom: #d2cf5e;
$custom-light: #e2dd8f;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cf5e",
  "rgb": {
    "r": 210,
    "g": 207,
    "b": 94
  },
  "hsl": {
    "h": 58.448,
    "s": 56.311,
    "l": 59.608
  },
  "oklch": {
    "l": 0.83466,
    "c": 0.13526,
    "h": 107.6
  },
  "luminance": 0.59135
}

Semantic roles & 50–950 ramp

primary
#D2CF5E
secondary
#404294
accent
#4CE048
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D2CF5E

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

Preview Lab → · Contrast checker → · Palette generator →

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