#DFC261#DFC261

#DFC261 is a light, vivid yellow. Relative luminance 0.551; OKLCH L 82.0% C 0.121 H 92.9°. Best body text is #000000 at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#DFC261
RGBrgb(223, 194, 97)
HSLhsl(46, 66%, 63%)
HSVhsv(46, 57%, 87%)
CMYKcmyk(0%, 13%, 56.5%, 12.5%)
CIE-LABlab(79.12, -1.37, 51.82)
CIE-LCHlch(79.12, 51.83, 91.51°)
OKLaboklab(81.96% -0.0062 0.1211)
OKLCHoklch(81.96% 0.121 92.9)
XYZxyz(51.8830, 55.1371, 19.2166)
Luminance0.5514 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC261 #617EDF
analogous
#DF8361 #DFC261 #BDDF61
triadic
#DFC261 #61DFC2 #C261DF
tetradic
#DFC261 #61DF83 #617EDF #DF61BD
square
#DFC261 #61DF83 #617EDF #DF61BD
split-complementary
#DFC261 #61BDDF #8361DF
monochromatic
#A48621 #D5AE2E #DFC261 #E9D694 #F4E9C7

Accessibility & contrast

On white

1.75
#DFC261 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.03
#DFC261 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFC261
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFC261#FFFFFF#000000##000000
##DFC2611.001.7512.0312.03
#FFFFFF1.751.0021.0021.00
#00000012.0321.001.001.00
##00000012.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BF58
Deuteranopia (green-blind)
#DBC865
Tritanopia (blue-blind)
#EFB5AC
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #dfc261;
/* rgb */ color: rgb(223, 194, 97);
/* oklch */ color: oklch(82.0% 0.121 92.9);
Tailwind
colors: {
  custom: {
    50: '#ecd491',
    500: '#dfc261',
    950: '#000000',
  },
}
SCSS
$custom: #dfc261;
$custom-light: #ecd491;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc261",
  "rgb": {
    "r": 223,
    "g": 194,
    "b": 97
  },
  "hsl": {
    "h": 46.19,
    "s": 66.316,
    "l": 62.745
  },
  "oklch": {
    "l": 0.8196,
    "c": 0.12125,
    "h": 92.9
  },
  "luminance": 0.55135
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DFC261

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

Preview Lab → · Contrast checker → · Palette generator →

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