#DFC877#DFC877

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

Color values

HEX#DFC877
RGBrgb(223, 200, 119)
HSLhsl(47, 62%, 67%)
HSVhsv(47, 47%, 87%)
CMYKcmyk(0%, 10.3%, 46.6%, 12.5%)
CIE-LABlab(80.92, -2.59, 43.28)
CIE-LCHlch(80.92, 43.36, 93.42°)
OKLaboklab(83.47% -0.0073 0.1042)
OKLCHoklch(83.47% 0.104 94)
XYZxyz(54.4171, 58.3306, 25.8417)
Luminance0.5833 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC877 #778EDF
analogous
#DF9477 #DFC877 #C2DF77
triadic
#DFC877 #77DFC8 #C877DF
tetradic
#DFC877 #77DF94 #778EDF #DF77C2
square
#DFC877 #77DF94 #778EDF #DF77C2
split-complementary
#DFC877 #77C2DF #9477DF
monochromatic
#B2942A #D3B445 #DFC877 #EBDCA9 #F6F0DA

Accessibility & contrast

On white

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

On black

12.67
#DFC877 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFC877
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFC877#FFFFFF#000000##000000
##DFC8771.001.6612.6712.67
#FFFFFF1.661.0021.0021.00
#00000012.6721.001.001.00
##00000012.6721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dfc877;
/* rgb */ color: rgb(223, 200, 119);
/* oklch */ color: oklch(83.5% 0.104 94.0);
Tailwind
colors: {
  custom: {
    50: '#ebd89f',
    500: '#dfc877',
    950: '#000000',
  },
}
SCSS
$custom: #dfc877;
$custom-light: #ebd89f;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc877",
  "rgb": {
    "r": 223,
    "g": 200,
    "b": 119
  },
  "hsl": {
    "h": 46.731,
    "s": 61.905,
    "l": 67.059
  },
  "oklch": {
    "l": 0.83469,
    "c": 0.10449,
    "h": 94
  },
  "luminance": 0.58328
}

Semantic roles & 50–950 ramp

primary
#DFC877
secondary
#475FB3
accent
#42CA1C
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#16140F
muted
#858380

Preview Lab

Preview with #DFC877

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

Preview Lab → · Contrast checker → · Palette generator →

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