#DFAF51#DFAF51

#DFAF51 is a light, vivid orange. Relative luminance 0.469; OKLCH L 78.0% C 0.124 H 81.9°. Best body text is #000000 at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#DFAF51
RGBrgb(223, 175, 81)
HSLhsl(40, 69%, 60%)
HSVhsv(40, 64%, 87%)
CMYKcmyk(0%, 21.5%, 63.7%, 12.5%)
CIE-LABlab(74.15, 7.49, 53.65)
CIE-LCHlch(74.15, 54.17, 82.05°)
OKLaboklab(78% 0.0176 0.123)
OKLCHoklch(78% 0.124 81.9)
XYZxyz(47.2492, 46.9451, 14.3557)
Luminance0.4694 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFAF51 #5181DF
analogous
#DF6851 #DFAF51 #C8DF51
triadic
#DFAF51 #51DFAF #AF51DF
tetradic
#DFAF51 #51DF68 #5181DF #DF51C8
square
#DFAF51 #51DF68 #5181DF #DF51C8
split-complementary
#DFAF51 #51C8DF #6851DF
monochromatic
#996F1C #CD9526 #DFAF51 #E9C785 #F2DFB8

Accessibility & contrast

On white

2.02
#DFAF51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.39
#DFAF51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFAF51
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFAF51#FFFFFF#000000##000000
##DFAF511.002.0210.3910.39
#FFFFFF2.021.0021.0021.00
#00000010.3921.001.001.00
##00000010.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AF47
Deuteranopia (green-blind)
#CFBB54
Tritanopia (blue-blind)
#F1A09A
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #dfaf51;
/* rgb */ color: rgb(223, 175, 81);
/* oklch */ color: oklch(78.0% 0.124 81.9);
Tailwind
colors: {
  custom: {
    50: '#edc685',
    500: '#dfaf51',
    950: '#000000',
  },
}
SCSS
$custom: #dfaf51;
$custom-light: #edc685;
$custom-dark: #000000;
JSON
{
  "hex": "#dfaf51",
  "rgb": {
    "r": 223,
    "g": 175,
    "b": 81
  },
  "hsl": {
    "h": 39.718,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.77998,
    "c": 0.12428,
    "h": 81.9
  },
  "luminance": 0.46942
}

Semantic roles & 50–950 ramp

primary
#DFAF51
secondary
#AABDE1
accent
#77EC3C
background
#FFFCF8
surface
#FEF8EF
border
#D6D1CA
text
#17130B
muted
#85827C

Preview Lab

Preview with #DFAF51

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

Preview Lab → · Contrast checker → · Palette generator →

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