#ECF05B#ECF05B

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

Color values

HEX#ECF05B
RGBrgb(236, 240, 91)
HSLhsl(62, 83%, 65%)
HSVhsv(62, 62%, 94%)
CMYKcmyk(1.7%, 0%, 62.1%, 5.9%)
CIE-LABlab(92.09, -19.51, 69.10)
CIE-LCHlch(92.09, 71.80, 105.76°)
OKLaboklab(92.51% -0.0594 0.1569)
OKLCHoklch(92.51% 0.168 110.7)
XYZxyz(67.6425, 80.9101, 21.9495)
Luminance0.8091 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF05B #5F5BF0
analogous
#F0AA5B #ECF05B #A1F05B
triadic
#ECF05B #5BECF0 #F05BEC
tetradic
#ECF05B #5BF0AA #5F5BF0 #F05BA1
square
#ECF05B #5BF0AA #5F5BF0 #F05BA1
split-complementary
#ECF05B #5BA1F0 #AA5BF0
monochromatic
#BABF11 #E6EB23 #ECF05B #F2F593 #F9FACB

Accessibility & contrast

On white

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

On black

17.18
#ECF05B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF05B
17.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF05B#FFFFFF#000000##000000
##ECF05B1.001.2217.1817.18
#FFFFFF1.221.0021.0021.00
#00000017.1821.001.001.00
##00000017.1821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ecf05b;
/* rgb */ color: rgb(236, 240, 91);
/* oklch */ color: oklch(92.5% 0.168 110.7);
Tailwind
colors: {
  custom: {
    50: '#f5f490',
    500: '#ecf05b',
    950: '#000000',
  },
}
SCSS
$custom: #ecf05b;
$custom-light: #f5f490;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf05b",
  "rgb": {
    "r": 236,
    "g": 240,
    "b": 91
  },
  "hsl": {
    "h": 61.611,
    "s": 83.24,
    "l": 64.902
  },
  "oklch": {
    "l": 0.9251,
    "c": 0.16778,
    "h": 110.7
  },
  "luminance": 0.80908
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #ECF05B

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

Preview Lab → · Contrast checker → · Palette generator →

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