#DFBB42#DFBB42

#DFBB42 is a light, vivid yellow. Relative luminance 0.516; OKLCH L 80.2% C 0.141 H 92.0°. Best body text is #000000 at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#DFBB42
RGBrgb(223, 187, 66)
HSLhsl(46, 71%, 57%)
HSVhsv(46, 70%, 87%)
CMYKcmyk(0%, 16.1%, 70.4%, 12.5%)
CIE-LABlab(77.06, 0.33, 63.17)
CIE-LCHlch(77.06, 63.17, 89.70°)
OKLaboklab(80.24% -0.005 0.1408)
OKLCHoklch(80.24% 0.141 92)
XYZxyz(49.1878, 51.6248, 12.5270)
Luminance0.5162 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFBB42 #4266DF
analogous
#DF6D42 #DFBB42 #B5DF42
triadic
#DFBB42 #42DFBB #BB42DF
tetradic
#DFBB42 #42DF6D #4266DF #DF42B5
square
#DFBB42 #42DF6D #4266DF #DF42B5
split-complementary
#DFBB42 #42B5DF #6D42DF
monochromatic
#8E7318 #C39E21 #DFBB42 #E8CE76 #F1E1AB

Accessibility & contrast

On white

1.85
#DFBB42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.32
#DFBB42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFBB42
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFBB42#FFFFFF#000000##000000
##DFBB421.001.8511.3211.32
#FFFFFF1.851.0021.0021.00
#00000011.3221.001.001.00
##00000011.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB831
Deuteranopia (green-blind)
#D8C348
Tritanopia (blue-blind)
#F1ACA2
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #dfbb42;
/* rgb */ color: rgb(223, 187, 66);
/* oklch */ color: oklch(80.2% 0.141 92.0);
Tailwind
colors: {
  custom: {
    50: '#edcf7d',
    500: '#dfbb42',
    950: '#000000',
  },
}
SCSS
$custom: #dfbb42;
$custom-light: #edcf7d;
$custom-dark: #000000;
JSON
{
  "hex": "#dfbb42",
  "rgb": {
    "r": 223,
    "g": 187,
    "b": 66
  },
  "hsl": {
    "h": 46.242,
    "s": 71.041,
    "l": 56.667
  },
  "oklch": {
    "l": 0.80242,
    "c": 0.14091,
    "h": 92
  },
  "luminance": 0.51622
}

Semantic roles & 50–950 ramp

primary
#DFBB42
secondary
#324894
accent
#63EE3A
background
#FFFEFB
surface
#FEFAF2
border
#D6D3CC
text
#17130A
muted
#85837D

Preview Lab

Preview with #DFBB42

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

Preview Lab → · Contrast checker → · Palette generator →

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