#DFA740#DFA740

#DFA740 is a light, vivid orange. Relative luminance 0.437; OKLCH L 76.3% C 0.134 H 79.2°. Best body text is #000000 at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#DFA740
RGBrgb(223, 167, 64)
HSLhsl(39, 71%, 56%)
HSVhsv(39, 71%, 87%)
CMYKcmyk(0%, 25.1%, 71.3%, 12.5%)
CIE-LABlab(72.03, 10.79, 58.89)
CIE-LCHlch(72.03, 59.87, 79.62°)
OKLaboklab(76.28% 0.025 0.1314)
OKLCHoklch(76.28% 0.134 79.2)
XYZxyz(45.1785, 43.6990, 10.9048)
Luminance0.4370 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFA740 #4078DF
analogous
#DF5840 #DFA740 #C8DF40
triadic
#DFA740 #40DFA7 #A740DF
tetradic
#DFA740 #40DF58 #4078DF #DF40C8
square
#DFA740 #40DF58 #4078DF #DF40C8
split-complementary
#DFA740 #40C8DF #5840DF
monochromatic
#8D6418 #C18920 #DFA740 #E8BF74 #F1D7A9

Accessibility & contrast

On white

2.16
#DFA740 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.74
#DFA740 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFA740
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFA740#FFFFFF#000000##000000
##DFA7401.002.169.749.74
#FFFFFF2.161.0021.0021.00
#0000009.7421.001.001.00
##0000009.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA832
Deuteranopia (green-blind)
#CAB644
Tritanopia (blue-blind)
#F29792
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #dfa740;
/* rgb */ color: rgb(223, 167, 64);
/* oklch */ color: oklch(76.3% 0.134 79.2);
Tailwind
colors: {
  custom: {
    50: '#eec07a',
    500: '#dfa740',
    950: '#000000',
  },
}
SCSS
$custom: #dfa740;
$custom-light: #eec07a;
$custom-dark: #000000;
JSON
{
  "hex": "#dfa740",
  "rgb": {
    "r": 223,
    "g": 167,
    "b": 64
  },
  "hsl": {
    "h": 38.868,
    "s": 71.3,
    "l": 56.275
  },
  "oklch": {
    "l": 0.76282,
    "c": 0.13374,
    "h": 79.2
  },
  "luminance": 0.43696
}

Semantic roles & 50–950 ramp

primary
#DFA740
secondary
#9DB4DE
accent
#79EE3A
background
#FFFBF7
surface
#FFF7EE
border
#D7D0C9
text
#17120A
muted
#85817C

Preview Lab

Preview with #DFA740

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

Preview Lab → · Contrast checker → · Palette generator →

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