#DFC75D#DFC75D

#DFC75D is a very light, vivid yellow. Relative luminance 0.573; OKLCH L 82.9% C 0.129 H 96.7°. Best body text is #000000 at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#DFC75D
RGBrgb(223, 199, 93)
HSLhsl(49, 67%, 62%)
HSVhsv(49, 58%, 87%)
CMYKcmyk(0%, 10.8%, 58.3%, 12.5%)
CIE-LABlab(80.36, -4.25, 55.10)
CIE-LCHlch(80.36, 55.26, 94.41°)
OKLaboklab(82.93% -0.015 0.1277)
OKLCHoklch(82.93% 0.129 96.7)
XYZxyz(52.8327, 57.3275, 18.6362)
Luminance0.5733 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC75D #5D75DF
analogous
#DF865D #DFC75D #B6DF5D
triadic
#DFC75D #5DDFC7 #C75DDF
tetradic
#DFC75D #5DDF86 #5D75DF #DF5DB6
square
#DFC75D #5DDF86 #5D75DF #DF5DB6
split-complementary
#DFC75D #5DB6DF #865DDF
monochromatic
#A28A20 #D5B52A #DFC75D #E9D990 #F3EAC3

Accessibility & contrast

On white

1.68
#DFC75D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.47
#DFC75D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFC75D
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFC75D#FFFFFF#000000##000000
##DFC75D1.001.6812.4712.47
#FFFFFF1.681.0021.0021.00
#00000012.4721.001.001.00
##00000012.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C352
Deuteranopia (green-blind)
#DFCB62
Tritanopia (blue-blind)
#EFBAB0
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #dfc75d;
/* rgb */ color: rgb(223, 199, 93);
/* oklch */ color: oklch(82.9% 0.129 96.7);
Tailwind
colors: {
  custom: {
    50: '#ecd78e',
    500: '#dfc75d',
    950: '#000000',
  },
}
SCSS
$custom: #dfc75d;
$custom-light: #ecd78e;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc75d",
  "rgb": {
    "r": 223,
    "g": 199,
    "b": 93
  },
  "hsl": {
    "h": 48.923,
    "s": 67.01,
    "l": 61.961
  },
  "oklch": {
    "l": 0.8293,
    "c": 0.12859,
    "h": 96.7
  },
  "luminance": 0.57325
}

Semantic roles & 50–950 ramp

primary
#DFC75D
secondary
#3C4FA5
accent
#39CF17
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #DFC75D

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

Preview Lab → · Contrast checker → · Palette generator →

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