#ECE74E#ECE74E

#ECE74E is a very light, vivid yellow. Relative luminance 0.755; OKLCH L 90.5% C 0.168 H 107.5°. Best body text is #000000 at 16.11:1 contrast (WCAG AA passes).

Color values

HEX#ECE74E
RGBrgb(236, 231, 78)
HSLhsl(58, 81%, 62%)
HSVhsv(58, 67%, 93%)
CMYKcmyk(0%, 2.1%, 66.9%, 7.5%)
CIE-LABlab(89.64, -15.87, 71.60)
CIE-LCHlch(89.64, 73.34, 102.50°)
OKLaboklab(90.53% -0.0505 0.1602)
OKLCHoklch(90.53% 0.168 107.5)
XYZxyz(64.5455, 75.5369, 18.3863)
Luminance0.7553 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECE74E #4E53EC
analogous
#EC984E #ECE74E #A2EC4E
triadic
#ECE74E #4EECE7 #E74EEC
tetradic
#ECE74E #4EEC98 #4E53EC #EC4EA2
square
#ECE74E #4EEC98 #4E53EC #EC4EA2
split-complementary
#ECE74E #4EA2EC #984EEC
monochromatic
#ADA813 #E4DE19 #ECE74E #F2EE85 #F8F6BD

Accessibility & contrast

On white

1.30
#ECE74E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.11
#ECE74E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECE74E
16.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECE74E#FFFFFF#000000##000000
##ECE74E1.001.3016.1116.11
#FFFFFF1.301.0021.0021.00
#00000016.1121.001.001.00
##00000016.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FADE37
Deuteranopia (green-blind)
#FDE458
Tritanopia (blue-blind)
#FDD8C8
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #ece74e;
/* rgb */ color: rgb(236, 231, 78);
/* oklch */ color: oklch(90.5% 0.168 107.5);
Tailwind
colors: {
  custom: {
    50: '#f6ee88',
    500: '#ece74e',
    950: '#000000',
  },
}
SCSS
$custom: #ece74e;
$custom-light: #f6ee88;
$custom-dark: #000000;
JSON
{
  "hex": "#ece74e",
  "rgb": {
    "r": 236,
    "g": 231,
    "b": 78
  },
  "hsl": {
    "h": 58.101,
    "s": 80.612,
    "l": 61.569
  },
  "oklch": {
    "l": 0.90526,
    "c": 0.168,
    "h": 107.5
  },
  "luminance": 0.75535
}

Semantic roles & 50–950 ramp

primary
#ECE74E
secondary
#3034AE
accent
#0FDD09
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#18160C
muted
#86847F

Preview Lab

Preview with #ECE74E

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

Preview Lab → · Contrast checker → · Palette generator →

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