#DFC154#DFC154

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

Color values

HEX#DFC154
RGBrgb(223, 193, 84)
HSLhsl(47, 68%, 60%)
HSVhsv(47, 62%, 87%)
CMYKcmyk(0%, 13.5%, 62.3%, 12.5%)
CIE-LABlab(78.74, -1.77, 57.34)
CIE-LCHlch(78.74, 57.37, 91.76°)
OKLaboklab(81.62% -0.0089 0.1313)
OKLCHoklch(81.62% 0.132 93.9)
XYZxyz(51.1040, 54.4706, 16.2079)
Luminance0.5447 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC154 #5472DF
analogous
#DF7B54 #DFC154 #B8DF54
triadic
#DFC154 #54DFC1 #C154DF
tetradic
#DFC154 #54DF7B #5472DF #DF54B8
square
#DFC154 #54DF7B #5472DF #DF54B8
split-complementary
#DFC154 #54B8DF #7B54DF
monochromatic
#9C801D #CFAB27 #DFC154 #E9D488 #F2E6BB

Accessibility & contrast

On white

1.77
#DFC154 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.89
#DFC154 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFC154
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFC154#FFFFFF#000000##000000
##DFC1541.001.7711.8911.89
#FFFFFF1.771.0021.0021.00
#00000011.8921.001.001.00
##00000011.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BE48
Deuteranopia (green-blind)
#DBC759
Tritanopia (blue-blind)
#F0B3A9
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #dfc154;
/* rgb */ color: rgb(223, 193, 84);
/* oklch */ color: oklch(81.6% 0.132 93.9);
Tailwind
colors: {
  custom: {
    50: '#ecd388',
    500: '#dfc154',
    950: '#000000',
  },
}
SCSS
$custom: #dfc154;
$custom-light: #ecd388;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc154",
  "rgb": {
    "r": 223,
    "g": 193,
    "b": 84
  },
  "hsl": {
    "h": 47.05,
    "s": 68.473,
    "l": 60.196
  },
  "oklch": {
    "l": 0.81615,
    "c": 0.13164,
    "h": 93.9
  },
  "luminance": 0.54468
}

Semantic roles & 50–950 ramp

primary
#DFC154
secondary
#384E9F
accent
#3ED015
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DFC154

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

Preview Lab → · Contrast checker → · Palette generator →

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