#DFC062#DFC062

#DFC062 is a light, moderate yellow. Relative luminance 0.543; OKLCH L 81.6% C 0.119 H 91.4°. Best body text is #000000 at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#DFC062
RGBrgb(223, 192, 98)
HSLhsl(45, 66%, 63%)
HSVhsv(45, 56%, 87%)
CMYKcmyk(0%, 13.9%, 56.1%, 12.5%)
CIE-LABlab(78.62, -0.25, 50.76)
CIE-LCHlch(78.62, 50.76, 90.28°)
OKLaboklab(81.57% -0.0028 0.1189)
OKLCHoklch(81.57% 0.119 91.4)
XYZxyz(51.4878, 54.2716, 19.3164)
Luminance0.5427 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC062 #6281DF
analogous
#DF8162 #DFC062 #BFDF62
triadic
#DFC062 #62DFC0 #C062DF
tetradic
#DFC062 #62DF81 #6281DF #DF62BF
square
#DFC062 #62DF81 #6281DF #DF62BF
split-complementary
#DFC062 #62BFDF #8162DF
monochromatic
#A58422 #D5AC2F #DFC062 #E9D495 #F4E9C8

Accessibility & contrast

On white

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

On black

11.85
#DFC062 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFC062
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFC062#FFFFFF#000000##000000
##DFC0621.001.7711.8511.85
#FFFFFF1.771.0021.0021.00
#00000011.8521.001.001.00
##00000011.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BD59
Deuteranopia (green-blind)
#D9C666
Tritanopia (blue-blind)
#EFB3AB
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #dfc062;
/* rgb */ color: rgb(223, 192, 98);
/* oklch */ color: oklch(81.6% 0.119 91.4);
Tailwind
colors: {
  custom: {
    50: '#ecd291',
    500: '#dfc062',
    950: '#000000',
  },
}
SCSS
$custom: #dfc062;
$custom-light: #ecd291;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc062",
  "rgb": {
    "r": 223,
    "g": 192,
    "b": 98
  },
  "hsl": {
    "h": 45.12,
    "s": 66.138,
    "l": 62.941
  },
  "oklch": {
    "l": 0.81569,
    "c": 0.11894,
    "h": 91.4
  },
  "luminance": 0.54269
}

Semantic roles & 50–950 ramp

primary
#DFC062
secondary
#3E58A8
accent
#45CE17
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #DFC062

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

Preview Lab → · Contrast checker → · Palette generator →

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