#ECE74B#ECE74B

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

Color values

HEX#ECE74B
RGBrgb(236, 231, 75)
HSLhsl(58, 81%, 61%)
HSVhsv(58, 68%, 93%)
CMYKcmyk(0%, 2.1%, 68.2%, 7.5%)
CIE-LABlab(89.62, -16.03, 72.69)
CIE-LCHlch(89.62, 74.43, 102.44°)
OKLaboklab(90.5% -0.0512 0.162)
OKLCHoklch(90.5% 0.17 107.5)
XYZxyz(64.4404, 75.4948, 17.8327)
Luminance0.7549 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECE74B #4B50EC
analogous
#EC964B #ECE74B #A0EC4B
triadic
#ECE74B #4BECE7 #E74BEC
tetradic
#ECE74B #4BEC96 #4B50EC #EC4BA0
square
#ECE74B #4BEC96 #4B50EC #EC4BA0
split-complementary
#ECE74B #4BA0EC #964BEC
monochromatic
#ABA612 #E2DC18 #ECE74B #F2EE82 #F8F6BA

Accessibility & contrast

On white

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

On black

16.10
#ECE74B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECE74B
16.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECE74B#FFFFFF#000000##000000
##ECE74B1.001.3016.1016.10
#FFFFFF1.301.0021.0021.00
#00000016.1021.001.001.00
##00000016.1021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ece74b;
/* rgb */ color: rgb(236, 231, 75);
/* oklch */ color: oklch(90.5% 0.170 107.5);
Tailwind
colors: {
  custom: {
    50: '#f6ee86',
    500: '#ece74b',
    950: '#000000',
  },
}
SCSS
$custom: #ece74b;
$custom-light: #f6ee86;
$custom-dark: #000000;
JSON
{
  "hex": "#ece74b",
  "rgb": {
    "r": 236,
    "g": 231,
    "b": 75
  },
  "hsl": {
    "h": 58.137,
    "s": 80.905,
    "l": 60.98
  },
  "oklch": {
    "l": 0.90504,
    "c": 0.16994,
    "h": 107.5
  },
  "luminance": 0.75493
}

Semantic roles & 50–950 ramp

primary
#ECE74B
secondary
#3033AC
accent
#0FDD08
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#18160C
muted
#86847F

Preview Lab

Preview with #ECE74B

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

Preview Lab → · Contrast checker → · Palette generator →

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