#DFBA34#DFBA34

#DFBA34 is a light, vivid yellow. Relative luminance 0.511; OKLCH L 79.9% C 0.149 H 92.6°. Best body text is #000000 at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#DFBA34
RGBrgb(223, 186, 52)
HSLhsl(47, 73%, 54%)
HSVhsv(47, 77%, 87%)
CMYKcmyk(0%, 16.6%, 76.7%, 12.5%)
CIE-LABlab(76.71, 0.23, 68.01)
CIE-LCHlch(76.71, 68.01, 89.80°)
OKLaboklab(79.94% -0.0067 0.1484)
OKLCHoklch(79.94% 0.149 92.6)
XYZxyz(48.6129, 51.0567, 10.5426)
Luminance0.5105 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFBA34 #3459DF
analogous
#DF6534 #DFBA34 #AEDF34
triadic
#DFBA34 #34DFBA #BA34DF
tetradic
#DFBA34 #34DF65 #3459DF #DF34AE
square
#DFBA34 #34DF65 #3459DF #DF34AE
split-complementary
#DFBA34 #34AEDF #6534DF
monochromatic
#846C15 #B9971D #DFBA34 #E7CC69 #F0DE9E

Accessibility & contrast

On white

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

On black

11.21
#DFBA34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFBA34
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFBA34#FFFFFF#000000##000000
##DFBA341.001.8711.2111.21
#FFFFFF1.871.0021.0021.00
#00000011.2121.001.001.00
##00000011.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB719
Deuteranopia (green-blind)
#D8C23C
Tritanopia (blue-blind)
#F1AAA0
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #dfba34;
/* rgb */ color: rgb(223, 186, 52);
/* oklch */ color: oklch(79.9% 0.149 92.6);
Tailwind
colors: {
  custom: {
    50: '#eece76',
    500: '#dfba34',
    950: '#000000',
  },
}
SCSS
$custom: #dfba34;
$custom-light: #eece76;
$custom-dark: #000000;
JSON
{
  "hex": "#dfba34",
  "rgb": {
    "r": 223,
    "g": 186,
    "b": 52
  },
  "hsl": {
    "h": 47.018,
    "s": 72.766,
    "l": 53.922
  },
  "oklch": {
    "l": 0.79943,
    "c": 0.14859,
    "h": 92.6
  },
  "luminance": 0.51054
}

Semantic roles & 50–950 ramp

primary
#DFBA34
secondary
#2D418A
accent
#60EF38
background
#FFFEFB
surface
#FFFAF1
border
#D7D3CB
text
#171309
muted
#85837D

Preview Lab

Preview with #DFBA34

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

Preview Lab → · Contrast checker → · Palette generator →

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