#DFB242#DFB242

#DFB242 is a light, vivid orange. Relative luminance 0.479; OKLCH L 78.4% C 0.136 H 86.4°. Best body text is #000000 at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#DFB242
RGBrgb(223, 178, 66)
HSLhsl(43, 71%, 57%)
HSVhsv(43, 70%, 87%)
CMYKcmyk(0%, 20.2%, 70.4%, 12.5%)
CIE-LABlab(74.78, 5.05, 60.86)
CIE-LCHlch(74.78, 61.07, 85.26°)
OKLaboklab(78.45% 0.0086 0.1359)
OKLCHoklch(78.45% 0.136 86.4)
XYZxyz(47.3379, 47.9252, 11.9104)
Luminance0.4792 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFB242 #426FDF
analogous
#DF6442 #DFB242 #BDDF42
triadic
#DFB242 #42DFB2 #B242DF
tetradic
#DFB242 #42DF64 #426FDF #DF42BD
square
#DFB242 #42DF64 #426FDF #DF42BD
split-complementary
#DFB242 #42BDDF #6442DF
monochromatic
#8E6D18 #C39421 #DFB242 #E8C776 #F1DDAB

Accessibility & contrast

On white

1.98
#DFB242 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.58
#DFB242 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFB242
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFB242#FFFFFF#000000##000000
##DFB2421.001.9810.5810.58
#FFFFFF1.981.0021.0021.00
#00000010.5821.001.001.00
##00000010.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B133
Deuteranopia (green-blind)
#D2BD47
Tritanopia (blue-blind)
#F1A39B
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #dfb242;
/* rgb */ color: rgb(223, 178, 66);
/* oklch */ color: oklch(78.4% 0.136 86.4);
Tailwind
colors: {
  custom: {
    50: '#edc87c',
    500: '#dfb242',
    950: '#000000',
  },
}
SCSS
$custom: #dfb242;
$custom-light: #edc87c;
$custom-dark: #000000;
JSON
{
  "hex": "#dfb242",
  "rgb": {
    "r": 223,
    "g": 178,
    "b": 66
  },
  "hsl": {
    "h": 42.803,
    "s": 71.041,
    "l": 56.667
  },
  "oklch": {
    "l": 0.78447,
    "c": 0.13621,
    "h": 86.4
  },
  "luminance": 0.47922
}

Semantic roles & 50–950 ramp

primary
#DFB242
secondary
#9EB1DF
accent
#6EEE3A
background
#FFFCF7
surface
#FEF8EE
border
#D6D1C9
text
#17130A
muted
#85827C

Preview Lab

Preview with #DFB242

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

Preview Lab → · Contrast checker → · Palette generator →

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