#DFCF7F#DFCF7F

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

Color values

HEX#DFCF7F
RGBrgb(223, 207, 127)
HSLhsl(50, 60%, 69%)
HSVhsv(50, 43%, 87%)
CMYKcmyk(0%, 7.2%, 43%, 12.5%)
CIE-LABlab(82.83, -5.40, 41.67)
CIE-LCHlch(82.83, 42.02, 97.39°)
OKLaboklab(85.02% -0.0147 0.1011)
OKLCHoklch(85.02% 0.102 98.3)
XYZxyz(56.5764, 61.8478, 29.0322)
Luminance0.6185 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFCF7F #7F8FDF
analogous
#DF9F7F #DFCF7F #BFDF7F
triadic
#DFCF7F #7FDFCF #CF7FDF
tetradic
#DFCF7F #7FDF9F #7F8FDF #DF7FBF
square
#DFCF7F #7FDF9F #7F8FDF #DF7FBF
split-complementary
#DFCF7F #7FBFDF #9F7FDF
monochromatic
#B69F2E #D3BD4E #DFCF7F #EBE1B0 #F7F4E1

Accessibility & contrast

On white

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

On black

13.37
#DFCF7F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFCF7F
13.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFCF7F#FFFFFF#000000##000000
##DFCF7F1.001.5713.3713.37
#FFFFFF1.571.0021.0021.00
#00000013.3721.001.001.00
##00000013.3721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dfcf7f;
/* rgb */ color: rgb(223, 207, 127);
/* oklch */ color: oklch(85.0% 0.102 98.3);
Tailwind
colors: {
  custom: {
    50: '#eadda5',
    500: '#dfcf7f',
    950: '#000000',
  },
}
SCSS
$custom: #dfcf7f;
$custom-light: #eadda5;
$custom-dark: #000000;
JSON
{
  "hex": "#dfcf7f",
  "rgb": {
    "r": 223,
    "g": 207,
    "b": 127
  },
  "hsl": {
    "h": 50,
    "s": 60,
    "l": 68.627
  },
  "oklch": {
    "l": 0.85015,
    "c": 0.10217,
    "h": 98.3
  },
  "luminance": 0.61846
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DFCF7F

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

Preview Lab → · Contrast checker → · Palette generator →

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