#ECF795#ECF795

#ECF795 is a very light, vivid yellow. Relative luminance 0.865; OKLCH L 94.7% C 0.122 H 114.0°. Best body text is #000000 at 18.30:1 contrast (WCAG AA passes).

Color values

HEX#ECF795
RGBrgb(236, 247, 149)
HSLhsl(67, 86%, 78%)
HSVhsv(67, 40%, 97%)
CMYKcmyk(4.5%, 0%, 39.7%, 3.1%)
CIE-LABlab(94.54, -17.98, 45.84)
CIE-LCHlch(94.54, 49.24, 111.41°)
OKLaboklab(94.66% -0.0497 0.1116)
OKLCHoklch(94.66% 0.122 114)
XYZxyz(73.2783, 86.5252, 41.2687)
Luminance0.8652 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF795 #A095F7
analogous
#F7D195 #ECF795 #BBF795
triadic
#ECF795 #95ECF7 #F795EC
tetradic
#ECF795 #95F7D1 #A095F7 #F795BB
square
#ECF795 #95F7D1 #A095F7 #F795BB
split-complementary
#ECF795 #95BBF7 #D195F7
monochromatic
#D8EE23 #E2F35C #ECF795 #F6FBCE #FAFDE3

Accessibility & contrast

On white

1.15
#ECF795 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.30
#ECF795 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF795
18.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF795#FFFFFF#000000##000000
##ECF7951.001.1518.3018.30
#FFFFFF1.151.0021.0021.00
#00000018.3021.001.001.00
##00000018.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE8D
Deuteranopia (green-blind)
#FFF09A
Tritanopia (blue-blind)
#F7EDDF
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #ecf795;
/* rgb */ color: rgb(236, 247, 149);
/* oklch */ color: oklch(94.7% 0.122 114.0);
Tailwind
colors: {
  custom: {
    50: '#f3f9b5',
    500: '#ecf795',
    950: '#000000',
  },
}
SCSS
$custom: #ecf795;
$custom-light: #f3f9b5;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf795",
  "rgb": {
    "r": 236,
    "g": 247,
    "b": 149
  },
  "hsl": {
    "h": 66.735,
    "s": 85.965,
    "l": 77.647
  },
  "oklch": {
    "l": 0.9466,
    "c": 0.12213,
    "h": 114
  },
  "luminance": 0.86524
}

Semantic roles & 50–950 ramp

primary
#ECF795
secondary
#685AD6
accent
#03E21C
background
#FFFFFD
surface
#FEFFF8
border
#D6D7D1
text
#171711
muted
#858581

Preview Lab

Preview with #ECF795

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

Preview Lab → · Contrast checker → · Palette generator →

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