#DFD874#DFD874

#DFD874 is a very light, vivid yellow. Relative luminance 0.661; OKLCH L 86.7% C 0.123 H 105.1°. Best body text is #000000 at 14.21:1 contrast (WCAG AA passes).

Color values

HEX#DFD874
RGBrgb(223, 216, 116)
HSLhsl(56, 63%, 66%)
HSVhsv(56, 48%, 87%)
CMYKcmyk(0%, 3.1%, 48%, 12.5%)
CIE-LABlab(85.03, -11.02, 49.78)
CIE-LCHlch(85.03, 50.98, 102.49°)
OKLaboklab(86.71% -0.032 0.1184)
OKLCHoklch(86.71% 0.123 105.1)
XYZxyz(58.1411, 66.0623, 26.2082)
Luminance0.6606 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD874 #747BDF
analogous
#DFA374 #DFD874 #B1DF74
triadic
#DFD874 #74DFD8 #D874DF
tetradic
#DFD874 #74DFA3 #747BDF #DF74B1
square
#DFD874 #74DFA3 #747BDF #DF74B1
split-complementary
#DFD874 #74B1DF #A374DF
monochromatic
#B0A729 #D4CA42 #DFD874 #EAE6A6 #F6F4D7

Accessibility & contrast

On white

1.48
#DFD874 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.21
#DFD874 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD874
14.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD874#FFFFFF#000000##000000
##DFD8741.001.4814.2114.21
#FFFFFF1.481.0021.0021.00
#00000014.2121.001.001.00
##00000014.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D26B
Deuteranopia (green-blind)
#EAD779
Tritanopia (blue-blind)
#ECCCC1
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #dfd874;
/* rgb */ color: rgb(223, 216, 116);
/* oklch */ color: oklch(86.7% 0.123 105.1);
Tailwind
colors: {
  custom: {
    50: '#ebe39e',
    500: '#dfd874',
    950: '#000000',
  },
}
SCSS
$custom: #dfd874;
$custom-light: #ebe39e;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd874",
  "rgb": {
    "r": 223,
    "g": 216,
    "b": 116
  },
  "hsl": {
    "h": 56.075,
    "s": 62.573,
    "l": 66.471
  },
  "oklch": {
    "l": 0.8671,
    "c": 0.12266,
    "h": 105.1
  },
  "luminance": 0.66061
}

Semantic roles & 50–950 ramp

primary
#DFD874
secondary
#454DB2
accent
#27CA1B
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150E
muted
#85847F

Preview Lab

Preview with #DFD874

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

Preview Lab → · Contrast checker → · Palette generator →

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