#F5EDA2#F5EDA2

#F5EDA2 is a very light, moderate yellow. Relative luminance 0.826; OKLCH L 93.5% C 0.095 H 102.9°. Best body text is #000000 at 17.52:1 contrast (WCAG AA passes).

Color values

HEX#F5EDA2
RGBrgb(245, 237, 162)
HSLhsl(54, 81%, 80%)
HSVhsv(54, 34%, 96%)
CMYKcmyk(0%, 3.3%, 33.9%, 3.9%)
CIE-LABlab(92.84, -8.19, 37.36)
CIE-LCHlch(92.84, 38.25, 102.36°)
OKLaboklab(93.54% -0.0211 0.0925)
OKLCHoklch(93.54% 0.095 102.9)
XYZxyz(74.4628, 82.5912, 46.1946)
Luminance0.8259 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5EDA2 #A2AAF5
analogous
#F5C4A2 #F5EDA2 #D4F5A2
triadic
#F5EDA2 #A2F5ED #EDA2F5
tetradic
#F5EDA2 #A2F5C4 #A2AAF5 #F5A2D4
square
#F5EDA2 #A2F5C4 #A2AAF5 #F5A2D4
split-complementary
#F5EDA2 #A2D4F5 #C4A2F5
monochromatic
#E9D833 #EFE26B #F5EDA2 #FBF8D9 #FCFAE3

Accessibility & contrast

On white

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

On black

17.52
#F5EDA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5EDA2
17.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5EDA2#FFFFFF#000000##000000
##F5EDA21.001.2017.5217.52
#FFFFFF1.201.0021.0021.00
#00000017.5221.001.001.00
##00000017.5221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f5eda2;
/* rgb */ color: rgb(245, 237, 162);
/* oklch */ color: oklch(93.5% 0.095 102.9);
Tailwind
colors: {
  custom: {
    50: '#f9f2be',
    500: '#f5eda2',
    950: '#000000',
  },
}
SCSS
$custom: #f5eda2;
$custom-light: #f9f2be;
$custom-dark: #000000;
JSON
{
  "hex": "#f5eda2",
  "rgb": {
    "r": 245,
    "g": 237,
    "b": 162
  },
  "hsl": {
    "h": 54.217,
    "s": 80.583,
    "l": 79.804
  },
  "oklch": {
    "l": 0.93537,
    "c": 0.09493,
    "h": 102.9
  },
  "luminance": 0.82589
}

Semantic roles & 50–950 ramp

primary
#F5EDA2
secondary
#6771D5
accent
#1DDD09
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#171612
muted
#858582

Preview Lab

Preview with #F5EDA2

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

Preview Lab → · Contrast checker → · Palette generator →

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