#DEC75F#DEC75F

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

Color values

HEX#DEC75F
RGBrgb(222, 199, 95)
HSLhsl(49, 66%, 62%)
HSVhsv(49, 57%, 87%)
CMYKcmyk(0%, 10.4%, 57.2%, 12.9%)
CIE-LABlab(80.29, -4.52, 54.08)
CIE-LCHlch(80.29, 54.27, 94.78°)
OKLaboklab(82.86% -0.0155 0.1258)
OKLCHoklch(82.86% 0.127 97)
XYZxyz(52.6152, 57.2050, 19.0945)
Luminance0.5720 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC75F #5F76DE
analogous
#DE885F #DEC75F #B5DE5F
triadic
#DEC75F #5FDEC7 #C75FDE
tetradic
#DEC75F #5FDE88 #5F76DE #DE5FB5
square
#DEC75F #5FDE88 #5F76DE #DE5FB5
split-complementary
#DEC75F #5FB5DE #885FDE
monochromatic
#A18A21 #D4B52C #DEC75F #E8D992 #F3EBC4

Accessibility & contrast

On white

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

On black

12.44
#DEC75F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEC75F
12.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEC75F#FFFFFF#000000##000000
##DEC75F1.001.6912.4412.44
#FFFFFF1.691.0021.0021.00
#00000012.4421.001.001.00
##00000012.4421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dec75f;
/* rgb */ color: rgb(222, 199, 95);
/* oklch */ color: oklch(82.9% 0.127 97.0);
Tailwind
colors: {
  custom: {
    50: '#ebd790',
    500: '#dec75f',
    950: '#000000',
  },
}
SCSS
$custom: #dec75f;
$custom-light: #ebd790;
$custom-dark: #000000;
JSON
{
  "hex": "#dec75f",
  "rgb": {
    "r": 222,
    "g": 199,
    "b": 95
  },
  "hsl": {
    "h": 49.134,
    "s": 65.803,
    "l": 62.157
  },
  "oklch": {
    "l": 0.82861,
    "c": 0.12672,
    "h": 97
  },
  "luminance": 0.57203
}

Semantic roles & 50–950 ramp

primary
#DEC75F
secondary
#3D50A4
accent
#39CE18
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #DEC75F

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

Preview Lab → · Contrast checker → · Palette generator →

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