#DFC781#DFC781

#DFC781 is a very light, moderate orange. Relative luminance 0.581; OKLCH L 83.4% C 0.093 H 91.2°. Best body text is #000000 at 12.62:1 contrast (WCAG AA passes).

Color values

HEX#DFC781
RGBrgb(223, 199, 129)
HSLhsl(45, 59%, 69%)
HSVhsv(45, 42%, 87%)
CMYKcmyk(0%, 10.8%, 42.2%, 12.5%)
CIE-LABlab(80.81, -1.07, 38.09)
CIE-LCHlch(80.81, 38.10, 91.61°)
OKLaboklab(83.42% -0.002 0.0931)
OKLCHoklch(83.42% 0.093 91.2)
XYZxyz(54.8187, 58.1219, 29.0957)
Luminance0.5812 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC781 #8199DF
analogous
#DF9881 #DFC781 #C8DF81
triadic
#DFC781 #81DFC7 #C781DF
tetradic
#DFC781 #81DF98 #8199DF #DF81C8
square
#DFC781 #81DF98 #8199DF #DF81C8
split-complementary
#DFC781 #81C8DF #9881DF
monochromatic
#B7942F #D3B150 #DFC781 #EBDDB2 #F8F2E3

Accessibility & contrast

On white

1.66
#DFC781 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.62
#DFC781 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFC781
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFC781#FFFFFF#000000##000000
##DFC7811.001.6612.6212.62
#FFFFFF1.661.0021.0021.00
#00000012.6221.001.001.00
##00000012.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C57C
Deuteranopia (green-blind)
#DCCC83
Tritanopia (blue-blind)
#EDBDB6
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #dfc781;
/* rgb */ color: rgb(223, 199, 129);
/* oklch */ color: oklch(83.4% 0.093 91.2);
Tailwind
colors: {
  custom: {
    50: '#ead7a6',
    500: '#dfc781',
    950: '#000000',
  },
}
SCSS
$custom: #dfc781;
$custom-light: #ead7a6;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc781",
  "rgb": {
    "r": 223,
    "g": 199,
    "b": 129
  },
  "hsl": {
    "h": 44.681,
    "s": 59.494,
    "l": 69.02
  },
  "oklch": {
    "l": 0.83424,
    "c": 0.09308,
    "h": 91.2
  },
  "luminance": 0.5812
}

Semantic roles & 50–950 ramp

primary
#DFC781
secondary
#4E69B6
accent
#49C71E
background
#FFFEFC
surface
#FEFBF6
border
#D6D4D0
text
#16140F
muted
#858380

Preview Lab

Preview with #DFC781

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

Preview Lab → · Contrast checker → · Palette generator →

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