#DCA23F#DCA23F

#DCA23F is a light, vivid orange. Relative luminance 0.414; OKLCH L 75.0% C 0.132 H 77.3°. Best body text is #000000 at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#DCA23F
RGBrgb(220, 162, 63)
HSLhsl(38, 69%, 55%)
HSVhsv(38, 71%, 86%)
CMYKcmyk(0%, 26.4%, 71.4%, 13.7%)
CIE-LABlab(70.47, 12.13, 57.62)
CIE-LCHlch(70.47, 58.88, 78.12°)
OKLaboklab(74.99% 0.029 0.1286)
OKLCHoklch(74.99% 0.132 77.3)
XYZxyz(43.3356, 41.4186, 10.4138)
Luminance0.4142 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCA23F #3F79DC
analogous
#DC533F #DCA23F #C8DC3F
triadic
#DCA23F #3FDCA2 #A23FDC
tetradic
#DCA23F #3FDC53 #3F79DC #DC3FC8
square
#DCA23F #3FDC53 #3F79DC #DC3FC8
split-complementary
#DCA23F #3FC8DC #533FDC
monochromatic
#885F19 #BC8322 #DCA23F #E5BB73 #EFD4A7

Accessibility & contrast

On white

2.26
#DCA23F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.28
#DCA23F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCA23F
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCA23F#FFFFFF#000000##000000
##DCA23F1.002.269.289.28
#FFFFFF2.261.0021.0021.00
#0000009.2821.001.001.00
##0000009.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A432
Deuteranopia (green-blind)
#C6B242
Tritanopia (blue-blind)
#EF928D
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #dca23f;
/* rgb */ color: rgb(220, 162, 63);
/* oklch */ color: oklch(75.0% 0.132 77.3);
Tailwind
colors: {
  custom: {
    50: '#ecbd79',
    500: '#dca23f',
    950: '#000000',
  },
}
SCSS
$custom: #dca23f;
$custom-light: #ecbd79;
$custom-dark: #000000;
JSON
{
  "hex": "#dca23f",
  "rgb": {
    "r": 220,
    "g": 162,
    "b": 63
  },
  "hsl": {
    "h": 37.834,
    "s": 69.163,
    "l": 55.49
  },
  "oklch": {
    "l": 0.74987,
    "c": 0.13184,
    "h": 77.3
  },
  "luminance": 0.41415
}

Semantic roles & 50–950 ramp

primary
#DCA23F
secondary
#9BB3DC
accent
#7DEC3C
background
#FFFBF7
surface
#FEF6EE
border
#D6D0C9
text
#171209
muted
#85817B

Preview Lab

Preview with #DCA23F

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

Preview Lab → · Contrast checker → · Palette generator →

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