#DFC56F#DFC56F

#DFC56F is a very light, moderate yellow. Relative luminance 0.568; OKLCH L 82.7% C 0.110 H 93.0°. Best body text is #000000 at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#DFC56F
RGBrgb(223, 197, 111)
HSLhsl(46, 64%, 65%)
HSVhsv(46, 50%, 87%)
CMYKcmyk(0%, 11.7%, 50.2%, 12.5%)
CIE-LABlab(80.05, -1.77, 46.17)
CIE-LCHlch(80.05, 46.20, 92.20°)
OKLaboklab(82.75% -0.0058 0.1101)
OKLCHoklch(82.75% 0.11 93)
XYZxyz(53.2688, 56.7705, 23.1878)
Luminance0.5677 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC56F #6F89DF
analogous
#DF8D6F #DFC56F #C1DF6F
triadic
#DFC56F #6FDFC5 #C56FDF
tetradic
#DFC56F #6FDF8D #6F89DF #DF6FC1
square
#DFC56F #6FDF8D #6F89DF #DF6FC1
split-complementary
#DFC56F #6FC1DF #8D6FDF
monochromatic
#AD8E26 #D4B13D #DFC56F #EAD9A1 #F5EDD3

Accessibility & contrast

On white

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

On black

12.35
#DFC56F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFC56F
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFC56F#FFFFFF#000000##000000
##DFC56F1.001.7012.3512.35
#FFFFFF1.701.0021.0021.00
#00000012.3521.001.001.00
##00000012.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C268
Deuteranopia (green-blind)
#DCCA72
Tritanopia (blue-blind)
#EEB9B1
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #dfc56f;
/* rgb */ color: rgb(223, 197, 111);
/* oklch */ color: oklch(82.7% 0.110 93.0);
Tailwind
colors: {
  custom: {
    50: '#ebd69a',
    500: '#dfc56f',
    950: '#000000',
  },
}
SCSS
$custom: #dfc56f;
$custom-light: #ebd69a;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc56f",
  "rgb": {
    "r": 223,
    "g": 197,
    "b": 111
  },
  "hsl": {
    "h": 46.071,
    "s": 63.636,
    "l": 65.49
  },
  "oklch": {
    "l": 0.82747,
    "c": 0.11022,
    "h": 93
  },
  "luminance": 0.56768
}

Semantic roles & 50–950 ramp

primary
#DFC56F
secondary
#435CAF
accent
#43CB1A
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#16140E
muted
#85837F

Preview Lab

Preview with #DFC56F

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

Preview Lab → · Contrast checker → · Palette generator →

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