#ECE562#ECE562

#ECE562 is a very light, vivid yellow. Relative luminance 0.748; OKLCH L 90.3% C 0.151 H 106.2°. Best body text is #000000 at 15.95:1 contrast (WCAG AA passes).

Color values

HEX#ECE562
RGBrgb(236, 229, 98)
HSLhsl(57, 78%, 65%)
HSVhsv(57, 58%, 93%)
CMYKcmyk(0%, 3%, 58.5%, 7.5%)
CIE-LABlab(89.28, -13.68, 63.15)
CIE-LCHlch(89.28, 64.62, 102.22°)
OKLaboklab(90.29% -0.0422 0.1453)
OKLCHoklch(90.29% 0.151 106.2)
XYZxyz(64.8181, 74.7554, 22.5678)
Luminance0.7475 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECE562 #6269EC
analogous
#ECA062 #ECE562 #AEEC62
triadic
#ECE562 #62ECE5 #E562EC
tetradic
#ECE562 #62ECA0 #6269EC #EC62AE
square
#ECE562 #62ECA0 #6269EC #EC62AE
split-complementary
#ECE562 #62AEEC #A062EC
monochromatic
#BDB417 #E5DC2B #ECE562 #F3EE99 #F9F7CF

Accessibility & contrast

On white

1.32
#ECE562 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.95
#ECE562 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECE562
15.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECE562#FFFFFF#000000##000000
##ECE5621.001.3215.9515.95
#FFFFFF1.321.0021.0021.00
#00000015.9521.001.001.00
##00000015.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7DD53
Deuteranopia (green-blind)
#FAE369
Tritanopia (blue-blind)
#FCD7C9
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #ece562;
/* rgb */ color: rgb(236, 229, 98);
/* oklch */ color: oklch(90.3% 0.151 106.2);
Tailwind
colors: {
  custom: {
    50: '#f5ed93',
    500: '#ece562',
    950: '#000000',
  },
}
SCSS
$custom: #ece562;
$custom-light: #f5ed93;
$custom-dark: #000000;
JSON
{
  "hex": "#ece562",
  "rgb": {
    "r": 236,
    "g": 229,
    "b": 98
  },
  "hsl": {
    "h": 56.957,
    "s": 78.409,
    "l": 65.49
  },
  "oklch": {
    "l": 0.90285,
    "c": 0.15125,
    "h": 106.2
  },
  "luminance": 0.74753
}

Semantic roles & 50–950 ramp

primary
#ECE562
secondary
#373DBC
accent
#15DB0B
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#17160D
muted
#85847F

Preview Lab

Preview with #ECE562

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

Preview Lab → · Contrast checker → · Palette generator →

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