#DFC762#DFC762

#DFC762 is a very light, vivid yellow. Relative luminance 0.574; OKLCH L 83.0% C 0.124 H 96.2°. Best body text is #000000 at 12.48:1 contrast (WCAG AA passes).

Color values

HEX#DFC762
RGBrgb(223, 199, 98)
HSLhsl(48, 66%, 63%)
HSVhsv(48, 56%, 87%)
CMYKcmyk(0%, 10.8%, 56.1%, 12.5%)
CIE-LABlab(80.41, -3.88, 52.85)
CIE-LCHlch(80.41, 52.99, 94.20°)
OKLaboklab(82.99% -0.0133 0.1234)
OKLCHoklch(82.99% 0.124 96.2)
XYZxyz(53.0615, 57.4190, 19.8409)
Luminance0.5742 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC762 #627ADF
analogous
#DF8862 #DFC762 #B8DF62
triadic
#DFC762 #62DFC7 #C762DF
tetradic
#DFC762 #62DF88 #627ADF #DF62B8
square
#DFC762 #62DF88 #627ADF #DF62B8
split-complementary
#DFC762 #62B8DF #8862DF
monochromatic
#A58C22 #D5B52F #DFC762 #E9D995 #F4EBC8

Accessibility & contrast

On white

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

On black

12.48
#DFC762 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFC762
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFC762#FFFFFF#000000##000000
##DFC7621.001.6812.4812.48
#FFFFFF1.681.0021.0021.00
#00000012.4821.001.001.00
##00000012.4821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dfc762;
/* rgb */ color: rgb(223, 199, 98);
/* oklch */ color: oklch(83.0% 0.124 96.2);
Tailwind
colors: {
  custom: {
    50: '#ecd791',
    500: '#dfc762',
    950: '#000000',
  },
}
SCSS
$custom: #dfc762;
$custom-light: #ecd791;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc762",
  "rgb": {
    "r": 223,
    "g": 199,
    "b": 98
  },
  "hsl": {
    "h": 48.48,
    "s": 66.138,
    "l": 62.941
  },
  "oklch": {
    "l": 0.82987,
    "c": 0.12415,
    "h": 96.2
  },
  "luminance": 0.57417
}

Semantic roles & 50–950 ramp

primary
#DFC762
secondary
#3E52A8
accent
#3BCE17
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #DFC762

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

Preview Lab → · Contrast checker → · Palette generator →

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