#F5E18B#F5E18B

#F5E18B is a very light, moderate yellow. Relative luminance 0.751; OKLCH L 90.8% C 0.109 H 96.6°. Best body text is #000000 at 16.03:1 contrast (WCAG AA passes).

Color values

HEX#F5E18B
RGBrgb(245, 225, 139)
HSLhsl(49, 84%, 75%)
HSVhsv(49, 43%, 96%)
CMYKcmyk(0%, 8.2%, 43.3%, 3.9%)
CIE-LABlab(89.45, -4.64, 44.45)
CIE-LCHlch(89.45, 44.70, 95.96°)
OKLaboklab(90.75% -0.0126 0.1078)
OKLCHoklch(90.75% 0.109 96.6)
XYZxyz(69.2433, 75.1294, 35.2751)
Luminance0.7513 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E18B #8B9FF5
analogous
#F5AC8B #F5E18B #D4F58B
triadic
#F5E18B #8BF5E1 #E18BF5
tetradic
#F5E18B #8BF5AC #8B9FF5 #F58BD4
square
#F5E18B #8BF5AC #8B9FF5 #F58BD4
split-complementary
#F5E18B #8BD4F5 #AC8BF5
monochromatic
#EBC41A #F0D253 #F5E18B #FAF0C3 #FDF8E3

Accessibility & contrast

On white

1.31
#F5E18B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.03
#F5E18B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E18B
16.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E18B#FFFFFF#000000##000000
##F5E18B1.001.3116.0316.03
#FFFFFF1.311.0021.0021.00
#00000016.0321.001.001.00
##00000016.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1DD84
Deuteranopia (green-blind)
#F6E48E
Tritanopia (blue-blind)
#FFD5CC
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #f5e18b;
/* rgb */ color: rgb(245, 225, 139);
/* oklch */ color: oklch(90.8% 0.109 96.6);
Tailwind
colors: {
  custom: {
    50: '#faeaae',
    500: '#f5e18b',
    950: '#000000',
  },
}
SCSS
$custom: #f5e18b;
$custom-light: #faeaae;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e18b",
  "rgb": {
    "r": 245,
    "g": 225,
    "b": 139
  },
  "hsl": {
    "h": 48.679,
    "s": 84.127,
    "l": 75.294
  },
  "oklch": {
    "l": 0.90751,
    "c": 0.10857,
    "h": 96.6
  },
  "luminance": 0.75127
}

Semantic roles & 50–950 ramp

primary
#F5E18B
secondary
#526AD2
accent
#2EE105
background
#FFFEFD
surface
#FFFDF7
border
#D7D5D0
text
#181610
muted
#868481

Preview Lab

Preview with #F5E18B

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

Preview Lab → · Contrast checker → · Palette generator →

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