#DFC46F#DFC46F

#DFC46F is a very light, moderate yellow. Relative luminance 0.563; OKLCH L 82.5% C 0.109 H 92.2°. Best body text is #000000 at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#DFC46F
RGBrgb(223, 196, 111)
HSLhsl(46, 64%, 65%)
HSVhsv(46, 50%, 87%)
CMYKcmyk(0%, 12.1%, 50.2%, 12.5%)
CIE-LABlab(79.79, -1.25, 45.86)
CIE-LCHlch(79.79, 45.88, 91.57°)
OKLaboklab(82.55% -0.0043 0.1094)
OKLCHoklch(82.55% 0.109 92.2)
XYZxyz(53.0424, 56.3179, 23.1123)
Luminance0.5632 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC46F #6F8ADF
analogous
#DF8C6F #DFC46F #C2DF6F
triadic
#DFC46F #6FDFC4 #C46FDF
tetradic
#DFC46F #6FDF8C #6F8ADF #DF6FC2
square
#DFC46F #6FDF8C #6F8ADF #DF6FC2
split-complementary
#DFC46F #6FC2DF #8C6FDF
monochromatic
#AD8D26 #D4AF3D #DFC46F #EAD9A1 #F5EDD3

Accessibility & contrast

On white

1.71
#DFC46F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.26
#DFC46F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFC46F
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFC46F#FFFFFF#000000##000000
##DFC46F1.001.7112.2612.26
#FFFFFF1.711.0021.0021.00
#00000012.2621.001.001.00
##00000012.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C168
Deuteranopia (green-blind)
#DBC972
Tritanopia (blue-blind)
#EEB8B0
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #dfc46f;
/* rgb */ color: rgb(223, 196, 111);
/* oklch */ color: oklch(82.5% 0.109 92.2);
Tailwind
colors: {
  custom: {
    50: '#ebd59a',
    500: '#dfc46f',
    950: '#000000',
  },
}
SCSS
$custom: #dfc46f;
$custom-light: #ebd59a;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc46f",
  "rgb": {
    "r": 223,
    "g": 196,
    "b": 111
  },
  "hsl": {
    "h": 45.536,
    "s": 63.636,
    "l": 65.49
  },
  "oklch": {
    "l": 0.82545,
    "c": 0.10946,
    "h": 92.2
  },
  "luminance": 0.56316
}

Semantic roles & 50–950 ramp

primary
#DFC46F
secondary
#435DAF
accent
#45CB1A
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#16140E
muted
#85837F

Preview Lab

Preview with #DFC46F

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

Preview Lab → · Contrast checker → · Palette generator →

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