#DDAF40#DDAF40

#DDAF40 is a light, vivid orange. Relative luminance 0.464; OKLCH L 77.6% C 0.136 H 85.6°. Best body text is #000000 at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#DDAF40
RGBrgb(221, 175, 64)
HSLhsl(42, 70%, 56%)
HSVhsv(42, 71%, 87%)
CMYKcmyk(0%, 20.8%, 71%, 13.3%)
CIE-LABlab(73.81, 5.68, 60.63)
CIE-LCHlch(73.81, 60.90, 84.65°)
OKLaboklab(77.63% 0.0103 0.1352)
OKLCHoklch(77.63% 0.136 85.6)
XYZxyz(46.0769, 46.4054, 11.3798)
Luminance0.4640 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDAF40 #406EDD
analogous
#DD6040 #DDAF40 #BDDD40
triadic
#DDAF40 #40DDAF #AF40DD
tetradic
#DDAF40 #40DD60 #406EDD #DD40BD
square
#DDAF40 #40DD60 #406EDD #DD40BD
split-complementary
#DDAF40 #40BDDD #6040DD
monochromatic
#8A6919 #BE9022 #DDAF40 #E6C574 #EFDBA8

Accessibility & contrast

On white

2.04
#DDAF40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.28
#DDAF40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DDAF40
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DDAF40#FFFFFF#000000##000000
##DDAF401.002.0410.2810.28
#FFFFFF2.041.0021.0021.00
#00000010.2821.001.001.00
##00000010.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AE31
Deuteranopia (green-blind)
#CFBA45
Tritanopia (blue-blind)
#EFA098
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #ddaf40;
/* rgb */ color: rgb(221, 175, 64);
/* oklch */ color: oklch(77.6% 0.136 85.6);
Tailwind
colors: {
  custom: {
    50: '#ecc67b',
    500: '#ddaf40',
    950: '#000000',
  },
}
SCSS
$custom: #ddaf40;
$custom-light: #ecc67b;
$custom-dark: #000000;
JSON
{
  "hex": "#ddaf40",
  "rgb": {
    "r": 221,
    "g": 175,
    "b": 64
  },
  "hsl": {
    "h": 42.42,
    "s": 69.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.77633,
    "c": 0.13555,
    "h": 85.6
  },
  "luminance": 0.46402
}

Semantic roles & 50–950 ramp

primary
#DDAF40
secondary
#9CAFDD
accent
#6FED3B
background
#FFFCF7
surface
#FEF8EE
border
#D6D1C9
text
#17130A
muted
#85827C

Preview Lab

Preview with #DDAF40

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

Preview Lab → · Contrast checker → · Palette generator →

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