#DFC254#DFC254

#DFC254 is a light, vivid yellow. Relative luminance 0.549; OKLCH L 81.8% C 0.132 H 94.5°. Best body text is #000000 at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#DFC254
RGBrgb(223, 194, 84)
HSLhsl(47, 68%, 60%)
HSVhsv(47, 62%, 87%)
CMYKcmyk(0%, 13%, 62.3%, 12.5%)
CIE-LABlab(78.99, -2.28, 57.62)
CIE-LCHlch(78.99, 57.67, 92.27°)
OKLaboklab(81.82% -0.0104 0.1319)
OKLCHoklch(81.82% 0.132 94.5)
XYZxyz(51.3258, 54.9142, 16.2818)
Luminance0.5491 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC254 #5471DF
analogous
#DF7C54 #DFC254 #B6DF54
triadic
#DFC254 #54DFC2 #C254DF
tetradic
#DFC254 #54DF7C #5471DF #DF54B6
square
#DFC254 #54DF7C #5471DF #DF54B6
split-complementary
#DFC254 #54B6DF #7C54DF
monochromatic
#9C811D #CFAC27 #DFC254 #E9D488 #F2E7BB

Accessibility & contrast

On white

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

On black

11.98
#DFC254 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFC254
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFC254#FFFFFF#000000##000000
##DFC2541.001.7511.9811.98
#FFFFFF1.751.0021.0021.00
#00000011.9821.001.001.00
##00000011.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BE48
Deuteranopia (green-blind)
#DCC759
Tritanopia (blue-blind)
#F0B4AA
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #dfc254;
/* rgb */ color: rgb(223, 194, 84);
/* oklch */ color: oklch(81.8% 0.132 94.5);
Tailwind
colors: {
  custom: {
    50: '#ecd488',
    500: '#dfc254',
    950: '#000000',
  },
}
SCSS
$custom: #dfc254;
$custom-light: #ecd488;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc254",
  "rgb": {
    "r": 223,
    "g": 194,
    "b": 84
  },
  "hsl": {
    "h": 47.482,
    "s": 68.473,
    "l": 60.196
  },
  "oklch": {
    "l": 0.81818,
    "c": 0.13235,
    "h": 94.5
  },
  "luminance": 0.54912
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DFC254

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

Preview Lab → · Contrast checker → · Palette generator →

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