#DFC76B#DFC76B

#DFC76B is a very light, moderate yellow. Relative luminance 0.576; OKLCH L 83.1% C 0.116 H 95.1°. Best body text is #000000 at 12.52:1 contrast (WCAG AA passes).

Color values

HEX#DFC76B
RGBrgb(223, 199, 107)
HSLhsl(48, 64%, 65%)
HSVhsv(48, 52%, 87%)
CMYKcmyk(0%, 10.8%, 52%, 12.5%)
CIE-LABlab(80.52, -3.15, 48.68)
CIE-LCHlch(80.52, 48.78, 93.71°)
OKLaboklab(83.1% -0.0102 0.1153)
OKLCHoklch(83.1% 0.116 95.1)
XYZxyz(53.5106, 57.5986, 22.2061)
Luminance0.5760 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC76B #6B83DF
analogous
#DF8D6B #DFC76B #BDDF6B
triadic
#DFC76B #6BDFC7 #C76BDF
tetradic
#DFC76B #6BDF8D #6B83DF #DF6BBD
square
#DFC76B #6BDF8D #6B83DF #DF6BBD
split-complementary
#DFC76B #6BBDDF #8D6BDF
monochromatic
#AB8F25 #D4B439 #DFC76B #EADA9D #F5EDD0

Accessibility & contrast

On white

1.68
#DFC76B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.52
#DFC76B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFC76B
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFC76B#FFFFFF#000000##000000
##DFC76B1.001.6812.5212.52
#FFFFFF1.681.0021.0021.00
#00000012.5221.001.001.00
##00000012.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C363
Deuteranopia (green-blind)
#DECB6F
Tritanopia (blue-blind)
#EEBBB2
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #dfc76b;
/* rgb */ color: rgb(223, 199, 107);
/* oklch */ color: oklch(83.1% 0.116 95.1);
Tailwind
colors: {
  custom: {
    50: '#ebd797',
    500: '#dfc76b',
    950: '#000000',
  },
}
SCSS
$custom: #dfc76b;
$custom-light: #ebd797;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc76b",
  "rgb": {
    "r": 223,
    "g": 199,
    "b": 107
  },
  "hsl": {
    "h": 47.586,
    "s": 64.444,
    "l": 64.706
  },
  "oklch": {
    "l": 0.83099,
    "c": 0.11571,
    "h": 95.1
  },
  "luminance": 0.57596
}

Semantic roles & 50–950 ramp

primary
#DFC76B
secondary
#4158AD
accent
#3ECC19
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#16140E
muted
#85837F

Preview Lab

Preview with #DFC76B

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

Preview Lab → · Contrast checker → · Palette generator →

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