#ECF168#ECF168

#ECF168 is a very light, vivid yellow. Relative luminance 0.817; OKLCH L 92.8% C 0.159 H 111.1°. Best body text is #000000 at 17.35:1 contrast (WCAG AA passes).

Color values

HEX#ECF168
RGBrgb(236, 241, 104)
HSLhsl(62, 83%, 68%)
HSVhsv(62, 57%, 95%)
CMYKcmyk(2.1%, 0%, 56.8%, 5.5%)
CIE-LABlab(92.46, -19.12, 64.11)
CIE-LCHlch(92.46, 66.90, 106.61°)
OKLaboklab(92.84% -0.057 0.148)
OKLCHoklch(92.84% 0.159 111.1)
XYZxyz(68.5478, 81.7445, 25.2613)
Luminance0.8174 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF168 #6D68F1
analogous
#F1B268 #ECF168 #A7F168
triadic
#ECF168 #68ECF1 #F168EC
tetradic
#ECF168 #68F1B2 #6D68F1 #F168A7
square
#ECF168 #68F1B2 #6D68F1 #F168A7
split-complementary
#ECF168 #68A7F1 #B268F1
monochromatic
#C5CC13 #E5EC30 #ECF168 #F3F6A0 #FAFBD8

Accessibility & contrast

On white

1.21
#ECF168 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.35
#ECF168 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF168
17.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF168#FFFFFF#000000##000000
##ECF1681.001.2117.3517.35
#FFFFFF1.211.0021.0021.00
#00000017.3521.001.001.00
##00000017.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE759
Deuteranopia (green-blind)
#FFEB70
Tritanopia (blue-blind)
#FBE4D3
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #ecf168;
/* rgb */ color: rgb(236, 241, 104);
/* oklch */ color: oklch(92.8% 0.159 111.1);
Tailwind
colors: {
  custom: {
    50: '#f5f598',
    500: '#ecf168',
    950: '#000000',
  },
}
SCSS
$custom: #ecf168;
$custom-light: #f5f598;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf168",
  "rgb": {
    "r": 236,
    "g": 241,
    "b": 104
  },
  "hsl": {
    "h": 62.19,
    "s": 83.03,
    "l": 67.647
  },
  "oklch": {
    "l": 0.9284,
    "c": 0.15861,
    "h": 111.1
  },
  "luminance": 0.81743
}

Semantic roles & 50–950 ramp

primary
#ECF168
secondary
#3A35C8
accent
#06DF0E
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17170E
muted
#85857F

Preview Lab

Preview with #ECF168

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

Preview Lab → · Contrast checker → · Palette generator →

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