#DFC870#DFC870

#DFC870 is a very light, moderate yellow. Relative luminance 0.582; OKLCH L 83.4% C 0.112 H 95.1°. Best body text is #000000 at 12.63:1 contrast (WCAG AA passes).

Color values

HEX#DFC870
RGBrgb(223, 200, 112)
HSLhsl(48, 63%, 66%)
HSVhsv(48, 50%, 87%)
CMYKcmyk(0%, 10.3%, 49.8%, 12.5%)
CIE-LABlab(80.83, -3.23, 46.63)
CIE-LCHlch(80.83, 46.74, 93.97°)
OKLaboklab(83.37% -0.0099 0.1112)
OKLCHoklch(83.37% 0.112 95.1)
XYZxyz(54.0121, 58.1686, 23.7087)
Luminance0.5817 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC870 #7087DF
analogous
#DF9070 #DFC870 #BEDF70
triadic
#DFC870 #70DFC8 #C870DF
tetradic
#DFC870 #70DF90 #7087DF #DF70BE
square
#DFC870 #70DF90 #7087DF #DF70BE
split-complementary
#DFC870 #70BEDF #9070DF
monochromatic
#AE9227 #D4B53E #DFC870 #EADBA2 #F5EED4

Accessibility & contrast

On white

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

On black

12.63
#DFC870 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFC870
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFC870#FFFFFF#000000##000000
##DFC8701.001.6612.6312.63
#FFFFFF1.661.0021.0021.00
#00000012.6321.001.001.00
##00000012.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C468
Deuteranopia (green-blind)
#DECC74
Tritanopia (blue-blind)
#EEBCB3
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #dfc870;
/* rgb */ color: rgb(223, 200, 112);
/* oklch */ color: oklch(83.4% 0.112 95.1);
Tailwind
colors: {
  custom: {
    50: '#ebd89b',
    500: '#dfc870',
    950: '#000000',
  },
}
SCSS
$custom: #dfc870;
$custom-light: #ebd89b;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc870",
  "rgb": {
    "r": 223,
    "g": 200,
    "b": 112
  },
  "hsl": {
    "h": 47.568,
    "s": 63.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.83369,
    "c": 0.11161,
    "h": 95.1
  },
  "luminance": 0.58166
}

Semantic roles & 50–950 ramp

primary
#DFC870
secondary
#445AB0
accent
#3FCB1A
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#16140E
muted
#85837F

Preview Lab

Preview with #DFC870

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

Preview Lab → · Contrast checker → · Palette generator →

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