#DFC05B#DFC05B

#DFC05B is a light, vivid yellow. Relative luminance 0.541; OKLCH L 81.5% C 0.125 H 92.4°. Best body text is #000000 at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#DFC05B
RGBrgb(223, 192, 91)
HSLhsl(46, 67%, 62%)
HSVhsv(46, 59%, 87%)
CMYKcmyk(0%, 13.9%, 59.2%, 12.5%)
CIE-LABlab(78.55, -0.77, 53.96)
CIE-LCHlch(78.55, 53.96, 90.82°)
OKLaboklab(81.49% -0.0052 0.125)
OKLCHoklch(81.49% 0.125 92.4)
XYZxyz(51.1716, 54.1452, 17.6512)
Luminance0.5414 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC05B #5B7ADF
analogous
#DF7E5B #DFC05B #BCDF5B
triadic
#DFC05B #5BDFC0 #C05BDF
tetradic
#DFC05B #5BDF7E #5B7ADF #DF5BBC
square
#DFC05B #5BDF7E #5B7ADF #DF5BBC
split-complementary
#DFC05B #5BBCDF #7E5BDF
monochromatic
#A0821F #D4AC29 #DFC05B #E9D48E #F3E7C1

Accessibility & contrast

On white

1.78
#DFC05B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.83
#DFC05B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFC05B
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFC05B#FFFFFF#000000##000000
##DFC05B1.001.7811.8311.83
#FFFFFF1.781.0021.0021.00
#00000011.8321.001.001.00
##00000011.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BD51
Deuteranopia (green-blind)
#DAC65F
Tritanopia (blue-blind)
#F0B3AA
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #dfc05b;
/* rgb */ color: rgb(223, 192, 91);
/* oklch */ color: oklch(81.5% 0.125 92.4);
Tailwind
colors: {
  custom: {
    50: '#ecd28d',
    500: '#dfc05b',
    950: '#000000',
  },
}
SCSS
$custom: #dfc05b;
$custom-light: #ecd28d;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc05b",
  "rgb": {
    "r": 223,
    "g": 192,
    "b": 91
  },
  "hsl": {
    "h": 45.909,
    "s": 67.347,
    "l": 61.569
  },
  "oklch": {
    "l": 0.81487,
    "c": 0.12513,
    "h": 92.4
  },
  "luminance": 0.54143
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DFC05B

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

Preview Lab → · Contrast checker → · Palette generator →

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