#DFCF7B#DFCF7B

#DFCF7B is a very light, moderate yellow. Relative luminance 0.617; OKLCH L 85.0% C 0.106 H 98.8°. Best body text is #000000 at 13.35:1 contrast (WCAG AA passes).

Color values

HEX#DFCF7B
RGBrgb(223, 207, 123)
HSLhsl(50, 61%, 68%)
HSVhsv(50, 45%, 87%)
CMYKcmyk(0%, 7.2%, 44.8%, 12.5%)
CIE-LABlab(82.78, -5.80, 43.60)
CIE-LCHlch(82.78, 43.98, 97.58°)
OKLaboklab(84.95% -0.0162 0.1052)
OKLCHoklch(84.95% 0.106 98.8)
XYZxyz(56.3208, 61.7456, 27.6864)
Luminance0.6174 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFCF7B #7B8BDF
analogous
#DF9D7B #DFCF7B #BDDF7B
triadic
#DFCF7B #7BDFCF #CF7BDF
tetradic
#DFCF7B #7BDF9D #7B8BDF #DF7BBD
square
#DFCF7B #7BDF9D #7B8BDF #DF7BBD
split-complementary
#DFCF7B #7BBDDF #9D7BDF
monochromatic
#B49E2C #D3BD4A #DFCF7B #EBE1AC #F7F3DE

Accessibility & contrast

On white

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

On black

13.35
#DFCF7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFCF7B
13.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFCF7B#FFFFFF#000000##000000
##DFCF7B1.001.5713.3513.35
#FFFFFF1.571.0021.0021.00
#00000013.3521.001.001.00
##00000013.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DECB74
Deuteranopia (green-blind)
#E2D17E
Tritanopia (blue-blind)
#EDC4BB
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #dfcf7b;
/* rgb */ color: rgb(223, 207, 123);
/* oklch */ color: oklch(85.0% 0.106 98.8);
Tailwind
colors: {
  custom: {
    50: '#ebdda2',
    500: '#dfcf7b',
    950: '#000000',
  },
}
SCSS
$custom: #dfcf7b;
$custom-light: #ebdda2;
$custom-dark: #000000;
JSON
{
  "hex": "#dfcf7b",
  "rgb": {
    "r": 223,
    "g": 207,
    "b": 123
  },
  "hsl": {
    "h": 50.4,
    "s": 60.976,
    "l": 67.843
  },
  "oklch": {
    "l": 0.84954,
    "c": 0.10645,
    "h": 98.8
  },
  "luminance": 0.61744
}

Semantic roles & 50–950 ramp

primary
#DFCF7B
secondary
#495AB5
accent
#38C91D
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150F
muted
#858480

Preview Lab

Preview with #DFCF7B

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

Preview Lab → · Contrast checker → · Palette generator →

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