#DFCF5B#DFCF5B

#DFCF5B is a very light, vivid yellow. Relative luminance 0.611; OKLCH L 84.6% C 0.137 H 101.5°. Best body text is #000000 at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#DFCF5B
RGBrgb(223, 207, 91)
HSLhsl(53, 67%, 62%)
HSVhsv(53, 59%, 87%)
CMYKcmyk(0%, 7.2%, 59.2%, 12.5%)
CIE-LABlab(82.42, -8.48, 58.30)
CIE-LCHlch(82.42, 58.92, 98.27°)
OKLaboklab(84.55% -0.0273 0.1343)
OKLCHoklch(84.55% 0.137 101.5)
XYZxyz(54.6346, 61.0711, 18.8055)
Luminance0.6107 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFCF5B #5B6BDF
analogous
#DF8D5B #DFCF5B #ADDF5B
triadic
#DFCF5B #5BDFCF #CF5BDF
tetradic
#DFCF5B #5BDF8D #5B6BDF #DF5BAD
square
#DFCF5B #5BDF8D #5B6BDF #DF5BAD
split-complementary
#DFCF5B #5BADDF #8D5BDF
monochromatic
#A0911F #D4BF29 #DFCF5B #E9DE8E #F3EDC1

Accessibility & contrast

On white

1.59
#DFCF5B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.21
#DFCF5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFCF5B
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFCF5B#FFFFFF#000000##000000
##DFCF5B1.001.5913.2113.21
#FFFFFF1.591.0021.0021.00
#00000013.2121.001.001.00
##00000013.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C94E
Deuteranopia (green-blind)
#E5D061
Tritanopia (blue-blind)
#EFC2B6
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #dfcf5b;
/* rgb */ color: rgb(223, 207, 91);
/* oklch */ color: oklch(84.6% 0.137 101.5);
Tailwind
colors: {
  custom: {
    50: '#ecdd8e',
    500: '#dfcf5b',
    950: '#000000',
  },
}
SCSS
$custom: #dfcf5b;
$custom-light: #ecdd8e;
$custom-dark: #000000;
JSON
{
  "hex": "#dfcf5b",
  "rgb": {
    "r": 223,
    "g": 207,
    "b": 91
  },
  "hsl": {
    "h": 52.727,
    "s": 67.347,
    "l": 61.569
  },
  "oklch": {
    "l": 0.84551,
    "c": 0.13708,
    "h": 101.5
  },
  "luminance": 0.61069
}

Semantic roles & 50–950 ramp

primary
#DFCF5B
secondary
#3B47A3
accent
#2DCF16
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DFCF5B

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

Preview Lab → · Contrast checker → · Palette generator →

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