#DFC65B#DFC65B

#DFC65B is a very light, vivid yellow. Relative luminance 0.568; OKLCH L 82.7% C 0.130 H 96.3°. Best body text is #000000 at 12.37:1 contrast (WCAG AA passes).

Color values

HEX#DFC65B
RGBrgb(223, 198, 91)
HSLhsl(49, 67%, 62%)
HSVhsv(49, 59%, 87%)
CMYKcmyk(0%, 11.2%, 59.2%, 12.5%)
CIE-LABlab(80.09, -3.88, 55.70)
CIE-LCHlch(80.09, 55.83, 93.98°)
OKLaboklab(82.7% -0.0141 0.1288)
OKLCHoklch(82.7% 0.13 96.3)
XYZxyz(52.5160, 56.8339, 18.0993)
Luminance0.5683 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC65B #5B74DF
analogous
#DF845B #DFC65B #B6DF5B
triadic
#DFC65B #5BDFC6 #C65BDF
tetradic
#DFC65B #5BDF84 #5B74DF #DF5BB6
square
#DFC65B #5BDF84 #5B74DF #DF5BB6
split-complementary
#DFC65B #5BB6DF #845BDF
monochromatic
#A0881F #D4B329 #DFC65B #E9D88E #F3EAC1

Accessibility & contrast

On white

1.70
#DFC65B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.37
#DFC65B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFC65B
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFC65B#FFFFFF#000000##000000
##DFC65B1.001.7012.3712.37
#FFFFFF1.701.0021.0021.00
#00000012.3721.001.001.00
##00000012.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C250
Deuteranopia (green-blind)
#DECA60
Tritanopia (blue-blind)
#EFB9AE
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #dfc65b;
/* rgb */ color: rgb(223, 198, 91);
/* oklch */ color: oklch(82.7% 0.130 96.3);
Tailwind
colors: {
  custom: {
    50: '#ecd78d',
    500: '#dfc65b',
    950: '#000000',
  },
}
SCSS
$custom: #dfc65b;
$custom-light: #ecd78d;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc65b",
  "rgb": {
    "r": 223,
    "g": 198,
    "b": 91
  },
  "hsl": {
    "h": 48.636,
    "s": 67.347,
    "l": 61.569
  },
  "oklch": {
    "l": 0.82704,
    "c": 0.12952,
    "h": 96.3
  },
  "luminance": 0.56831
}

Semantic roles & 50–950 ramp

primary
#DFC65B
secondary
#3B4FA3
accent
#39CF16
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DFC65B

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

Preview Lab → · Contrast checker → · Palette generator →

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