#DFBC47#DFBC47

#DFBC47 is a light, vivid yellow. Relative luminance 0.521; OKLCH L 80.5% C 0.138 H 92.1°. Best body text is #000000 at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#DFBC47
RGBrgb(223, 188, 71)
HSLhsl(46, 70%, 58%)
HSVhsv(46, 68%, 87%)
CMYKcmyk(0%, 15.7%, 68.2%, 12.5%)
CIE-LABlab(77.35, 0.06, 61.44)
CIE-LCHlch(77.35, 61.44, 89.94°)
OKLaboklab(80.48% -0.0052 0.138)
OKLCHoklch(80.48% 0.138 92.1)
XYZxyz(49.5545, 52.1122, 13.4085)
Luminance0.5211 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFBC47 #476ADF
analogous
#DF7047 #DFBC47 #B6DF47
triadic
#DFBC47 #47DFBC #BC47DF
tetradic
#DFBC47 #47DF70 #476ADF #DF47B6
square
#DFBC47 #47DF70 #476ADF #DF47B6
split-complementary
#DFBC47 #47B6DF #7047DF
monochromatic
#927619 #C6A122 #DFBC47 #E8CF7B #F1E2AF

Accessibility & contrast

On white

1.84
#DFBC47 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.42
#DFBC47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFBC47
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFBC47#FFFFFF#000000##000000
##DFBC471.001.8411.4211.42
#FFFFFF1.841.0021.0021.00
#00000011.4221.001.001.00
##00000011.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B938
Deuteranopia (green-blind)
#D8C34D
Tritanopia (blue-blind)
#F1ADA4
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #dfbc47;
/* rgb */ color: rgb(223, 188, 71);
/* oklch */ color: oklch(80.5% 0.138 92.1);
Tailwind
colors: {
  custom: {
    50: '#edcf80',
    500: '#dfbc47',
    950: '#000000',
  },
}
SCSS
$custom: #dfbc47;
$custom-light: #edcf80;
$custom-dark: #000000;
JSON
{
  "hex": "#dfbc47",
  "rgb": {
    "r": 223,
    "g": 188,
    "b": 71
  },
  "hsl": {
    "h": 46.184,
    "s": 70.37,
    "l": 57.647
  },
  "oklch": {
    "l": 0.80484,
    "c": 0.13814,
    "h": 92.1
  },
  "luminance": 0.52109
}

Semantic roles & 50–950 ramp

primary
#DFBC47
secondary
#334A97
accent
#64ED3B
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17130B
muted
#85837E

Preview Lab

Preview with #DFBC47

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

Preview Lab → · Contrast checker → · Palette generator →

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