#ECF05C#ECF05C

#ECF05C is a very light, vivid yellow. Relative luminance 0.809; OKLCH L 92.5% C 0.167 H 110.7°. Best body text is #000000 at 17.19:1 contrast (WCAG AA passes).

Color values

HEX#ECF05C
RGBrgb(236, 240, 92)
HSLhsl(62, 83%, 65%)
HSVhsv(62, 62%, 94%)
CMYKcmyk(1.7%, 0%, 61.7%, 5.9%)
CIE-LABlab(92.10, -19.44, 68.70)
CIE-LCHlch(92.10, 71.40, 105.80°)
OKLaboklab(92.52% -0.0591 0.1562)
OKLCHoklch(92.52% 0.167 110.7)
XYZxyz(67.6859, 80.9274, 22.1782)
Luminance0.8093 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF05C #605CF0
analogous
#F0AA5C #ECF05C #A2F05C
triadic
#ECF05C #5CECF0 #F05CEC
tetradic
#ECF05C #5CF0AA #605CF0 #F05CA2
square
#ECF05C #5CF0AA #605CF0 #F05CA2
split-complementary
#ECF05C #5CA2F0 #AA5CF0
monochromatic
#BBC012 #E5EB24 #ECF05C #F3F594 #F9FACC

Accessibility & contrast

On white

1.22
#ECF05C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.19
#ECF05C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF05C
17.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF05C#FFFFFF#000000##000000
##ECF05C1.001.2217.1917.19
#FFFFFF1.221.0021.0021.00
#00000017.1921.001.001.00
##00000017.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE649
Deuteranopia (green-blind)
#FFEA65
Tritanopia (blue-blind)
#FBE2D1
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #ecf05c;
/* rgb */ color: rgb(236, 240, 92);
/* oklch */ color: oklch(92.5% 0.167 110.7);
Tailwind
colors: {
  custom: {
    50: '#f5f490',
    500: '#ecf05c',
    950: '#000000',
  },
}
SCSS
$custom: #ecf05c;
$custom-light: #f5f490;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf05c",
  "rgb": {
    "r": 236,
    "g": 240,
    "b": 92
  },
  "hsl": {
    "h": 61.622,
    "s": 83.146,
    "l": 65.098
  },
  "oklch": {
    "l": 0.92518,
    "c": 0.16703,
    "h": 110.7
  },
  "luminance": 0.80926
}

Semantic roles & 50–950 ramp

primary
#ECF05C
secondary
#3632BE
accent
#06E00C
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#17170D
muted
#85857F

Preview Lab

Preview with #ECF05C

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

Preview Lab → · Contrast checker → · Palette generator →

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