#ECF062#ECF062

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

Color values

HEX#ECF062
RGBrgb(236, 240, 98)
HSLhsl(62, 83%, 66%)
HSVhsv(62, 59%, 94%)
CMYKcmyk(1.7%, 0%, 59.2%, 5.9%)
CIE-LABlab(92.15, -19.05, 66.30)
CIE-LCHlch(92.15, 68.98, 106.03°)
OKLaboklab(92.57% -0.0574 0.1519)
OKLCHoklch(92.57% 0.162 110.7)
XYZxyz(67.9586, 81.0365, 23.6146)
Luminance0.8104 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF062 #6662F0
analogous
#F0AD62 #ECF062 #A5F062
triadic
#ECF062 #62ECF0 #F062EC
tetradic
#ECF062 #62F0AD #6662F0 #F062A5
square
#ECF062 #62F0AD #6662F0 #F062A5
split-complementary
#ECF062 #62A5F0 #AD62F0
monochromatic
#C0C513 #E5EB2A #ECF062 #F3F59A #FAFBD2

Accessibility & contrast

On white

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

On black

17.21
#ECF062 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF062
17.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF062#FFFFFF#000000##000000
##ECF0621.001.2217.2117.21
#FFFFFF1.221.0021.0021.00
#00000017.2121.001.001.00
##00000017.2121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ecf062;
/* rgb */ color: rgb(236, 240, 98);
/* oklch */ color: oklch(92.6% 0.162 110.7);
Tailwind
colors: {
  custom: {
    50: '#f5f494',
    500: '#ecf062',
    950: '#000000',
  },
}
SCSS
$custom: #ecf062;
$custom-light: #f5f494;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf062",
  "rgb": {
    "r": 236,
    "g": 240,
    "b": 98
  },
  "hsl": {
    "h": 61.69,
    "s": 82.558,
    "l": 66.275
  },
  "oklch": {
    "l": 0.92573,
    "c": 0.16242,
    "h": 110.7
  },
  "luminance": 0.81035
}

Semantic roles & 50–950 ramp

primary
#ECF062
secondary
#3834C2
accent
#07DF0D
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17170E
muted
#85857F

Preview Lab

Preview with #ECF062

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

Preview Lab → · Contrast checker → · Palette generator →

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