#DFC56A#DFC56A

#DFC56A is a very light, moderate yellow. Relative luminance 0.567; OKLCH L 82.7% C 0.115 H 93.8°. Best body text is #000000 at 12.33:1 contrast (WCAG AA passes).

Color values

HEX#DFC56A
RGBrgb(223, 197, 106)
HSLhsl(47, 65%, 65%)
HSVhsv(47, 52%, 87%)
CMYKcmyk(0%, 11.7%, 52.5%, 12.5%)
CIE-LABlab(79.99, -2.20, 48.54)
CIE-LCHlch(79.99, 48.59, 92.60°)
OKLaboklab(82.68% -0.0076 0.1149)
OKLCHoklch(82.68% 0.115 93.8)
XYZxyz(53.0011, 56.6634, 21.7782)
Luminance0.5666 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC56A #6A84DF
analogous
#DF8B6A #DFC56A #BEDF6A
triadic
#DFC56A #6ADFC5 #C56ADF
tetradic
#DFC56A #6ADF8B #6A84DF #DF6ABE
square
#DFC56A #6ADF8B #6A84DF #DF6ABE
split-complementary
#DFC56A #6ABEDF #8B6ADF
monochromatic
#AA8C25 #D4B138 #DFC56A #EAD99C #F5ECCF

Accessibility & contrast

On white

1.70
#DFC56A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.33
#DFC56A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFC56A
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFC56A#FFFFFF#000000##000000
##DFC56A1.001.7012.3312.33
#FFFFFF1.701.0021.0021.00
#00000012.3321.001.001.00
##00000012.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C262
Deuteranopia (green-blind)
#DCCA6E
Tritanopia (blue-blind)
#EEB9B0
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #dfc56a;
/* rgb */ color: rgb(223, 197, 106);
/* oklch */ color: oklch(82.7% 0.115 93.8);
Tailwind
colors: {
  custom: {
    50: '#ebd697',
    500: '#dfc56a',
    950: '#000000',
  },
}
SCSS
$custom: #dfc56a;
$custom-light: #ebd697;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc56a",
  "rgb": {
    "r": 223,
    "g": 197,
    "b": 106
  },
  "hsl": {
    "h": 46.667,
    "s": 64.641,
    "l": 64.51
  },
  "oklch": {
    "l": 0.8268,
    "c": 0.1151,
    "h": 93.8
  },
  "luminance": 0.56661
}

Semantic roles & 50–950 ramp

primary
#DFC56A
secondary
#4159AC
accent
#41CC19
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#17140E
muted
#85837F

Preview Lab

Preview with #DFC56A

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

Preview Lab → · Contrast checker → · Palette generator →

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