#DFC167#DFC167

#DFC167 is a light, moderate yellow. Relative luminance 0.548; OKLCH L 81.8% C 0.115 H 91.3°. Best body text is #000000 at 11.96:1 contrast (WCAG AA passes).

Color values

HEX#DFC167
RGBrgb(223, 193, 103)
HSLhsl(45, 65%, 64%)
HSVhsv(45, 54%, 87%)
CMYKcmyk(0%, 13.5%, 53.8%, 12.5%)
CIE-LABlab(78.93, -0.38, 48.73)
CIE-LCHlch(78.93, 48.73, 90.44°)
OKLaboklab(81.83% -0.0026 0.115)
OKLCHoklch(81.83% 0.115 91.3)
XYZxyz(51.9516, 54.8097, 20.6722)
Luminance0.5481 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC167 #6785DF
analogous
#DF8567 #DFC167 #C1DF67
triadic
#DFC167 #67DFC1 #C167DF
tetradic
#DFC167 #67DF85 #6785DF #DF67C1
square
#DFC167 #67DF85 #6785DF #DF67C1
split-complementary
#DFC167 #67C1DF #8567DF
monochromatic
#A88723 #D4AC34 #DFC167 #EAD69A #F4EACC

Accessibility & contrast

On white

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

On black

11.96
#DFC167 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFC167
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFC167#FFFFFF#000000##000000
##DFC1671.001.7611.9611.96
#FFFFFF1.761.0021.0021.00
#00000011.9621.001.001.00
##00000011.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BE5F
Deuteranopia (green-blind)
#DAC76B
Tritanopia (blue-blind)
#EFB4AC
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #dfc167;
/* rgb */ color: rgb(223, 193, 103);
/* oklch */ color: oklch(81.8% 0.115 91.3);
Tailwind
colors: {
  custom: {
    50: '#ebd394',
    500: '#dfc167',
    950: '#000000',
  },
}
SCSS
$custom: #dfc167;
$custom-light: #ebd394;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc167",
  "rgb": {
    "r": 223,
    "g": 193,
    "b": 103
  },
  "hsl": {
    "h": 45,
    "s": 65.217,
    "l": 63.922
  },
  "oklch": {
    "l": 0.81833,
    "c": 0.11502,
    "h": 91.3
  },
  "luminance": 0.54807
}

Semantic roles & 50–950 ramp

primary
#DFC167
secondary
#405AAB
accent
#46CD18
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #DFC167

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

Preview Lab → · Contrast checker → · Palette generator →

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