#F7ECA2#F7ECA2

#F7ECA2 is a very light, moderate yellow. Relative luminance 0.824; OKLCH L 93.5% C 0.094 H 100.8°. Best body text is #000000 at 17.47:1 contrast (WCAG AA passes).

Color values

HEX#F7ECA2
RGBrgb(247, 236, 162)
HSLhsl(52, 84%, 80%)
HSVhsv(52, 34%, 97%)
CMYKcmyk(0%, 4.5%, 34.4%, 3.1%)
CIE-LABlab(92.74, -6.93, 37.27)
CIE-LCHlch(92.74, 37.91, 100.53°)
OKLaboklab(93.5% -0.0176 0.0923)
OKLCHoklch(93.5% 0.094 100.8)
XYZxyz(74.8758, 82.3756, 46.1312)
Luminance0.8237 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7ECA2 #A2ADF7
analogous
#F7C1A2 #F7ECA2 #D8F7A2
triadic
#F7ECA2 #A2F7EC #ECA2F7
tetradic
#F7ECA2 #A2F7C1 #A2ADF7 #F7A2D8
square
#F7ECA2 #A2F7C1 #A2ADF7 #F7A2D8
split-complementary
#F7ECA2 #A2D8F7 #C1A2F7
monochromatic
#EDD531 #F2E06A #F7ECA2 #FCF8DA #FDF9E3

Accessibility & contrast

On white

1.20
#F7ECA2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.47
#F7ECA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7ECA2
17.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7ECA2#FFFFFF#000000##000000
##F7ECA21.001.2017.4717.47
#FFFFFF1.201.0021.0021.00
#00000017.4721.001.001.00
##00000017.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9E79D
Deuteranopia (green-blind)
#FDECA5
Tritanopia (blue-blind)
#FFE2D9
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #f7eca2;
/* rgb */ color: rgb(247, 236, 162);
/* oklch */ color: oklch(93.5% 0.094 100.8);
Tailwind
colors: {
  custom: {
    50: '#fbf2be',
    500: '#f7eca2',
    950: '#000000',
  },
}
SCSS
$custom: #f7eca2;
$custom-light: #fbf2be;
$custom-dark: #000000;
JSON
{
  "hex": "#f7eca2",
  "rgb": {
    "r": 247,
    "g": 236,
    "b": 162
  },
  "hsl": {
    "h": 52.235,
    "s": 84.158,
    "l": 80.196
  },
  "oklch": {
    "l": 0.93501,
    "c": 0.09397,
    "h": 100.8
  },
  "luminance": 0.82374
}

Semantic roles & 50–950 ramp

primary
#F7ECA2
secondary
#6675D7
accent
#21E105
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#171612
muted
#858582

Preview Lab

Preview with #F7ECA2

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

Preview Lab → · Contrast checker → · Palette generator →

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