#DFCF81#DFCF81

#DFCF81 is a very light, moderate yellow. Relative luminance 0.619; OKLCH L 85.0% C 0.100 H 98.0°. Best body text is #000000 at 13.38:1 contrast (WCAG AA passes).

Color values

HEX#DFCF81
RGBrgb(223, 207, 129)
HSLhsl(50, 59%, 69%)
HSVhsv(50, 42%, 87%)
CMYKcmyk(0%, 7.2%, 42.2%, 12.5%)
CIE-LABlab(82.86, -5.20, 40.71)
CIE-LCHlch(82.86, 41.04, 97.28°)
OKLaboklab(85.05% -0.014 0.099)
OKLCHoklch(85.05% 0.1 98)
XYZxyz(56.7080, 61.9004, 29.7254)
Luminance0.6190 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFCF81 #8191DF
analogous
#DFA081 #DFCF81 #C0DF81
triadic
#DFCF81 #81DFCF #CF81DF
tetradic
#DFCF81 #81DFA0 #8191DF #DF81C0
square
#DFCF81 #81DFA0 #8191DF #DF81C0
split-complementary
#DFCF81 #81C0DF #A081DF
monochromatic
#B7A02F #D3BC50 #DFCF81 #EBE2B2 #F8F4E3

Accessibility & contrast

On white

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

On black

13.38
#DFCF81 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFCF81
13.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFCF81#FFFFFF#000000##000000
##DFCF811.001.5713.3813.38
#FFFFFF1.571.0021.0021.00
#00000013.3821.001.001.00
##00000013.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDCB7B
Deuteranopia (green-blind)
#E2D184
Tritanopia (blue-blind)
#ECC5BC
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #dfcf81;
/* rgb */ color: rgb(223, 207, 129);
/* oklch */ color: oklch(85.0% 0.100 98.0);
Tailwind
colors: {
  custom: {
    50: '#eadda6',
    500: '#dfcf81',
    950: '#000000',
  },
}
SCSS
$custom: #dfcf81;
$custom-light: #eadda6;
$custom-dark: #000000;
JSON
{
  "hex": "#dfcf81",
  "rgb": {
    "r": 223,
    "g": 207,
    "b": 129
  },
  "hsl": {
    "h": 49.787,
    "s": 59.494,
    "l": 69.02
  },
  "oklch": {
    "l": 0.85046,
    "c": 0.1,
    "h": 98
  },
  "luminance": 0.61899
}

Semantic roles & 50–950 ramp

primary
#DFCF81
secondary
#4E60B6
accent
#3BC71E
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#16150F
muted
#858480

Preview Lab

Preview with #DFCF81

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

Preview Lab → · Contrast checker → · Palette generator →

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