#DFC876#DFC876

#DFC876 is a very light, moderate yellow. Relative luminance 0.583; OKLCH L 83.5% C 0.106 H 94.2°. Best body text is #000000 at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#DFC876
RGBrgb(223, 200, 118)
HSLhsl(47, 62%, 67%)
HSVhsv(47, 47%, 87%)
CMYKcmyk(0%, 10.3%, 47.1%, 12.5%)
CIE-LABlab(80.91, -2.68, 43.76)
CIE-LCHlch(80.91, 43.84, 93.51°)
OKLaboklab(83.46% -0.0077 0.1052)
OKLCHoklch(83.46% 0.106 94.2)
XYZxyz(54.3574, 58.3067, 25.5271)
Luminance0.5830 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC876 #768DDF
analogous
#DF9476 #DFC876 #C2DF76
triadic
#DFC876 #76DFC8 #C876DF
tetradic
#DFC876 #76DF94 #768DDF #DF76C2
square
#DFC876 #76DF94 #768DDF #DF76C2
split-complementary
#DFC876 #76C2DF #9476DF
monochromatic
#B19329 #D3B444 #DFC876 #EBDCA8 #F6F0D9

Accessibility & contrast

On white

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

On black

12.66
#DFC876 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFC876
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFC876#FFFFFF#000000##000000
##DFC8761.001.6612.6612.66
#FFFFFF1.661.0021.0021.00
#00000012.6621.001.001.00
##00000012.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C56F
Deuteranopia (green-blind)
#DECC79
Tritanopia (blue-blind)
#EDBDB4
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #dfc876;
/* rgb */ color: rgb(223, 200, 118);
/* oklch */ color: oklch(83.5% 0.106 94.2);
Tailwind
colors: {
  custom: {
    50: '#ebd89f',
    500: '#dfc876',
    950: '#000000',
  },
}
SCSS
$custom: #dfc876;
$custom-light: #ebd89f;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc876",
  "rgb": {
    "r": 223,
    "g": 200,
    "b": 118
  },
  "hsl": {
    "h": 46.857,
    "s": 62.13,
    "l": 66.863
  },
  "oklch": {
    "l": 0.83455,
    "c": 0.10552,
    "h": 94.2
  },
  "luminance": 0.58305
}

Semantic roles & 50–950 ramp

primary
#DFC876
secondary
#465EB3
accent
#42CA1C
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#16140E
muted
#85837F

Preview Lab

Preview with #DFC876

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

Preview Lab → · Contrast checker → · Palette generator →

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