#DFC868#DFC868

#DFC868 is a very light, moderate yellow. Relative luminance 0.580; OKLCH L 83.3% C 0.119 H 96.1°. Best body text is #000000 at 12.60:1 contrast (WCAG AA passes).

Color values

HEX#DFC868
RGBrgb(223, 200, 104)
HSLhsl(48, 65%, 64%)
HSVhsv(48, 53%, 87%)
CMYKcmyk(0%, 10.3%, 53.4%, 12.5%)
CIE-LABlab(80.74, -3.92, 50.39)
CIE-LCHlch(80.74, 50.54, 94.45°)
OKLaboklab(83.26% -0.0128 0.1187)
OKLCHoklch(83.26% 0.119 96.1)
XYZxyz(53.5863, 57.9983, 21.4662)
Luminance0.5800 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC868 #687FDF
analogous
#DF8D68 #DFC868 #BBDF68
triadic
#DFC868 #68DFC8 #C868DF
tetradic
#DFC868 #68DF8D #687FDF #DF68BB
square
#DFC868 #68DF8D #687FDF #DF68BB
split-complementary
#DFC868 #68BBDF #8D68DF
monochromatic
#A98F24 #D4B636 #DFC868 #EADA9B #F4EDCD

Accessibility & contrast

On white

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

On black

12.60
#DFC868 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFC868
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFC868#FFFFFF#000000##000000
##DFC8681.001.6712.6012.60
#FFFFFF1.671.0021.0021.00
#00000012.6021.001.001.00
##00000012.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C45F
Deuteranopia (green-blind)
#DFCC6C
Tritanopia (blue-blind)
#EEBCB2
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #dfc868;
/* rgb */ color: rgb(223, 200, 104);
/* oklch */ color: oklch(83.3% 0.119 96.1);
Tailwind
colors: {
  custom: {
    50: '#ebd895',
    500: '#dfc868',
    950: '#000000',
  },
}
SCSS
$custom: #dfc868;
$custom-light: #ebd895;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc868",
  "rgb": {
    "r": 223,
    "g": 200,
    "b": 104
  },
  "hsl": {
    "h": 48.403,
    "s": 65.027,
    "l": 64.118
  },
  "oklch": {
    "l": 0.83264,
    "c": 0.11939,
    "h": 96.1
  },
  "luminance": 0.57996
}

Semantic roles & 50–950 ramp

primary
#DFC868
secondary
#4055AB
accent
#3BCD19
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #DFC868

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

Preview Lab → · Contrast checker → · Palette generator →

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