#DFC161#DFC161

#DFC161 is a light, vivid yellow. Relative luminance 0.547; OKLCH L 81.8% C 0.121 H 92.2°. Best body text is #000000 at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#DFC161
RGBrgb(223, 193, 97)
HSLhsl(46, 66%, 63%)
HSVhsv(46, 57%, 87%)
CMYKcmyk(0%, 13.5%, 56.5%, 12.5%)
CIE-LABlab(78.86, -0.85, 51.52)
CIE-LCHlch(78.86, 51.53, 90.94°)
OKLaboklab(81.76% -0.0047 0.1205)
OKLCHoklch(81.76% 0.121 92.2)
XYZxyz(51.6612, 54.6935, 19.1427)
Luminance0.5469 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC161 #617FDF
analogous
#DF8261 #DFC161 #BEDF61
triadic
#DFC161 #61DFC1 #C161DF
tetradic
#DFC161 #61DF82 #617FDF #DF61BE
square
#DFC161 #61DF82 #617FDF #DF61BE
split-complementary
#DFC161 #61BEDF #8261DF
monochromatic
#A48521 #D5AD2E #DFC161 #E9D594 #F4E9C7

Accessibility & contrast

On white

1.76
#DFC161 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.94
#DFC161 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFC161
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFC161#FFFFFF#000000##000000
##DFC1611.001.7611.9411.94
#FFFFFF1.761.0021.0021.00
#00000011.9421.001.001.00
##00000011.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BE58
Deuteranopia (green-blind)
#DAC765
Tritanopia (blue-blind)
#EFB4AB
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #dfc161;
/* rgb */ color: rgb(223, 193, 97);
/* oklch */ color: oklch(81.8% 0.121 92.2);
Tailwind
colors: {
  custom: {
    50: '#ecd391',
    500: '#dfc161',
    950: '#000000',
  },
}
SCSS
$custom: #dfc161;
$custom-light: #ecd391;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc161",
  "rgb": {
    "r": 223,
    "g": 193,
    "b": 97
  },
  "hsl": {
    "h": 45.714,
    "s": 66.316,
    "l": 62.745
  },
  "oklch": {
    "l": 0.81758,
    "c": 0.12054,
    "h": 92.2
  },
  "luminance": 0.54691
}

Semantic roles & 50–950 ramp

primary
#DFC161
secondary
#3D56A7
accent
#43CE17
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #DFC161

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

Preview Lab → · Contrast checker → · Palette generator →

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