#DFCB5B#DFCB5B

#DFCB5B is a very light, vivid yellow. Relative luminance 0.592; OKLCH L 83.7% C 0.134 H 99.3°. Best body text is #000000 at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#DFCB5B
RGBrgb(223, 203, 91)
HSLhsl(51, 67%, 62%)
HSVhsv(51, 59%, 87%)
CMYKcmyk(0%, 9%, 59.2%, 12.5%)
CIE-LABlab(81.38, -6.44, 57.15)
CIE-LCHlch(81.38, 57.51, 96.43°)
OKLaboklab(83.73% -0.0215 0.1319)
OKLCHoklch(83.73% 0.134 99.3)
XYZxyz(53.6778, 59.1574, 18.4866)
Luminance0.5916 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFCB5B #5B6FDF
analogous
#DF895B #DFCB5B #B1DF5B
triadic
#DFCB5B #5BDFCB #CB5BDF
tetradic
#DFCB5B #5BDF89 #5B6FDF #DF5BB1
square
#DFCB5B #5BDF89 #5B6FDF #DF5BB1
split-complementary
#DFCB5B #5BB1DF #895BDF
monochromatic
#A08D1F #D4BA29 #DFCB5B #E9DB8E #F3EBC1

Accessibility & contrast

On white

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

On black

12.83
#DFCB5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFCB5B
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFCB5B#FFFFFF#000000##000000
##DFCB5B1.001.6412.8312.83
#FFFFFF1.641.0021.0021.00
#00000012.8321.001.001.00
##00000012.8321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dfcb5b;
/* rgb */ color: rgb(223, 203, 91);
/* oklch */ color: oklch(83.7% 0.134 99.3);
Tailwind
colors: {
  custom: {
    50: '#ecda8d',
    500: '#dfcb5b',
    950: '#000000',
  },
}
SCSS
$custom: #dfcb5b;
$custom-light: #ecda8d;
$custom-dark: #000000;
JSON
{
  "hex": "#dfcb5b",
  "rgb": {
    "r": 223,
    "g": 203,
    "b": 91
  },
  "hsl": {
    "h": 50.909,
    "s": 67.347,
    "l": 61.569
  },
  "oklch": {
    "l": 0.83727,
    "c": 0.13359,
    "h": 99.3
  },
  "luminance": 0.59155
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DFCB5B

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

Preview Lab → · Contrast checker → · Palette generator →

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