#F5E867#F5E867

#F5E867 is a very light, vivid yellow. Relative luminance 0.781; OKLCH L 91.7% C 0.149 H 103.6°. Best body text is #000000 at 16.62:1 contrast (WCAG AA passes).

Color values

HEX#F5E867
RGBrgb(245, 232, 103)
HSLhsl(55, 88%, 68%)
HSVhsv(55, 58%, 96%)
CMYKcmyk(0%, 5.3%, 58%, 3.9%)
CIE-LABlab(90.83, -11.18, 62.92)
CIE-LCHlch(90.83, 63.90, 100.07°)
OKLaboklab(91.71% -0.035 0.1452)
OKLCHoklch(91.71% 0.149 103.6)
XYZxyz(68.9634, 78.1074, 24.2729)
Luminance0.7811 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E867 #6774F5
analogous
#F5A167 #F5E867 #BBF567
triadic
#F5E867 #67F5E8 #E867F5
tetradic
#F5E867 #67F5A1 #6774F5 #F567BB
square
#F5E867 #67F5A1 #6774F5 #F567BB
split-complementary
#F5E867 #67BBF5 #A167F5
monochromatic
#D4C20E #F1DF2E #F5E867 #F9F1A0 #FDF9DA

Accessibility & contrast

On white

1.26
#F5E867 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.62
#F5E867 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E867
16.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E867#FFFFFF#000000##000000
##F5E8671.001.2616.6216.62
#FFFFFF1.261.0021.0021.00
#00000016.6221.001.001.00
##00000016.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE159
Deuteranopia (green-blind)
#FFE86E
Tritanopia (blue-blind)
#FFDACC
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #f5e867;
/* rgb */ color: rgb(245, 232, 103);
/* oklch */ color: oklch(91.7% 0.149 103.6);
Tailwind
colors: {
  custom: {
    50: '#fbef97',
    500: '#f5e867',
    950: '#000000',
  },
}
SCSS
$custom: #f5e867;
$custom-light: #fbef97;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e867",
  "rgb": {
    "r": 245,
    "g": 232,
    "b": 103
  },
  "hsl": {
    "h": 54.507,
    "s": 87.654,
    "l": 68.235
  },
  "oklch": {
    "l": 0.91709,
    "c": 0.14934,
    "h": 103.6
  },
  "luminance": 0.78105
}

Semantic roles & 50–950 ramp

primary
#F5E867
secondary
#3240CE
accent
#16E401
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160E
muted
#86857F

Preview Lab

Preview with #F5E867

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

Preview Lab → · Contrast checker → · Palette generator →

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