#DEC15F#DEC15F

#DEC15F is a light, vivid yellow. Relative luminance 0.545; OKLCH L 81.6% C 0.122 H 93.1°. Best body text is #000000 at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#DEC15F
RGBrgb(222, 193, 95)
HSLhsl(46, 66%, 62%)
HSVhsv(46, 57%, 87%)
CMYKcmyk(0%, 13.1%, 57.2%, 12.9%)
CIE-LABlab(78.75, -1.42, 52.31)
CIE-LCHlch(78.75, 52.33, 91.55°)
OKLaboklab(81.64% -0.0065 0.122)
OKLCHoklch(81.64% 0.122 93.1)
XYZxyz(51.2619, 54.4982, 18.6433)
Luminance0.5450 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC15F #5F7CDE
analogous
#DE825F #DEC15F #BCDE5F
triadic
#DEC15F #5FDEC1 #C15FDE
tetradic
#DEC15F #5FDE82 #5F7CDE #DE5FBC
square
#DEC15F #5FDE82 #5F7CDE #DE5FBC
split-complementary
#DEC15F #5FBCDE #825FDE
monochromatic
#A18421 #D4AD2C #DEC15F #E8D592 #F3E8C4

Accessibility & contrast

On white

1.76
#DEC15F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.90
#DEC15F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEC15F
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEC15F#FFFFFF#000000##000000
##DEC15F1.001.7611.9011.90
#FFFFFF1.761.0021.0021.00
#00000011.9021.001.001.00
##00000011.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BE55
Deuteranopia (green-blind)
#DAC763
Tritanopia (blue-blind)
#EEB4AB
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #dec15f;
/* rgb */ color: rgb(222, 193, 95);
/* oklch */ color: oklch(81.6% 0.122 93.1);
Tailwind
colors: {
  custom: {
    50: '#ebd38f',
    500: '#dec15f',
    950: '#000000',
  },
}
SCSS
$custom: #dec15f;
$custom-light: #ebd38f;
$custom-dark: #000000;
JSON
{
  "hex": "#dec15f",
  "rgb": {
    "r": 222,
    "g": 193,
    "b": 95
  },
  "hsl": {
    "h": 46.299,
    "s": 65.803,
    "l": 62.157
  },
  "oklch": {
    "l": 0.81641,
    "c": 0.12212,
    "h": 93.1
  },
  "luminance": 0.54496
}

Semantic roles & 50–950 ramp

primary
#DEC15F
secondary
#3D54A4
accent
#41CE18
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #DEC15F

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

Preview Lab → · Contrast checker → · Palette generator →

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