#ECE98B#ECE98B

#ECE98B is a very light, moderate yellow. Relative luminance 0.780; OKLCH L 91.6% C 0.116 H 106.9°. Best body text is #000000 at 16.60:1 contrast (WCAG AA passes).

Color values

HEX#ECE98B
RGBrgb(236, 233, 139)
HSLhsl(58, 72%, 74%)
HSVhsv(58, 41%, 93%)
CMYKcmyk(0%, 1.3%, 41.1%, 7.5%)
CIE-LABlab(90.77, -12.16, 45.96)
CIE-LCHlch(90.77, 47.54, 104.82°)
OKLaboklab(91.62% -0.0338 0.1113)
OKLCHoklch(91.62% 0.116 106.9)
XYZxyz(68.3924, 77.9763, 35.8693)
Luminance0.7798 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECE98B #8B8EEC
analogous
#ECB88B #ECE98B #BEEC8B
triadic
#ECE98B #8BECE9 #E98BEC
tetradic
#ECE98B #8BECB8 #8B8EEC #EC8BBE
square
#ECE98B #8BECB8 #8B8EEC #EC8BBE
split-complementary
#ECE98B #8BBEEC #B88BEC
monochromatic
#D9D324 #E3DF56 #ECE98B #F5F3C0 #FBFAE5

Accessibility & contrast

On white

1.27
#ECE98B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.60
#ECE98B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECE98B
16.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECE98B#FFFFFF#000000##000000
##ECE98B1.001.2716.6016.60
#FFFFFF1.271.0021.0021.00
#00000016.6021.001.001.00
##00000016.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7E284
Deuteranopia (green-blind)
#F9E68F
Tritanopia (blue-blind)
#F9DED2
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #ece98b;
/* rgb */ color: rgb(236, 233, 139);
/* oklch */ color: oklch(91.6% 0.116 106.9);
Tailwind
colors: {
  custom: {
    50: '#f3efae',
    500: '#ece98b',
    950: '#000000',
  },
}
SCSS
$custom: #ece98b;
$custom-light: #f3efae;
$custom-dark: #000000;
JSON
{
  "hex": "#ece98b",
  "rgb": {
    "r": 236,
    "g": 233,
    "b": 139
  },
  "hsl": {
    "h": 58.144,
    "s": 71.852,
    "l": 73.529
  },
  "oklch": {
    "l": 0.91618,
    "c": 0.11633,
    "h": 106.9
  },
  "luminance": 0.77975
}

Semantic roles & 50–950 ramp

primary
#ECE98B
secondary
#5558C7
accent
#18D412
background
#FFFFFD
surface
#FEFEF7
border
#D6D6D0
text
#171610
muted
#858581

Preview Lab

Preview with #ECE98B

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

Preview Lab → · Contrast checker → · Palette generator →

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