#ECF06B#ECF06B

#ECF06B is a very light, vivid yellow. Relative luminance 0.812; OKLCH L 92.7% C 0.155 H 110.7°. Best body text is #000000 at 17.24:1 contrast (WCAG AA passes).

Color values

HEX#ECF06B
RGBrgb(236, 240, 107)
HSLhsl(62, 82%, 68%)
HSVhsv(62, 55%, 94%)
CMYKcmyk(1.7%, 0%, 55.4%, 5.9%)
CIE-LABlab(92.23, -18.42, 62.55)
CIE-LCHlch(92.23, 65.21, 106.40°)
OKLaboklab(92.66% -0.0547 0.145)
OKLCHoklch(92.66% 0.155 110.7)
XYZxyz(68.4077, 81.2162, 25.9798)
Luminance0.8122 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF06B #6F6BF0
analogous
#F0B26B #ECF06B #A9F06B
triadic
#ECF06B #6BECF0 #F06BEC
tetradic
#ECF06B #6BF0B2 #6F6BF0 #F06BA9
square
#ECF06B #6BF0B2 #6F6BF0 #F06BA9
split-complementary
#ECF06B #6BA9F0 #B26BF0
monochromatic
#C6CC15 #E5EA33 #ECF06B #F3F6A3 #FAFBDA

Accessibility & contrast

On white

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

On black

17.24
#ECF06B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF06B
17.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF06B#FFFFFF#000000##000000
##ECF06B1.001.2217.2417.24
#FFFFFF1.221.0021.0021.00
#00000017.2421.001.001.00
##00000017.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE75D
Deuteranopia (green-blind)
#FFEB73
Tritanopia (blue-blind)
#FAE3D3
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #ecf06b;
/* rgb */ color: rgb(236, 240, 107);
/* oklch */ color: oklch(92.7% 0.155 110.7);
Tailwind
colors: {
  custom: {
    50: '#f5f49a',
    500: '#ecf06b',
    950: '#000000',
  },
}
SCSS
$custom: #ecf06b;
$custom-light: #f5f49a;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf06b",
  "rgb": {
    "r": 236,
    "g": 240,
    "b": 107
  },
  "hsl": {
    "h": 61.805,
    "s": 81.595,
    "l": 68.039
  },
  "oklch": {
    "l": 0.92662,
    "c": 0.155,
    "h": 110.7
  },
  "luminance": 0.81215
}

Semantic roles & 50–950 ramp

primary
#ECF06B
secondary
#3B37C8
accent
#08DE0E
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17170E
muted
#85857F

Preview Lab

Preview with #ECF06B

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

Preview Lab → · Contrast checker → · Palette generator →

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