#DECB4F#DECB4F

#DECB4F is a very light, vivid yellow. Relative luminance 0.588; OKLCH L 83.5% C 0.143 H 100.6°. Best body text is #000000 at 12.76:1 contrast (WCAG AA passes).

Color values

HEX#DECB4F
RGBrgb(222, 203, 79)
HSLhsl(52, 68%, 59%)
HSVhsv(52, 64%, 87%)
CMYKcmyk(0%, 8.6%, 64.4%, 12.9%)
CIE-LABlab(81.19, -7.64, 62.11)
CIE-LCHlch(81.19, 62.58, 97.01°)
OKLaboklab(83.52% -0.0262 0.1408)
OKLCHoklch(83.52% 0.143 100.6)
XYZxyz(52.8936, 58.8083, 15.9606)
Luminance0.5881 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DECB4F #4F62DE
analogous
#DE844F #DECB4F #AADE4F
triadic
#DECB4F #4FDECB #CB4FDE
tetradic
#DECB4F #4FDE84 #4F62DE #DE4FAA
square
#DECB4F #4FDE84 #4F62DE #DE4FAA
split-complementary
#DECB4F #4FAADE #844FDE
monochromatic
#96861C #CAB426 #DECB4F #E8DA83 #F1E9B6

Accessibility & contrast

On white

1.65
#DECB4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.76
#DECB4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DECB4F
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DECB4F#FFFFFF#000000##000000
##DECB4F1.001.6512.7612.76
#FFFFFF1.651.0021.0021.00
#00000012.7621.001.001.00
##00000012.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC540
Deuteranopia (green-blind)
#E3CD56
Tritanopia (blue-blind)
#EEBDB1
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #decb4f;
/* rgb */ color: rgb(222, 203, 79);
/* oklch */ color: oklch(83.5% 0.143 100.6);
Tailwind
colors: {
  custom: {
    50: '#ecda86',
    500: '#decb4f',
    950: '#000000',
  },
}
SCSS
$custom: #decb4f;
$custom-light: #ecda86;
$custom-dark: #000000;
JSON
{
  "hex": "#decb4f",
  "rgb": {
    "r": 222,
    "g": 203,
    "b": 79
  },
  "hsl": {
    "h": 52.028,
    "s": 68.421,
    "l": 59.02
  },
  "oklch": {
    "l": 0.83521,
    "c": 0.14318,
    "h": 100.6
  },
  "luminance": 0.58806
}

Semantic roles & 50–950 ramp

primary
#DECB4F
secondary
#37449B
accent
#54EB3D
background
#FFFEFC
surface
#FEFBF3
border
#D6D4CD
text
#17140B
muted
#85837E

Preview Lab

Preview with #DECB4F

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

Preview Lab → · Contrast checker → · Palette generator →

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