#DFA242#DFA242

#DFA242 is a light, vivid orange. Relative luminance 0.419; OKLCH L 75.3% C 0.132 H 75.3°. Best body text is #000000 at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#DFA242
RGBrgb(223, 162, 66)
HSLhsl(37, 71%, 57%)
HSVhsv(37, 70%, 87%)
CMYKcmyk(0%, 27.4%, 70.4%, 12.5%)
CIE-LABlab(70.82, 13.56, 56.79)
CIE-LCHlch(70.82, 58.39, 76.58°)
OKLaboklab(75.34% 0.0333 0.1273)
OKLCHoklch(75.34% 0.132 75.3)
XYZxyz(44.3381, 41.9255, 10.9104)
Luminance0.4192 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFA242 #427FDF
analogous
#DF5442 #DFA242 #CEDF42
triadic
#DFA242 #42DFA2 #A242DF
tetradic
#DFA242 #42DF54 #427FDF #DF42CE
square
#DFA242 #42DF54 #427FDF #DF42CE
split-complementary
#DFA242 #42CEDF #5442DF
monochromatic
#8E6018 #C38421 #DFA242 #E8BC76 #F1D6AB

Accessibility & contrast

On white

2.24
#DFA242 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.38
#DFA242 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFA242
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFA242#FFFFFF#000000##000000
##DFA2421.002.249.389.38
#FFFFFF2.241.0021.0021.00
#0000009.3821.001.001.00
##0000009.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A536
Deuteranopia (green-blind)
#C7B345
Tritanopia (blue-blind)
#F2928E
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #dfa242;
/* rgb */ color: rgb(223, 162, 66);
/* oklch */ color: oklch(75.3% 0.132 75.3);
Tailwind
colors: {
  custom: {
    50: '#eebd7b',
    500: '#dfa242',
    950: '#000000',
  },
}
SCSS
$custom: #dfa242;
$custom-light: #eebd7b;
$custom-dark: #000000;
JSON
{
  "hex": "#dfa242",
  "rgb": {
    "r": 223,
    "g": 162,
    "b": 66
  },
  "hsl": {
    "h": 36.688,
    "s": 71.041,
    "l": 56.667
  },
  "oklch": {
    "l": 0.75343,
    "c": 0.13159,
    "h": 75.3
  },
  "luminance": 0.41922
}

Semantic roles & 50–950 ramp

primary
#DFA242
secondary
#9EB7DF
accent
#80EE3A
background
#FFFBF7
surface
#FFF6EE
border
#D7D0C9
text
#17120A
muted
#85817C

Preview Lab

Preview with #DFA242

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

Preview Lab → · Contrast checker → · Palette generator →

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