#DFCF46#DFCF46

#DFCF46 is a very light, vivid yellow. Relative luminance 0.608; OKLCH L 84.4% C 0.153 H 102.6°. Best body text is #000000 at 13.15:1 contrast (WCAG AA passes).

Color values

HEX#DFCF46
RGBrgb(223, 207, 70)
HSLhsl(54, 71%, 57%)
HSVhsv(54, 69%, 87%)
CMYKcmyk(0%, 7.2%, 68.6%, 12.5%)
CIE-LABlab(82.25, -9.75, 66.83)
CIE-LCHlch(82.25, 67.54, 98.30°)
OKLaboklab(84.36% -0.0333 0.1493)
OKLCHoklch(84.36% 0.153 102.6)
XYZxyz(53.8520, 60.7581, 14.6840)
Luminance0.6076 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFCF46 #4656DF
analogous
#DF8246 #DFCF46 #A3DF46
triadic
#DFCF46 #46DFCF #CF46DF
tetradic
#DFCF46 #46DF82 #4656DF #DF46A3
square
#DFCF46 #46DF82 #4656DF #DF46A3
split-complementary
#DFCF46 #46A3DF #8246DF
monochromatic
#918519 #C6B522 #DFCF46 #E8DD7A #F1EAAE

Accessibility & contrast

On white

1.60
#DFCF46 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.15
#DFCF46 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFCF46
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFCF46#FFFFFF#000000##000000
##DFCF461.001.6013.1513.15
#FFFFFF1.601.0021.0021.00
#00000013.1521.001.001.00
##00000013.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C932
Deuteranopia (green-blind)
#E6D04F
Tritanopia (blue-blind)
#F0C1B3
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #dfcf46;
/* rgb */ color: rgb(223, 207, 70);
/* oklch */ color: oklch(84.4% 0.153 102.6);
Tailwind
colors: {
  custom: {
    50: '#eddd81',
    500: '#dfcf46',
    950: '#000000',
  },
}
SCSS
$custom: #dfcf46;
$custom-light: #eddd81;
$custom-dark: #000000;
JSON
{
  "hex": "#dfcf46",
  "rgb": {
    "r": 223,
    "g": 207,
    "b": 70
  },
  "hsl": {
    "h": 53.725,
    "s": 70.507,
    "l": 57.451
  },
  "oklch": {
    "l": 0.84364,
    "c": 0.15292,
    "h": 102.6
  },
  "luminance": 0.60756
}

Semantic roles & 50–950 ramp

primary
#DFCF46
secondary
#333D96
accent
#4DED3B
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17150B
muted
#85847E

Preview Lab

Preview with #DFCF46

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

Preview Lab → · Contrast checker → · Palette generator →

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