#DFC751#DFC751

#DFC751 is a very light, vivid yellow. Relative luminance 0.571; OKLCH L 82.8% C 0.138 H 97.8°. Best body text is #000000 at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#DFC751
RGBrgb(223, 199, 81)
HSLhsl(50, 69%, 60%)
HSVhsv(50, 64%, 87%)
CMYKcmyk(0%, 10.8%, 63.7%, 12.5%)
CIE-LABlab(80.25, -5.05, 60.30)
CIE-LCHlch(80.25, 60.51, 94.79°)
OKLaboklab(82.81% -0.0187 0.1372)
OKLCHoklch(82.81% 0.138 97.8)
XYZxyz(52.3423, 57.1313, 16.0534)
Luminance0.5713 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC751 #5169DF
analogous
#DF8051 #DFC751 #B0DF51
triadic
#DFC751 #51DFC7 #C751DF
tetradic
#DFC751 #51DF80 #5169DF #DF51B0
square
#DFC751 #51DF80 #5169DF #DF51B0
split-complementary
#DFC751 #51B0DF #8051DF
monochromatic
#99841C #CDB126 #DFC751 #E9D885 #F2E8B8

Accessibility & contrast

On white

1.69
#DFC751 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.43
#DFC751 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFC751
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFC751#FFFFFF#000000##000000
##DFC7511.001.6912.4312.43
#FFFFFF1.691.0021.0021.00
#00000012.4321.001.001.00
##00000012.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C243
Deuteranopia (green-blind)
#E0CB57
Tritanopia (blue-blind)
#F0B9AE
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #dfc751;
/* rgb */ color: rgb(223, 199, 81);
/* oklch */ color: oklch(82.8% 0.138 97.8);
Tailwind
colors: {
  custom: {
    50: '#ecd787',
    500: '#dfc751',
    950: '#000000',
  },
}
SCSS
$custom: #dfc751;
$custom-light: #ecd787;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc751",
  "rgb": {
    "r": 223,
    "g": 199,
    "b": 81
  },
  "hsl": {
    "h": 49.859,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.82807,
    "c": 0.13846,
    "h": 97.8
  },
  "luminance": 0.57129
}

Semantic roles & 50–950 ramp

primary
#DFC751
secondary
#37489D
accent
#5AEC3C
background
#FFFEFC
surface
#FEFBF3
border
#D6D4CD
text
#17140C
muted
#85837F

Preview Lab

Preview with #DFC751

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

Preview Lab → · Contrast checker → · Palette generator →

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