#ECE68E#ECE68E

#ECE68E is a very light, moderate yellow. Relative luminance 0.764; OKLCH L 91.0% C 0.110 H 105.0°. Best body text is #000000 at 16.28:1 contrast (WCAG AA passes).

Color values

HEX#ECE68E
RGBrgb(236, 230, 142)
HSLhsl(56, 71%, 74%)
HSVhsv(56, 40%, 93%)
CMYKcmyk(0%, 2.5%, 39.8%, 7.5%)
CIE-LABlab(90.04, -10.36, 43.56)
CIE-LCHlch(90.04, 44.77, 103.38°)
OKLaboklab(91.05% -0.0284 0.1061)
OKLCHoklch(91.05% 0.11 105)
XYZxyz(67.7725, 76.3811, 36.7589)
Luminance0.7638 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECE68E #8E94EC
analogous
#ECB78E #ECE68E #C3EC8E
triadic
#ECE68E #8EECE6 #E68EEC
tetradic
#ECE68E #8EECB7 #8E94EC #EC8EC3
square
#ECE68E #8EECB7 #8E94EC #EC8EC3
split-complementary
#ECE68E #8EC3EC #B78EEC
monochromatic
#DACF25 #E3DA5A #ECE68E #F5F2C2 #FBF9E5

Accessibility & contrast

On white

1.29
#ECE68E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.28
#ECE68E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECE68E
16.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECE68E#FFFFFF#000000##000000
##ECE68E1.001.2916.2816.28
#FFFFFF1.291.0021.0021.00
#00000016.2821.001.001.00
##00000016.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4E087
Deuteranopia (green-blind)
#F7E592
Tritanopia (blue-blind)
#F9DBD0
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #ece68e;
/* rgb */ color: rgb(236, 230, 142);
/* oklch */ color: oklch(91.0% 0.110 105.0);
Tailwind
colors: {
  custom: {
    50: '#f3edb0',
    500: '#ece68e',
    950: '#000000',
  },
}
SCSS
$custom: #ece68e;
$custom-light: #f3edb0;
$custom-dark: #000000;
JSON
{
  "hex": "#ece68e",
  "rgb": {
    "r": 236,
    "g": 230,
    "b": 142
  },
  "hsl": {
    "h": 56.17,
    "s": 71.212,
    "l": 74.118
  },
  "oklch": {
    "l": 0.91049,
    "c": 0.10978,
    "h": 105
  },
  "luminance": 0.76379
}

Semantic roles & 50–950 ramp

primary
#ECE68E
secondary
#575EC7
accent
#1FD312
background
#FFFEFD
surface
#FEFDF7
border
#D6D5D0
text
#171610
muted
#858481

Preview Lab

Preview with #ECE68E

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

Preview Lab → · Contrast checker → · Palette generator →

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