#DEC671#DEC671

#DEC671 is a very light, moderate yellow. Relative luminance 0.571; OKLCH L 82.9% C 0.109 H 94.0°. Best body text is #000000 at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#DEC671
RGBrgb(222, 198, 113)
HSLhsl(47, 62%, 66%)
HSVhsv(47, 49%, 87%)
CMYKcmyk(0%, 10.8%, 49.1%, 12.9%)
CIE-LABlab(80.24, -2.52, 45.40)
CIE-LCHlch(80.24, 45.47, 93.18°)
OKLaboklab(82.89% -0.0077 0.1085)
OKLCHoklch(82.89% 0.109 94)
XYZxyz(53.3007, 57.1122, 23.8358)
Luminance0.5711 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC671 #7189DE
analogous
#DE8F71 #DEC671 #BFDE71
triadic
#DEC671 #71DEC6 #C671DE
tetradic
#DEC671 #71DE8F #7189DE #DE71BF
square
#DEC671 #71DE8F #7189DE #DE71BF
split-complementary
#DEC671 #71BFDE #8F71DE
monochromatic
#AD8F28 #D2B23F #DEC671 #EADAA3 #F5EED4

Accessibility & contrast

On white

1.69
#DEC671 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.42
#DEC671 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEC671
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEC671#FFFFFF#000000##000000
##DEC6711.001.6912.4212.42
#FFFFFF1.691.0021.0021.00
#00000012.4221.001.001.00
##00000012.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C36A
Deuteranopia (green-blind)
#DCCA74
Tritanopia (blue-blind)
#EDBAB2
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #dec671;
/* rgb */ color: rgb(222, 198, 113);
/* oklch */ color: oklch(82.9% 0.109 94.0);
Tailwind
colors: {
  custom: {
    50: '#ead79b',
    500: '#dec671',
    950: '#000000',
  },
}
SCSS
$custom: #dec671;
$custom-light: #ead79b;
$custom-dark: #000000;
JSON
{
  "hex": "#dec671",
  "rgb": {
    "r": 222,
    "g": 198,
    "b": 113
  },
  "hsl": {
    "h": 46.789,
    "s": 62.286,
    "l": 65.686
  },
  "oklch": {
    "l": 0.82886,
    "c": 0.10881,
    "h": 94
  },
  "luminance": 0.5711
}

Semantic roles & 50–950 ramp

primary
#DEC671
secondary
#455CAF
accent
#42CA1B
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#16140E
muted
#85837F

Preview Lab

Preview with #DEC671

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

Preview Lab → · Contrast checker → · Palette generator →

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