#DFCA5B#DFCA5B

#DFCA5B is a very light, vivid yellow. Relative luminance 0.587; OKLCH L 83.5% C 0.133 H 98.7°. Best body text is #000000 at 12.74:1 contrast (WCAG AA passes).

Color values

HEX#DFCA5B
RGBrgb(223, 202, 91)
HSLhsl(50, 67%, 62%)
HSVhsv(50, 59%, 87%)
CMYKcmyk(0%, 9.4%, 59.2%, 12.5%)
CIE-LABlab(81.12, -5.93, 56.86)
CIE-LCHlch(81.12, 57.17, 95.96°)
OKLaboklab(83.52% -0.02 0.1312)
OKLCHoklch(83.52% 0.133 98.7)
XYZxyz(53.4424, 58.6867, 18.4081)
Luminance0.5868 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFCA5B #5B70DF
analogous
#DF885B #DFCA5B #B2DF5B
triadic
#DFCA5B #5BDFCA #CA5BDF
tetradic
#DFCA5B #5BDF88 #5B70DF #DF5BB2
square
#DFCA5B #5BDF88 #5B70DF #DF5BB2
split-complementary
#DFCA5B #5BB2DF #885BDF
monochromatic
#A08C1F #D4B829 #DFCA5B #E9DB8E #F3EBC1

Accessibility & contrast

On white

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

On black

12.74
#DFCA5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFCA5B
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFCA5B#FFFFFF#000000##000000
##DFCA5B1.001.6512.7412.74
#FFFFFF1.651.0021.0021.00
#00000012.7421.001.001.00
##00000012.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC54F
Deuteranopia (green-blind)
#E1CD60
Tritanopia (blue-blind)
#EFBDB2
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #dfca5b;
/* rgb */ color: rgb(223, 202, 91);
/* oklch */ color: oklch(83.5% 0.133 98.7);
Tailwind
colors: {
  custom: {
    50: '#ecd98d',
    500: '#dfca5b',
    950: '#000000',
  },
}
SCSS
$custom: #dfca5b;
$custom-light: #ecd98d;
$custom-dark: #000000;
JSON
{
  "hex": "#dfca5b",
  "rgb": {
    "r": 223,
    "g": 202,
    "b": 91
  },
  "hsl": {
    "h": 50.455,
    "s": 67.347,
    "l": 61.569
  },
  "oklch": {
    "l": 0.83522,
    "c": 0.13275,
    "h": 98.7
  },
  "luminance": 0.58684
}

Semantic roles & 50–950 ramp

primary
#DFCA5B
secondary
#3B4BA3
accent
#34CF16
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DFCA5B

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

Preview Lab → · Contrast checker → · Palette generator →

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