#DFC150#DFC150

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

Color values

HEX#DFC150
RGBrgb(223, 193, 80)
HSLhsl(47, 69%, 59%)
HSVhsv(47, 64%, 87%)
CMYKcmyk(0%, 13.5%, 64.1%, 12.5%)
CIE-LABlab(78.70, -2.02, 59.06)
CIE-LCHlch(78.70, 59.09, 91.96°)
OKLaboklab(81.58% -0.0101 0.1344)
OKLCHoklch(81.58% 0.135 94.3)
XYZxyz(50.9517, 54.4097, 15.4062)
Luminance0.5441 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC150 #506EDF
analogous
#DF7A50 #DFC150 #B5DF50
triadic
#DFC150 #50DFC1 #C150DF
tetradic
#DFC150 #50DF7A #506EDF #DF50B5
square
#DFC150 #50DF7A #506EDF #DF50B5
split-complementary
#DFC150 #50B5DF #7A50DF
monochromatic
#997F1C #CCA925 #DFC150 #E8D384 #F2E6B7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DFC150#FFFFFF#000000##000000
##DFC1501.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)
#D4BD43
Deuteranopia (green-blind)
#DBC755
Tritanopia (blue-blind)
#F0B3A9
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #dfc150;
/* rgb */ color: rgb(223, 193, 80);
/* oklch */ color: oklch(81.6% 0.135 94.3);
Tailwind
colors: {
  custom: {
    50: '#ecd386',
    500: '#dfc150',
    950: '#000000',
  },
}
SCSS
$custom: #dfc150;
$custom-light: #ecd386;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc150",
  "rgb": {
    "r": 223,
    "g": 193,
    "b": 80
  },
  "hsl": {
    "h": 47.413,
    "s": 69.082,
    "l": 59.412
  },
  "oklch": {
    "l": 0.81576,
    "c": 0.13479,
    "h": 94.3
  },
  "luminance": 0.54407
}

Semantic roles & 50–950 ramp

primary
#DFC150
secondary
#374C9D
accent
#61EC3C
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DFC150

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

Preview Lab → · Contrast checker → · Palette generator →

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