#F5ECA2#F5ECA2

#F5ECA2 is a very light, moderate yellow. Relative luminance 0.820; OKLCH L 93.3% C 0.094 H 102.1°. Best body text is #000000 at 17.40:1 contrast (WCAG AA passes).

Color values

HEX#F5ECA2
RGBrgb(245, 236, 162)
HSLhsl(53, 81%, 80%)
HSVhsv(53, 34%, 96%)
CMYKcmyk(0%, 3.7%, 33.9%, 3.9%)
CIE-LABlab(92.58, -7.69, 37.03)
CIE-LCHlch(92.58, 37.82, 101.73°)
OKLaboklab(93.34% -0.0197 0.0918)
OKLCHoklch(93.34% 0.094 102.1)
XYZxyz(74.1741, 82.0138, 46.0983)
Luminance0.8201 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5ECA2 #A2ABF5
analogous
#F5C3A2 #F5ECA2 #D5F5A2
triadic
#F5ECA2 #A2F5EC #ECA2F5
tetradic
#F5ECA2 #A2F5C3 #A2ABF5 #F5A2D5
square
#F5ECA2 #A2F5C3 #A2ABF5 #F5A2D5
split-complementary
#F5ECA2 #A2D5F5 #C3A2F5
monochromatic
#E9D533 #EFE16B #F5ECA2 #FBF7D9 #FCF9E3

Accessibility & contrast

On white

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

On black

17.40
#F5ECA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5ECA2
17.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5ECA2#FFFFFF#000000##000000
##F5ECA21.001.2117.4017.40
#FFFFFF1.211.0021.0021.00
#00000017.4021.001.001.00
##00000017.4021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f5eca2;
/* rgb */ color: rgb(245, 236, 162);
/* oklch */ color: oklch(93.3% 0.094 102.1);
Tailwind
colors: {
  custom: {
    50: '#f9f2be',
    500: '#f5eca2',
    950: '#000000',
  },
}
SCSS
$custom: #f5eca2;
$custom-light: #f9f2be;
$custom-dark: #000000;
JSON
{
  "hex": "#f5eca2",
  "rgb": {
    "r": 245,
    "g": 236,
    "b": 162
  },
  "hsl": {
    "h": 53.494,
    "s": 80.583,
    "l": 79.804
  },
  "oklch": {
    "l": 0.93336,
    "c": 0.09386,
    "h": 102.1
  },
  "luminance": 0.82012
}

Semantic roles & 50–950 ramp

primary
#F5ECA2
secondary
#6773D5
accent
#20DD09
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#171612
muted
#858582

Preview Lab

Preview with #F5ECA2

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

Preview Lab → · Contrast checker → · Palette generator →

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