#DFC156#DFC156

#DFC156 is a light, vivid yellow. Relative luminance 0.545; OKLCH L 81.6% C 0.130 H 93.6°. Best body text is #000000 at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#DFC156
RGBrgb(223, 193, 86)
HSLhsl(47, 68%, 61%)
HSVhsv(47, 61%, 87%)
CMYKcmyk(0%, 13.5%, 61.4%, 12.5%)
CIE-LABlab(78.75, -1.63, 56.47)
CIE-LCHlch(78.75, 56.49, 91.66°)
OKLaboklab(81.64% -0.0083 0.1298)
OKLCHoklch(81.64% 0.13 93.6)
XYZxyz(51.1834, 54.5024, 16.6263)
Luminance0.5450 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC156 #5674DF
analogous
#DF7C56 #DFC156 #B9DF56
triadic
#DFC156 #56DFC1 #C156DF
tetradic
#DFC156 #56DF7C #5674DF #DF56B9
square
#DFC156 #56DF7C #5674DF #DF56B9
split-complementary
#DFC156 #56B9DF #7C56DF
monochromatic
#9D811E #D0AB27 #DFC156 #E9D489 #F2E7BD

Accessibility & contrast

On white

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

On black

11.90
#DFC156 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFC156
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFC156#FFFFFF#000000##000000
##DFC1561.001.7611.9011.90
#FFFFFF1.761.0021.0021.00
#00000011.9021.001.001.00
##00000011.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BE4A
Deuteranopia (green-blind)
#DBC75B
Tritanopia (blue-blind)
#F0B3AA
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #dfc156;
/* rgb */ color: rgb(223, 193, 86);
/* oklch */ color: oklch(81.6% 0.130 93.6);
Tailwind
colors: {
  custom: {
    50: '#ecd38a',
    500: '#dfc156',
    950: '#000000',
  },
}
SCSS
$custom: #dfc156;
$custom-light: #ecd38a;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc156",
  "rgb": {
    "r": 223,
    "g": 193,
    "b": 86
  },
  "hsl": {
    "h": 46.861,
    "s": 68.159,
    "l": 60.588
  },
  "oklch": {
    "l": 0.81635,
    "c": 0.13001,
    "h": 93.6
  },
  "luminance": 0.545
}

Semantic roles & 50–950 ramp

primary
#DFC156
secondary
#394FA0
accent
#3ED015
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DFC156

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

Preview Lab → · Contrast checker → · Palette generator →

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