#DEC761#DEC761

#DEC761 is a very light, vivid yellow. Relative luminance 0.572; OKLCH L 82.9% C 0.125 H 96.8°. Best body text is #000000 at 12.45:1 contrast (WCAG AA passes).

Color values

HEX#DEC761
RGBrgb(222, 199, 97)
HSLhsl(49, 65%, 63%)
HSVhsv(49, 56%, 87%)
CMYKcmyk(0%, 10.4%, 56.3%, 12.9%)
CIE-LABlab(80.32, -4.37, 53.17)
CIE-LCHlch(80.32, 53.35, 94.70°)
OKLaboklab(82.88% -0.0148 0.1241)
OKLCHoklch(82.88% 0.125 96.8)
XYZxyz(52.7073, 57.2418, 19.5794)
Luminance0.5724 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC761 #6178DE
analogous
#DE8861 #DEC761 #B6DE61
triadic
#DEC761 #61DEC7 #C761DE
tetradic
#DEC761 #61DE88 #6178DE #DE61B6
square
#DEC761 #61DE88 #6178DE #DE61B6
split-complementary
#DEC761 #61B6DE #8861DE
monochromatic
#A38B22 #D3B52E #DEC761 #E9D994 #F3EBC6

Accessibility & contrast

On white

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

On black

12.45
#DEC761 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEC761
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEC761#FFFFFF#000000##000000
##DEC7611.001.6912.4512.45
#FFFFFF1.691.0021.0021.00
#00000012.4521.001.001.00
##00000012.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C357
Deuteranopia (green-blind)
#DECB66
Tritanopia (blue-blind)
#EEBAB0
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #dec761;
/* rgb */ color: rgb(222, 199, 97);
/* oklch */ color: oklch(82.9% 0.125 96.8);
Tailwind
colors: {
  custom: {
    50: '#ebd791',
    500: '#dec761',
    950: '#000000',
  },
}
SCSS
$custom: #dec761;
$custom-light: #ebd791;
$custom-dark: #000000;
JSON
{
  "hex": "#dec761",
  "rgb": {
    "r": 222,
    "g": 199,
    "b": 97
  },
  "hsl": {
    "h": 48.96,
    "s": 65.445,
    "l": 62.549
  },
  "oklch": {
    "l": 0.82884,
    "c": 0.12493,
    "h": 96.8
  },
  "luminance": 0.5724
}

Semantic roles & 50–950 ramp

primary
#DEC761
secondary
#3E51A6
accent
#3ACD18
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #DEC761

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

Preview Lab → · Contrast checker → · Palette generator →

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