#ECD968#ECD968

#ECD968 is a very light, vivid yellow. Relative luminance 0.685; OKLCH L 87.9% C 0.135 H 99.9°. Best body text is #000000 at 14.69:1 contrast (WCAG AA passes).

Color values

HEX#ECD968
RGBrgb(236, 217, 104)
HSLhsl(51, 78%, 67%)
HSVhsv(51, 56%, 93%)
CMYKcmyk(0%, 8.1%, 55.9%, 7.5%)
CIE-LABlab(86.24, -7.26, 57.08)
CIE-LCHlch(86.24, 57.54, 97.25°)
OKLaboklab(87.89% -0.0232 0.133)
OKLCHoklch(87.89% 0.135 99.9)
XYZxyz(61.9058, 68.4605, 23.0473)
Luminance0.6846 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD968 #687BEC
analogous
#EC9768 #ECD968 #BDEC68
triadic
#ECD968 #68ECD9 #D968EC
tetradic
#ECD968 #68EC97 #687BEC #EC68BD
square
#ECD968 #68EC97 #687BEC #EC68BD
split-complementary
#ECD968 #68BDEC #9768EC
monochromatic
#C1A918 #E5CB32 #ECD968 #F3E79E #FAF4D5

Accessibility & contrast

On white

1.43
#ECD968 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.69
#ECD968 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD968
14.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD968#FFFFFF#000000##000000
##ECD9681.001.4314.6914.69
#FFFFFF1.431.0021.0021.00
#00000014.6921.001.001.00
##00000014.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD45D
Deuteranopia (green-blind)
#F0DB6D
Tritanopia (blue-blind)
#FCCCC0
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #ecd968;
/* rgb */ color: rgb(236, 217, 104);
/* oklch */ color: oklch(87.9% 0.135 99.9);
Tailwind
colors: {
  custom: {
    50: '#f5e496',
    500: '#ecd968',
    950: '#000000',
  },
}
SCSS
$custom: #ecd968;
$custom-light: #f5e496;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd968",
  "rgb": {
    "r": 236,
    "g": 217,
    "b": 104
  },
  "hsl": {
    "h": 51.364,
    "s": 77.647,
    "l": 66.667
  },
  "oklch": {
    "l": 0.87886,
    "c": 0.13496,
    "h": 99.9
  },
  "luminance": 0.68458
}

Semantic roles & 50–950 ramp

primary
#ECD968
secondary
#394CC0
accent
#29DA0C
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #ECD968

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

Preview Lab → · Contrast checker → · Palette generator →

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