#DEC75B#DEC75B

#DEC75B is a very light, vivid yellow. Relative luminance 0.571; OKLCH L 82.8% C 0.130 H 97.4°. Best body text is #000000 at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#DEC75B
RGBrgb(222, 199, 91)
HSLhsl(49, 66%, 61%)
HSVhsv(49, 59%, 87%)
CMYKcmyk(0%, 10.4%, 59%, 12.9%)
CIE-LABlab(80.25, -4.81, 55.86)
CIE-LCHlch(80.25, 56.07, 94.92°)
OKLaboklab(82.82% -0.0168 0.1291)
OKLCHoklch(82.82% 0.13 97.4)
XYZxyz(52.4381, 57.1341, 18.1614)
Luminance0.5713 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC75B #5B72DE
analogous
#DE865B #DEC75B #B3DE5B
triadic
#DEC75B #5BDEC7 #C75BDE
tetradic
#DEC75B #5BDE86 #5B72DE #DE5BB3
square
#DEC75B #5BDE86 #5B72DE #DE5BB3
split-complementary
#DEC75B #5BB3DE #865BDE
monochromatic
#9F8820 #D2B42A #DEC75B #E8D88E #F3EAC1

Accessibility & contrast

On white

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

On black

12.43
#DEC75B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEC75B
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEC75B#FFFFFF#000000##000000
##DEC75B1.001.6912.4312.43
#FFFFFF1.691.0021.0021.00
#00000012.4321.001.001.00
##00000012.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C350
Deuteranopia (green-blind)
#DFCA60
Tritanopia (blue-blind)
#EEBAAF
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #dec75b;
/* rgb */ color: rgb(222, 199, 91);
/* oklch */ color: oklch(82.8% 0.130 97.4);
Tailwind
colors: {
  custom: {
    50: '#ebd78d',
    500: '#dec75b',
    950: '#000000',
  },
}
SCSS
$custom: #dec75b;
$custom-light: #ebd78d;
$custom-dark: #000000;
JSON
{
  "hex": "#dec75b",
  "rgb": {
    "r": 222,
    "g": 199,
    "b": 91
  },
  "hsl": {
    "h": 49.466,
    "s": 66.497,
    "l": 61.373
  },
  "oklch": {
    "l": 0.82817,
    "c": 0.13021,
    "h": 97.4
  },
  "luminance": 0.57132
}

Semantic roles & 50–950 ramp

primary
#DEC75B
secondary
#3B4DA2
accent
#37CE17
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DEC75B

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

Preview Lab → · Contrast checker → · Palette generator →

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