#DFCF7E#DFCF7E

#DFCF7E is a very light, moderate yellow. Relative luminance 0.618; OKLCH L 85.0% C 0.103 H 98.4°. Best body text is #000000 at 13.36:1 contrast (WCAG AA passes).

Color values

HEX#DFCF7E
RGBrgb(223, 207, 126)
HSLhsl(50, 60%, 68%)
HSVhsv(50, 43%, 87%)
CMYKcmyk(0%, 7.2%, 43.5%, 12.5%)
CIE-LABlab(82.82, -5.50, 42.16)
CIE-LCHlch(82.82, 42.51, 97.44°)
OKLaboklab(85% -0.0151 0.1021)
OKLCHoklch(85% 0.103 98.4)
XYZxyz(56.5115, 61.8219, 28.6906)
Luminance0.6182 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFCF7E #7E8EDF
analogous
#DF9E7E #DFCF7E #BEDF7E
triadic
#DFCF7E #7EDFCF #CF7EDF
tetradic
#DFCF7E #7EDF9E #7E8EDF #DF7EBE
square
#DFCF7E #7EDF9E #7E8EDF #DF7EBE
split-complementary
#DFCF7E #7EBEDF #9E7EDF
monochromatic
#B69F2D #D3BD4D #DFCF7E #EBE1AF #F7F3E0

Accessibility & contrast

On white

1.57
#DFCF7E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.36
#DFCF7E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFCF7E
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFCF7E#FFFFFF#000000##000000
##DFCF7E1.001.5713.3613.36
#FFFFFF1.571.0021.0021.00
#00000013.3621.001.001.00
##00000013.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDCB78
Deuteranopia (green-blind)
#E2D181
Tritanopia (blue-blind)
#ECC4BB
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #dfcf7e;
/* rgb */ color: rgb(223, 207, 126);
/* oklch */ color: oklch(85.0% 0.103 98.4);
Tailwind
colors: {
  custom: {
    50: '#eadda4',
    500: '#dfcf7e',
    950: '#000000',
  },
}
SCSS
$custom: #dfcf7e;
$custom-light: #eadda4;
$custom-dark: #000000;
JSON
{
  "hex": "#dfcf7e",
  "rgb": {
    "r": 223,
    "g": 207,
    "b": 126
  },
  "hsl": {
    "h": 50.103,
    "s": 60.248,
    "l": 68.431
  },
  "oklch": {
    "l": 0.85,
    "c": 0.10325,
    "h": 98.4
  },
  "luminance": 0.6182
}

Semantic roles & 50–950 ramp

primary
#DFCF7E
secondary
#4B5DB6
accent
#3AC81E
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#16150F
muted
#858480

Preview Lab

Preview with #DFCF7E

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

Preview Lab → · Contrast checker → · Palette generator →

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