#DFCA4D#DFCA4D

#DFCA4D is a very light, vivid yellow. Relative luminance 0.585; OKLCH L 83.4% C 0.144 H 99.7°. Best body text is #000000 at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#DFCA4D
RGBrgb(223, 202, 77)
HSLhsl(51, 70%, 59%)
HSVhsv(51, 65%, 87%)
CMYKcmyk(0%, 9.4%, 65.5%, 12.5%)
CIE-LABlab(81.00, -6.83, 62.77)
CIE-LCHlch(81.00, 63.14, 96.21°)
OKLaboklab(83.39% -0.0242 0.1418)
OKLCHoklch(83.39% 0.144 99.7)
XYZxyz(52.8938, 58.4672, 15.5189)
Luminance0.5847 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFCA4D #4D62DF
analogous
#DF814D #DFCA4D #ABDF4D
triadic
#DFCA4D #4DDFCA #CA4DDF
tetradic
#DFCA4D #4DDF81 #4D62DF #DF4DAB
square
#DFCA4D #4DDF81 #4D62DF #DF4DAB
split-complementary
#DFCA4D #4DABDF #814DDF
monochromatic
#97851B #CAB324 #DFCA4D #E8D981 #F2E9B5

Accessibility & contrast

On white

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

On black

12.69
#DFCA4D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFCA4D
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFCA4D#FFFFFF#000000##000000
##DFCA4D1.001.6512.6912.69
#FFFFFF1.651.0021.0021.00
#00000012.6921.001.001.00
##00000012.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC53D
Deuteranopia (green-blind)
#E2CD54
Tritanopia (blue-blind)
#F0BCB0
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #dfca4d;
/* rgb */ color: rgb(223, 202, 77);
/* oklch */ color: oklch(83.4% 0.144 99.7);
Tailwind
colors: {
  custom: {
    50: '#ecd985',
    500: '#dfca4d',
    950: '#000000',
  },
}
SCSS
$custom: #dfca4d;
$custom-light: #ecd985;
$custom-dark: #000000;
JSON
{
  "hex": "#dfca4d",
  "rgb": {
    "r": 223,
    "g": 202,
    "b": 77
  },
  "hsl": {
    "h": 51.37,
    "s": 69.524,
    "l": 58.824
  },
  "oklch": {
    "l": 0.83387,
    "c": 0.14386,
    "h": 99.7
  },
  "luminance": 0.58465
}

Semantic roles & 50–950 ramp

primary
#DFCA4D
secondary
#35449B
accent
#55EC3B
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DFCA4D

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

Preview Lab → · Contrast checker → · Palette generator →

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