#DFCF7A#DFCF7A

#DFCF7A is a very light, moderate yellow. Relative luminance 0.617; OKLCH L 84.9% C 0.108 H 98.9°. Best body text is #000000 at 13.34:1 contrast (WCAG AA passes).

Color values

HEX#DFCF7A
RGBrgb(223, 207, 122)
HSLhsl(50, 61%, 68%)
HSVhsv(50, 45%, 87%)
CMYKcmyk(0%, 7.2%, 45.3%, 12.5%)
CIE-LABlab(82.76, -5.90, 44.08)
CIE-LCHlch(82.76, 44.47, 97.62°)
OKLaboklab(84.94% -0.0166 0.1062)
OKLCHoklch(84.94% 0.108 98.9)
XYZxyz(56.2586, 61.7207, 27.3584)
Luminance0.6172 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFCF7A #7A8ADF
analogous
#DF9C7A #DFCF7A #BCDF7A
triadic
#DFCF7A #7ADFCF #CF7ADF
tetradic
#DFCF7A #7ADF9C #7A8ADF #DF7ABC
square
#DFCF7A #7ADF9C #7A8ADF #DF7ABC
split-complementary
#DFCF7A #7ABCDF #9C7ADF
monochromatic
#B39E2B #D3BD49 #DFCF7A #EBE1AB #F7F3DD

Accessibility & contrast

On white

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

On black

13.34
#DFCF7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFCF7A
13.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFCF7A#FFFFFF#000000##000000
##DFCF7A1.001.5713.3413.34
#FFFFFF1.571.0021.0021.00
#00000013.3421.001.001.00
##00000013.3421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dfcf7a;
/* rgb */ color: rgb(223, 207, 122);
/* oklch */ color: oklch(84.9% 0.108 98.9);
Tailwind
colors: {
  custom: {
    50: '#ebdda2',
    500: '#dfcf7a',
    950: '#000000',
  },
}
SCSS
$custom: #dfcf7a;
$custom-light: #ebdda2;
$custom-dark: #000000;
JSON
{
  "hex": "#dfcf7a",
  "rgb": {
    "r": 223,
    "g": 207,
    "b": 122
  },
  "hsl": {
    "h": 50.495,
    "s": 61.212,
    "l": 67.647
  },
  "oklch": {
    "l": 0.84939,
    "c": 0.10751,
    "h": 98.9
  },
  "luminance": 0.61719
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DFCF7A

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

Preview Lab → · Contrast checker → · Palette generator →

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