#DFC262#DFC262

#DFC262 is a light, vivid yellow. Relative luminance 0.552; OKLCH L 82.0% C 0.120 H 92.8°. Best body text is #000000 at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#DFC262
RGBrgb(223, 194, 98)
HSLhsl(46, 66%, 63%)
HSVhsv(46, 56%, 87%)
CMYKcmyk(0%, 13%, 56.1%, 12.5%)
CIE-LABlab(79.13, -1.29, 51.35)
CIE-LCHlch(79.13, 51.37, 91.44°)
OKLaboklab(81.97% -0.0059 0.1202)
OKLCHoklch(81.97% 0.12 92.8)
XYZxyz(51.9299, 55.1559, 19.4637)
Luminance0.5515 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC262 #627FDF
analogous
#DF8362 #DFC262 #BDDF62
triadic
#DFC262 #62DFC2 #C262DF
tetradic
#DFC262 #62DF83 #627FDF #DF62BD
square
#DFC262 #62DF83 #627FDF #DF62BD
split-complementary
#DFC262 #62BDDF #8362DF
monochromatic
#A58722 #D5AE2F #DFC262 #E9D695 #F4EAC8

Accessibility & contrast

On white

1.75
#DFC262 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.03
#DFC262 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFC262
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFC262#FFFFFF#000000##000000
##DFC2621.001.7512.0312.03
#FFFFFF1.751.0021.0021.00
#00000012.0321.001.001.00
##00000012.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BF59
Deuteranopia (green-blind)
#DBC866
Tritanopia (blue-blind)
#EFB5AC
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #dfc262;
/* rgb */ color: rgb(223, 194, 98);
/* oklch */ color: oklch(82.0% 0.120 92.8);
Tailwind
colors: {
  custom: {
    50: '#ecd491',
    500: '#dfc262',
    950: '#000000',
  },
}
SCSS
$custom: #dfc262;
$custom-light: #ecd491;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc262",
  "rgb": {
    "r": 223,
    "g": 194,
    "b": 98
  },
  "hsl": {
    "h": 46.08,
    "s": 66.138,
    "l": 62.941
  },
  "oklch": {
    "l": 0.81972,
    "c": 0.12035,
    "h": 92.8
  },
  "luminance": 0.55153
}

Semantic roles & 50–950 ramp

primary
#DFC262
secondary
#3E56A8
accent
#42CE17
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #DFC262

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

Preview Lab → · Contrast checker → · Palette generator →

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