#DEC262#DEC262

#DEC262 is a light, vivid yellow. Relative luminance 0.550; OKLCH L 81.9% C 0.120 H 93.3°. Best body text is #000000 at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#DEC262
RGBrgb(222, 194, 98)
HSLhsl(46, 65%, 63%)
HSVhsv(46, 56%, 87%)
CMYKcmyk(0%, 12.6%, 55.9%, 12.9%)
CIE-LABlab(79.04, -1.71, 51.23)
CIE-LCHlch(79.04, 51.25, 91.91°)
OKLaboklab(81.88% -0.007 0.1199)
OKLCHoklch(81.88% 0.12 93.3)
XYZxyz(51.6227, 54.9975, 19.4493)
Luminance0.5500 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC262 #627EDE
analogous
#DE8462 #DEC262 #BCDE62
triadic
#DEC262 #62DEC2 #C262DE
tetradic
#DEC262 #62DE84 #627EDE #DE62BC
square
#DEC262 #62DE84 #627EDE #DE62BC
split-complementary
#DEC262 #62BCDE #8462DE
monochromatic
#A38622 #D3AE2F #DEC262 #E9D695 #F3E9C7

Accessibility & contrast

On white

1.75
#DEC262 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.00
#DEC262 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEC262
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEC262#FFFFFF#000000##000000
##DEC2621.001.7512.0012.00
#FFFFFF1.751.0021.0021.00
#00000012.0021.001.001.00
##00000012.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BF59
Deuteranopia (green-blind)
#DBC766
Tritanopia (blue-blind)
#EEB5AC
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #dec262;
/* rgb */ color: rgb(222, 194, 98);
/* oklch */ color: oklch(81.9% 0.120 93.3);
Tailwind
colors: {
  custom: {
    50: '#ebd491',
    500: '#dec262',
    950: '#000000',
  },
}
SCSS
$custom: #dec262;
$custom-light: #ebd491;
$custom-dark: #000000;
JSON
{
  "hex": "#dec262",
  "rgb": {
    "r": 222,
    "g": 194,
    "b": 98
  },
  "hsl": {
    "h": 46.452,
    "s": 65.263,
    "l": 62.745
  },
  "oklch": {
    "l": 0.81879,
    "c": 0.12014,
    "h": 93.3
  },
  "luminance": 0.54995
}

Semantic roles & 50–950 ramp

primary
#DEC262
secondary
#3E56A6
accent
#41CD18
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #DEC262

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

Preview Lab → · Contrast checker → · Palette generator →

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