#DFCA7B#DFCA7B

#DFCA7B is a very light, moderate yellow. Relative luminance 0.594; OKLCH L 83.9% C 0.102 H 95.0°. Best body text is #000000 at 12.87:1 contrast (WCAG AA passes).

Color values

HEX#DFCA7B
RGBrgb(223, 202, 123)
HSLhsl(47, 61%, 68%)
HSVhsv(47, 45%, 87%)
CMYKcmyk(0%, 9.4%, 44.8%, 12.5%)
CIE-LABlab(81.49, -3.23, 41.99)
CIE-LCHlch(81.49, 42.11, 94.40°)
OKLaboklab(83.94% -0.0088 0.1016)
OKLCHoklch(83.94% 0.102 95)
XYZxyz(55.1286, 59.3612, 27.2890)
Luminance0.5936 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFCA7B #7B90DF
analogous
#DF987B #DFCA7B #C2DF7B
triadic
#DFCA7B #7BDFCA #CA7BDF
tetradic
#DFCA7B #7BDF98 #7B90DF #DF7BC2
square
#DFCA7B #7BDF98 #7B90DF #DF7BC2
split-complementary
#DFCA7B #7BC2DF #987BDF
monochromatic
#B4972C #D3B64A #DFCA7B #EBDEAC #F7F2DE

Accessibility & contrast

On white

1.63
#DFCA7B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.87
#DFCA7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFCA7B
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFCA7B#FFFFFF#000000##000000
##DFCA7B1.001.6312.8712.87
#FFFFFF1.631.0021.0021.00
#00000012.8721.001.001.00
##00000012.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C775
Deuteranopia (green-blind)
#DFCD7E
Tritanopia (blue-blind)
#EDBFB7
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #dfca7b;
/* rgb */ color: rgb(223, 202, 123);
/* oklch */ color: oklch(83.9% 0.102 95.0);
Tailwind
colors: {
  custom: {
    50: '#ebd9a2',
    500: '#dfca7b',
    950: '#000000',
  },
}
SCSS
$custom: #dfca7b;
$custom-light: #ebd9a2;
$custom-dark: #000000;
JSON
{
  "hex": "#dfca7b",
  "rgb": {
    "r": 223,
    "g": 202,
    "b": 123
  },
  "hsl": {
    "h": 47.4,
    "s": 60.976,
    "l": 67.843
  },
  "oklch": {
    "l": 0.83935,
    "c": 0.10196,
    "h": 95
  },
  "luminance": 0.59359
}

Semantic roles & 50–950 ramp

primary
#DFCA7B
secondary
#4960B5
accent
#41C91D
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#16140F
muted
#858380

Preview Lab

Preview with #DFCA7B

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

Preview Lab → · Contrast checker → · Palette generator →

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