#DFCB5F#DFCB5F

#DFCB5F is a very light, vivid yellow. Relative luminance 0.592; OKLCH L 83.8% C 0.130 H 98.9°. Best body text is #000000 at 12.85:1 contrast (WCAG AA passes).

Color values

HEX#DFCB5F
RGBrgb(223, 203, 95)
HSLhsl(51, 67%, 62%)
HSVhsv(51, 57%, 87%)
CMYKcmyk(0%, 9%, 57.4%, 12.5%)
CIE-LABlab(81.42, -6.16, 55.38)
CIE-LCHlch(81.42, 55.72, 96.34°)
OKLaboklab(83.77% -0.0202 0.1286)
OKLCHoklch(83.77% 0.13 98.9)
XYZxyz(53.8549, 59.2283, 19.4197)
Luminance0.5923 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFCB5F #5F73DF
analogous
#DF8B5F #DFCB5F #B3DF5F
triadic
#DFCB5F #5FDFCB #CB5FDF
tetradic
#DFCB5F #5FDF8B #5F73DF #DF5FB3
square
#DFCB5F #5FDF8B #5F73DF #DF5FB3
split-complementary
#DFCB5F #5FB3DF #8B5FDF
monochromatic
#A38F21 #D5BA2C #DFCB5F #E9DC92 #F3ECC5

Accessibility & contrast

On white

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

On black

12.85
#DFCB5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFCB5F
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFCB5F#FFFFFF#000000##000000
##DFCB5F1.001.6312.8512.85
#FFFFFF1.631.0021.0021.00
#00000012.8521.001.001.00
##00000012.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC654
Deuteranopia (green-blind)
#E2CD64
Tritanopia (blue-blind)
#EFBEB3
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #dfcb5f;
/* rgb */ color: rgb(223, 203, 95);
/* oklch */ color: oklch(83.8% 0.130 98.9);
Tailwind
colors: {
  custom: {
    50: '#ecda90',
    500: '#dfcb5f',
    950: '#000000',
  },
}
SCSS
$custom: #dfcb5f;
$custom-light: #ecda90;
$custom-dark: #000000;
JSON
{
  "hex": "#dfcb5f",
  "rgb": {
    "r": 223,
    "g": 203,
    "b": 95
  },
  "hsl": {
    "h": 50.625,
    "s": 66.667,
    "l": 62.353
  },
  "oklch": {
    "l": 0.83771,
    "c": 0.13013,
    "h": 98.9
  },
  "luminance": 0.59226
}

Semantic roles & 50–950 ramp

primary
#DFCB5F
secondary
#3C4DA6
accent
#34CF17
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #DFCB5F

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

Preview Lab → · Contrast checker → · Palette generator →

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