#DFC15B#DFC15B

#DFC15B is a light, vivid yellow. Relative luminance 0.546; OKLCH L 81.7% C 0.126 H 93.0°. Best body text is #000000 at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#DFC15B
RGBrgb(223, 193, 91)
HSLhsl(46, 67%, 62%)
HSVhsv(46, 59%, 87%)
CMYKcmyk(0%, 13.5%, 59.2%, 12.5%)
CIE-LABlab(78.80, -1.29, 54.25)
CIE-LCHlch(78.80, 54.26, 91.36°)
OKLaboklab(81.69% -0.0067 0.1256)
OKLCHoklch(81.69% 0.126 93)
XYZxyz(51.3920, 54.5858, 17.7246)
Luminance0.5458 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC15B #5B79DF
analogous
#DF7F5B #DFC15B #BBDF5B
triadic
#DFC15B #5BDFC1 #C15BDF
tetradic
#DFC15B #5BDF7F #5B79DF #DF5BBB
square
#DFC15B #5BDF7F #5B79DF #DF5BBB
split-complementary
#DFC15B #5BBBDF #7F5BDF
monochromatic
#A0831F #D4AD29 #DFC15B #E9D48E #F3E8C1

Accessibility & contrast

On white

1.76
#DFC15B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.92
#DFC15B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFC15B
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFC15B#FFFFFF#000000##000000
##DFC15B1.001.7611.9211.92
#FFFFFF1.761.0021.0021.00
#00000011.9221.001.001.00
##00000011.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BE51
Deuteranopia (green-blind)
#DBC75F
Tritanopia (blue-blind)
#EFB4AA
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #dfc15b;
/* rgb */ color: rgb(223, 193, 91);
/* oklch */ color: oklch(81.7% 0.126 93.0);
Tailwind
colors: {
  custom: {
    50: '#ecd38d',
    500: '#dfc15b',
    950: '#000000',
  },
}
SCSS
$custom: #dfc15b;
$custom-light: #ecd38d;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc15b",
  "rgb": {
    "r": 223,
    "g": 193,
    "b": 91
  },
  "hsl": {
    "h": 46.364,
    "s": 67.347,
    "l": 61.569
  },
  "oklch": {
    "l": 0.81689,
    "c": 0.12582,
    "h": 93
  },
  "luminance": 0.54583
}

Semantic roles & 50–950 ramp

primary
#DFC15B
secondary
#3B53A3
accent
#40CF16
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DFC15B

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

Preview Lab → · Contrast checker → · Palette generator →

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