#DFCA62#DFCA62

#DFCA62 is a very light, vivid yellow. Relative luminance 0.588; OKLCH L 83.6% C 0.127 H 98.1°. Best body text is #000000 at 12.76:1 contrast (WCAG AA passes).

Color values

HEX#DFCA62
RGBrgb(223, 202, 98)
HSLhsl(50, 66%, 63%)
HSVhsv(50, 56%, 87%)
CMYKcmyk(0%, 9.4%, 56.1%, 12.5%)
CIE-LABlab(81.19, -5.42, 53.74)
CIE-LCHlch(81.19, 54.01, 95.76°)
OKLaboklab(83.6% -0.0178 0.1254)
OKLCHoklch(83.6% 0.127 98.1)
XYZxyz(53.7585, 58.8131, 20.0733)
Luminance0.5881 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFCA62 #6277DF
analogous
#DF8B62 #DFCA62 #B5DF62
triadic
#DFCA62 #62DFCA #CA62DF
tetradic
#DFCA62 #62DF8B #6277DF #DF62B5
square
#DFCA62 #62DF8B #6277DF #DF62B5
split-complementary
#DFCA62 #62B5DF #8B62DF
monochromatic
#A58F22 #D5B92F #DFCA62 #E9DB95 #F4ECC8

Accessibility & contrast

On white

1.65
#DFCA62 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.76
#DFCA62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFCA62
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFCA62#FFFFFF#000000##000000
##DFCA621.001.6512.7612.76
#FFFFFF1.651.0021.0021.00
#00000012.7621.001.001.00
##00000012.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC558
Deuteranopia (green-blind)
#E1CD67
Tritanopia (blue-blind)
#EFBDB3
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #dfca62;
/* rgb */ color: rgb(223, 202, 98);
/* oklch */ color: oklch(83.6% 0.127 98.1);
Tailwind
colors: {
  custom: {
    50: '#ecd992',
    500: '#dfca62',
    950: '#000000',
  },
}
SCSS
$custom: #dfca62;
$custom-light: #ecd992;
$custom-dark: #000000;
JSON
{
  "hex": "#dfca62",
  "rgb": {
    "r": 223,
    "g": 202,
    "b": 98
  },
  "hsl": {
    "h": 49.92,
    "s": 66.138,
    "l": 62.941
  },
  "oklch": {
    "l": 0.836,
    "c": 0.12661,
    "h": 98.1
  },
  "luminance": 0.58811
}

Semantic roles & 50–950 ramp

primary
#DFCA62
secondary
#3E4FA8
accent
#36CE17
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #DFCA62

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

Preview Lab → · Contrast checker → · Palette generator →

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