#DFC14F#DFC14F

#DFC14F is a light, vivid yellow. Relative luminance 0.544; OKLCH L 81.6% C 0.136 H 94.4°. Best body text is #000000 at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#DFC14F
RGBrgb(223, 193, 79)
HSLhsl(48, 69%, 59%)
HSVhsv(48, 65%, 87%)
CMYKcmyk(0%, 13.5%, 64.6%, 12.5%)
CIE-LABlab(78.69, -2.08, 59.48)
CIE-LCHlch(78.69, 59.52, 92.00°)
OKLaboklab(81.57% -0.0104 0.1352)
OKLCHoklch(81.57% 0.136 94.4)
XYZxyz(50.9151, 54.3951, 15.2131)
Luminance0.5439 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC14F #4F6DDF
analogous
#DF794F #DFC14F #B5DF4F
triadic
#DFC14F #4FDFC1 #C14FDF
tetradic
#DFC14F #4FDF79 #4F6DDF #DF4FB5
square
#DFC14F #4FDF79 #4F6DDF #DF4FB5
split-complementary
#DFC14F #4FB5DF #794FDF
monochromatic
#987E1C #CCA925 #DFC14F #E8D383 #F2E5B7

Accessibility & contrast

On white

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

On black

11.88
#DFC14F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFC14F
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFC14F#FFFFFF#000000##000000
##DFC14F1.001.7711.8811.88
#FFFFFF1.771.0021.0021.00
#00000011.8821.001.001.00
##00000011.8821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dfc14f;
/* rgb */ color: rgb(223, 193, 79);
/* oklch */ color: oklch(81.6% 0.136 94.4);
Tailwind
colors: {
  custom: {
    50: '#ecd385',
    500: '#dfc14f',
    950: '#000000',
  },
}
SCSS
$custom: #dfc14f;
$custom-light: #ecd385;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc14f",
  "rgb": {
    "r": 223,
    "g": 193,
    "b": 79
  },
  "hsl": {
    "h": 47.5,
    "s": 69.231,
    "l": 59.216
  },
  "oklch": {
    "l": 0.81566,
    "c": 0.13556,
    "h": 94.4
  },
  "luminance": 0.54392
}

Semantic roles & 50–950 ramp

primary
#DFC14F
secondary
#364B9C
accent
#60EC3C
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DFC14F

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

Preview Lab → · Contrast checker → · Palette generator →

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