#DFAF38#DFAF38

#DFAF38 is a light, vivid orange. Relative luminance 0.466; OKLCH L 77.8% C 0.141 H 85.7°. Best body text is #000000 at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#DFAF38
RGBrgb(223, 175, 56)
HSLhsl(43, 72%, 55%)
HSVhsv(43, 75%, 87%)
CMYKcmyk(0%, 21.5%, 74.9%, 12.5%)
CIE-LABlab(73.96, 6.17, 63.99)
CIE-LCHlch(73.96, 64.28, 84.49°)
OKLaboklab(77.78% 0.0107 0.1407)
OKLCHoklch(77.78% 0.141 85.7)
XYZxyz(46.4781, 46.6367, 10.2944)
Luminance0.4663 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFAF38 #3868DF
analogous
#DF5B38 #DFAF38 #BCDF38
triadic
#DFAF38 #38DFAF #AF38DF
tetradic
#DFAF38 #38DF5B #3868DF #DF38BC
square
#DFAF38 #38DF5B #3868DF #DF38BC
split-complementary
#DFAF38 #38BCDF #5B38DF
monochromatic
#876616 #BC8E1E #DFAF38 #E7C46D #F0D9A1

Accessibility & contrast

On white

2.03
#DFAF38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.33
#DFAF38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFAF38
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFAF38#FFFFFF#000000##000000
##DFAF381.002.0310.3310.33
#FFFFFF2.031.0021.0021.00
#00000010.3321.001.001.00
##00000010.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AE25
Deuteranopia (green-blind)
#D0BB3E
Tritanopia (blue-blind)
#F29F98
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #dfaf38;
/* rgb */ color: rgb(223, 175, 56);
/* oklch */ color: oklch(77.8% 0.141 85.7);
Tailwind
colors: {
  custom: {
    50: '#eec677',
    500: '#dfaf38',
    950: '#000000',
  },
}
SCSS
$custom: #dfaf38;
$custom-light: #eec677;
$custom-dark: #000000;
JSON
{
  "hex": "#dfaf38",
  "rgb": {
    "r": 223,
    "g": 175,
    "b": 56
  },
  "hsl": {
    "h": 42.754,
    "s": 72.294,
    "l": 54.706
  },
  "oklch": {
    "l": 0.77779,
    "c": 0.14106,
    "h": 85.7
  },
  "luminance": 0.46633
}

Semantic roles & 50–950 ramp

primary
#DFAF38
secondary
#96AADD
accent
#6DEF39
background
#FFFCF7
surface
#FFF8ED
border
#D7D1C8
text
#171309
muted
#85827B

Preview Lab

Preview with #DFAF38

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

Preview Lab → · Contrast checker → · Palette generator →

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