#DFC874#DFC874

#DFC874 is a very light, moderate yellow. Relative luminance 0.583; OKLCH L 83.4% C 0.108 H 94.5°. Best body text is #000000 at 12.65:1 contrast (WCAG AA passes).

Color values

HEX#DFC874
RGBrgb(223, 200, 116)
HSLhsl(47, 63%, 66%)
HSVhsv(47, 48%, 87%)
CMYKcmyk(0%, 10.3%, 48%, 12.5%)
CIE-LABlab(80.88, -2.87, 44.72)
CIE-LCHlch(80.88, 44.81, 93.67°)
OKLaboklab(83.43% -0.0084 0.1072)
OKLCHoklch(83.43% 0.108 94.5)
XYZxyz(54.2398, 58.2597, 24.9078)
Luminance0.5826 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC874 #748BDF
analogous
#DF9374 #DFC874 #C1DF74
triadic
#DFC874 #74DFC8 #C874DF
tetradic
#DFC874 #74DF93 #748BDF #DF74C1
square
#DFC874 #74DF93 #748BDF #DF74C1
split-complementary
#DFC874 #74C1DF #9374DF
monochromatic
#B09329 #D4B442 #DFC874 #EADCA6 #F6EFD7

Accessibility & contrast

On white

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

On black

12.65
#DFC874 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFC874
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFC874#FFFFFF#000000##000000
##DFC8741.001.6612.6512.65
#FFFFFF1.661.0021.0021.00
#00000012.6521.001.001.00
##00000012.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C56D
Deuteranopia (green-blind)
#DECC77
Tritanopia (blue-blind)
#EDBCB4
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #dfc874;
/* rgb */ color: rgb(223, 200, 116);
/* oklch */ color: oklch(83.4% 0.108 94.5);
Tailwind
colors: {
  custom: {
    50: '#ebd89d',
    500: '#dfc874',
    950: '#000000',
  },
}
SCSS
$custom: #dfc874;
$custom-light: #ebd89d;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc874",
  "rgb": {
    "r": 223,
    "g": 200,
    "b": 116
  },
  "hsl": {
    "h": 47.103,
    "s": 62.573,
    "l": 66.471
  },
  "oklch": {
    "l": 0.83426,
    "c": 0.10757,
    "h": 94.5
  },
  "luminance": 0.58257
}

Semantic roles & 50–950 ramp

primary
#DFC874
secondary
#455DB2
accent
#41CA1B
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#16140E
muted
#85837F

Preview Lab

Preview with #DFC874

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

Preview Lab → · Contrast checker → · Palette generator →

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