#DFC862#DFC862

#DFC862 is a very light, vivid yellow. Relative luminance 0.579; OKLCH L 83.2% C 0.125 H 96.8°. Best body text is #000000 at 12.58:1 contrast (WCAG AA passes).

Color values

HEX#DFC862
RGBrgb(223, 200, 98)
HSLhsl(49, 66%, 63%)
HSVhsv(49, 56%, 87%)
CMYKcmyk(0%, 10.3%, 56.1%, 12.5%)
CIE-LABlab(80.67, -4.39, 53.14)
CIE-LCHlch(80.67, 53.32, 94.73°)
OKLaboklab(83.19% -0.0148 0.1241)
OKLCHoklch(83.19% 0.125 96.8)
XYZxyz(53.2923, 57.8807, 19.9179)
Luminance0.5788 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC862 #6279DF
analogous
#DF8962 #DFC862 #B7DF62
triadic
#DFC862 #62DFC8 #C862DF
tetradic
#DFC862 #62DF89 #6279DF #DF62B7
square
#DFC862 #62DF89 #6279DF #DF62B7
split-complementary
#DFC862 #62B7DF #8962DF
monochromatic
#A58D22 #D5B62F #DFC862 #E9DA95 #F4ECC8

Accessibility & contrast

On white

1.67
#DFC862 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.58
#DFC862 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFC862
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFC862#FFFFFF#000000##000000
##DFC8621.001.6712.5812.58
#FFFFFF1.671.0021.0021.00
#00000012.5821.001.001.00
##00000012.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C458
Deuteranopia (green-blind)
#DFCC67
Tritanopia (blue-blind)
#EFBBB1
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #dfc862;
/* rgb */ color: rgb(223, 200, 98);
/* oklch */ color: oklch(83.2% 0.125 96.8);
Tailwind
colors: {
  custom: {
    50: '#ecd892',
    500: '#dfc862',
    950: '#000000',
  },
}
SCSS
$custom: #dfc862;
$custom-light: #ecd892;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc862",
  "rgb": {
    "r": 223,
    "g": 200,
    "b": 98
  },
  "hsl": {
    "h": 48.96,
    "s": 66.138,
    "l": 62.941
  },
  "oklch": {
    "l": 0.83191,
    "c": 0.12495,
    "h": 96.8
  },
  "luminance": 0.57878
}

Semantic roles & 50–950 ramp

primary
#DFC862
secondary
#3E51A8
accent
#39CE17
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #DFC862

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

Preview Lab → · Contrast checker → · Palette generator →

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