#ECCB68#ECCB68

#ECCB68 is a very light, vivid yellow. Relative luminance 0.615; OKLCH L 85.1% C 0.124 H 91.2°. Best body text is #000000 at 13.31:1 contrast (WCAG AA passes).

Color values

HEX#ECCB68
RGBrgb(236, 203, 104)
HSLhsl(45, 78%, 67%)
HSVhsv(45, 56%, 93%)
CMYKcmyk(0%, 14%, 55.9%, 7.5%)
CIE-LABlab(82.67, -0.12, 52.95)
CIE-LCHlch(82.67, 52.95, 90.13°)
OKLaboklab(85.07% -0.0026 0.124)
OKLCHoklch(85.07% 0.124 91.2)
XYZxyz(58.4491, 61.5471, 21.8951)
Luminance0.6154 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECCB68 #6889EC
analogous
#EC8968 #ECCB68 #CBEC68
triadic
#ECCB68 #68ECCB #CB68EC
tetradic
#ECCB68 #68EC89 #6889EC #EC68CB
square
#ECCB68 #68EC89 #6889EC #EC68CB
split-complementary
#ECCB68 #68CBEC #8968EC
monochromatic
#C19718 #E5B832 #ECCB68 #F3DE9E #FAF0D5

Accessibility & contrast

On white

1.58
#ECCB68 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.31
#ECCB68 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECCB68
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECCB68#FFFFFF#000000##000000
##ECCB681.001.5813.3113.31
#FFFFFF1.581.0021.0021.00
#00000013.3121.001.001.00
##00000013.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC85F
Deuteranopia (green-blind)
#E6D26C
Tritanopia (blue-blind)
#FDBDB4
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #eccb68;
/* rgb */ color: rgb(236, 203, 104);
/* oklch */ color: oklch(85.1% 0.124 91.2);
Tailwind
colors: {
  custom: {
    50: '#f5da96',
    500: '#eccb68',
    950: '#000000',
  },
}
SCSS
$custom: #eccb68;
$custom-light: #f5da96;
$custom-dark: #000000;
JSON
{
  "hex": "#eccb68",
  "rgb": {
    "r": 236,
    "g": 203,
    "b": 104
  },
  "hsl": {
    "h": 45,
    "s": 77.647,
    "l": 66.667
  },
  "oklch": {
    "l": 0.85067,
    "c": 0.12407,
    "h": 91.2
  },
  "luminance": 0.61544
}

Semantic roles & 50–950 ramp

primary
#ECCB68
secondary
#395AC0
accent
#3FDA0C
background
#FFFEFC
surface
#FFFBF5
border
#D7D4CF
text
#17140D
muted
#85837F

Preview Lab

Preview with #ECCB68

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

Preview Lab → · Contrast checker → · Palette generator →

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