#DFBA41#DFBA41

#DFBA41 is a light, vivid yellow. Relative luminance 0.512; OKLCH L 80.0% C 0.141 H 91.5°. Best body text is #000000 at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#DFBA41
RGBrgb(223, 186, 65)
HSLhsl(46, 71%, 56%)
HSVhsv(46, 71%, 87%)
CMYKcmyk(0%, 16.6%, 70.9%, 12.5%)
CIE-LABlab(76.79, 0.80, 63.30)
CIE-LCHlch(76.79, 63.31, 89.28°)
OKLaboklab(80.03% -0.0037 0.1409)
OKLCHoklch(80.03% 0.141 91.5)
XYZxyz(48.9471, 51.1903, 12.3026)
Luminance0.5119 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFBA41 #4166DF
analogous
#DF6B41 #DFBA41 #B5DF41
triadic
#DFBA41 #41DFBA #BA41DF
tetradic
#DFBA41 #41DF6B #4166DF #DF41B5
square
#DFBA41 #41DF6B #4166DF #DF41B5
split-complementary
#DFBA41 #41B5DF #6B41DF
monochromatic
#8E7218 #C29C21 #DFBA41 #E8CD75 #F1E0AA

Accessibility & contrast

On white

1.87
#DFBA41 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.24
#DFBA41 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFBA41
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFBA41#FFFFFF#000000##000000
##DFBA411.001.8711.2411.24
#FFFFFF1.871.0021.0021.00
#00000011.2421.001.001.00
##00000011.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB730
Deuteranopia (green-blind)
#D7C247
Tritanopia (blue-blind)
#F1ABA2
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #dfba41;
/* rgb */ color: rgb(223, 186, 65);
/* oklch */ color: oklch(80.0% 0.141 91.5);
Tailwind
colors: {
  custom: {
    50: '#edce7d',
    500: '#dfba41',
    950: '#000000',
  },
}
SCSS
$custom: #dfba41;
$custom-light: #edce7d;
$custom-dark: #000000;
JSON
{
  "hex": "#dfba41",
  "rgb": {
    "r": 223,
    "g": 186,
    "b": 65
  },
  "hsl": {
    "h": 45.949,
    "s": 71.171,
    "l": 56.471
  },
  "oklch": {
    "l": 0.80033,
    "c": 0.14097,
    "h": 91.5
  },
  "luminance": 0.51187
}

Semantic roles & 50–950 ramp

primary
#DFBA41
secondary
#314893
accent
#64EE3A
background
#FFFEFB
surface
#FEFAF2
border
#D6D3CC
text
#17130A
muted
#85837D

Preview Lab

Preview with #DFBA41

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

Preview Lab → · Contrast checker → · Palette generator →

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