#ECF060#ECF060

#ECF060 is a very light, vivid yellow. Relative luminance 0.810; OKLCH L 92.6% C 0.164 H 110.7°. Best body text is #000000 at 17.20:1 contrast (WCAG AA passes).

Color values

HEX#ECF060
RGBrgb(236, 240, 96)
HSLhsl(62, 83%, 66%)
HSVhsv(62, 60%, 94%)
CMYKcmyk(1.7%, 0%, 60%, 5.9%)
CIE-LABlab(92.13, -19.19, 67.11)
CIE-LCHlch(92.13, 69.80, 105.96°)
OKLaboklab(92.55% -0.058 0.1534)
OKLCHoklch(92.55% 0.164 110.7)
XYZxyz(67.8654, 80.9992, 23.1235)
Luminance0.8100 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF060 #6460F0
analogous
#F0AC60 #ECF060 #A4F060
triadic
#ECF060 #60ECF0 #F060EC
tetradic
#ECF060 #60F0AC #6460F0 #F060A4
square
#ECF060 #60F0AC #6460F0 #F060A4
split-complementary
#ECF060 #60A4F0 #AC60F0
monochromatic
#BEC312 #E5EB28 #ECF060 #F3F598 #F9FBD0

Accessibility & contrast

On white

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

On black

17.20
#ECF060 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF060
17.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF060#FFFFFF#000000##000000
##ECF0601.001.2217.2017.20
#FFFFFF1.221.0021.0021.00
#00000017.2021.001.001.00
##00000017.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE64F
Deuteranopia (green-blind)
#FFEA69
Tritanopia (blue-blind)
#FBE2D2
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #ecf060;
/* rgb */ color: rgb(236, 240, 96);
/* oklch */ color: oklch(92.6% 0.164 110.7);
Tailwind
colors: {
  custom: {
    50: '#f5f493',
    500: '#ecf060',
    950: '#000000',
  },
}
SCSS
$custom: #ecf060;
$custom-light: #f5f493;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf060",
  "rgb": {
    "r": 236,
    "g": 240,
    "b": 96
  },
  "hsl": {
    "h": 61.667,
    "s": 82.759,
    "l": 65.882
  },
  "oklch": {
    "l": 0.92554,
    "c": 0.16399,
    "h": 110.7
  },
  "luminance": 0.80998
}

Semantic roles & 50–950 ramp

primary
#ECF060
secondary
#3733C1
accent
#06DF0C
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#17170D
muted
#85857F

Preview Lab

Preview with #ECF060

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

Preview Lab → · Contrast checker → · Palette generator →

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