#F5E68E#F5E68E

#F5E68E is a very light, moderate yellow. Relative luminance 0.780; OKLCH L 91.8% C 0.110 H 99.8°. Best body text is #000000 at 16.59:1 contrast (WCAG AA passes).

Color values

HEX#F5E68E
RGBrgb(245, 230, 142)
HSLhsl(51, 84%, 76%)
HSVhsv(51, 42%, 96%)
CMYKcmyk(0%, 6.1%, 42%, 3.9%)
CIE-LABlab(90.76, -6.86, 44.63)
CIE-LCHlch(90.76, 45.15, 98.73°)
OKLaboklab(91.8% -0.0187 0.1084)
OKLCHoklch(91.8% 0.11 99.8)
XYZxyz(70.8371, 77.9613, 36.9025)
Luminance0.7796 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E68E #8E9DF5
analogous
#F5B28E #F5E68E #D0F58E
triadic
#F5E68E #8EF5E6 #E68EF5
tetradic
#F5E68E #8EF5B2 #8E9DF5 #F58ED0
square
#F5E68E #8EF5B2 #8E9DF5 #F58ED0
split-complementary
#F5E68E #8ED0F5 #B28EF5
monochromatic
#EBCD1E #F0DA56 #F5E68E #FAF2C6 #FDF9E3

Accessibility & contrast

On white

1.27
#F5E68E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.59
#F5E68E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E68E
16.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E68E#FFFFFF#000000##000000
##F5E68E1.001.2716.5916.59
#FFFFFF1.271.0021.0021.00
#00000016.5921.001.001.00
##00000016.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5E187
Deuteranopia (green-blind)
#FAE791
Tritanopia (blue-blind)
#FFDBD0
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #f5e68e;
/* rgb */ color: rgb(245, 230, 142);
/* oklch */ color: oklch(91.8% 0.110 99.8);
Tailwind
colors: {
  custom: {
    50: '#faedb0',
    500: '#f5e68e',
    950: '#000000',
  },
}
SCSS
$custom: #f5e68e;
$custom-light: #faedb0;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e68e",
  "rgb": {
    "r": 245,
    "g": 230,
    "b": 142
  },
  "hsl": {
    "h": 51.262,
    "s": 83.74,
    "l": 75.882
  },
  "oklch": {
    "l": 0.918,
    "c": 0.11,
    "h": 99.8
  },
  "luminance": 0.77959
}

Semantic roles & 50–950 ramp

primary
#F5E68E
secondary
#5567D3
accent
#25E005
background
#FFFEFD
surface
#FFFDF7
border
#D7D5D0
text
#181611
muted
#868481

Preview Lab

Preview with #F5E68E

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

Preview Lab → · Contrast checker → · Palette generator →

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