#DFCA6B#DFCA6B

#DFCA6B is a very light, moderate yellow. Relative luminance 0.590; OKLCH L 83.7% C 0.118 H 97.1°. Best body text is #000000 at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#DFCA6B
RGBrgb(223, 202, 107)
HSLhsl(49, 64%, 65%)
HSVhsv(49, 52%, 87%)
CMYKcmyk(0%, 9.4%, 52%, 12.5%)
CIE-LABlab(81.29, -4.70, 49.60)
CIE-LCHlch(81.29, 49.83, 95.41°)
OKLaboklab(83.71% -0.0147 0.1173)
OKLCHoklch(83.71% 0.118 97.1)
XYZxyz(54.2076, 58.9928, 22.4384)
Luminance0.5899 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFCA6B #6B80DF
analogous
#DF906B #DFCA6B #BADF6B
triadic
#DFCA6B #6BDFCA #CA6BDF
tetradic
#DFCA6B #6BDF90 #6B80DF #DF6BBA
square
#DFCA6B #6BDF90 #6B80DF #DF6BBA
split-complementary
#DFCA6B #6BBADF #906BDF
monochromatic
#AB9225 #D4B839 #DFCA6B #EADC9D #F5EED0

Accessibility & contrast

On white

1.64
#DFCA6B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.80
#DFCA6B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFCA6B
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFCA6B#FFFFFF#000000##000000
##DFCA6B1.001.6412.8012.80
#FFFFFF1.641.0021.0021.00
#00000012.8021.001.001.00
##00000012.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC662
Deuteranopia (green-blind)
#E0CD6F
Tritanopia (blue-blind)
#EEBEB4
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #dfca6b;
/* rgb */ color: rgb(223, 202, 107);
/* oklch */ color: oklch(83.7% 0.118 97.1);
Tailwind
colors: {
  custom: {
    50: '#ebd998',
    500: '#dfca6b',
    950: '#000000',
  },
}
SCSS
$custom: #dfca6b;
$custom-light: #ebd998;
$custom-dark: #000000;
JSON
{
  "hex": "#dfca6b",
  "rgb": {
    "r": 223,
    "g": 202,
    "b": 107
  },
  "hsl": {
    "h": 49.138,
    "s": 64.444,
    "l": 64.706
  },
  "oklch": {
    "l": 0.8371,
    "c": 0.1182,
    "h": 97.1
  },
  "luminance": 0.58991
}

Semantic roles & 50–950 ramp

primary
#DFCA6B
secondary
#4155AD
accent
#3ACC19
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#16140E
muted
#85837F

Preview Lab

Preview with #DFCA6B

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

Preview Lab → · Contrast checker → · Palette generator →

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