#F5E68F#F5E68F

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

Color values

HEX#F5E68F
RGBrgb(245, 230, 143)
HSLhsl(51, 84%, 76%)
HSVhsv(51, 42%, 96%)
CMYKcmyk(0%, 6.1%, 41.6%, 3.9%)
CIE-LABlab(90.78, -6.75, 44.16)
CIE-LCHlch(90.78, 44.67, 98.70°)
OKLaboklab(91.82% -0.0183 0.1074)
OKLCHoklch(91.82% 0.109 99.7)
XYZxyz(70.9125, 77.9915, 37.2997)
Luminance0.7799 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E68F #8F9EF5
analogous
#F5B38F #F5E68F #D1F58F
triadic
#F5E68F #8FF5E6 #E68FF5
tetradic
#F5E68F #8FF5B3 #8F9EF5 #F58FD1
square
#F5E68F #8FF5B3 #8F9EF5 #F58FD1
split-complementary
#F5E68F #8FD1F5 #B38FF5
monochromatic
#EBCD1F #F0D957 #F5E68F #FAF3C7 #FCF9E3

Accessibility & contrast

On white

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

On black

16.60
#F5E68F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E68F
16.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E68F#FFFFFF#000000##000000
##F5E68F1.001.2716.6016.60
#FFFFFF1.271.0021.0021.00
#00000016.6021.001.001.00
##00000016.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5E188
Deuteranopia (green-blind)
#FAE792
Tritanopia (blue-blind)
#FFDBD1
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #f5e68f;
/* rgb */ color: rgb(245, 230, 143);
/* oklch */ color: oklch(91.8% 0.109 99.7);
Tailwind
colors: {
  custom: {
    50: '#faedb1',
    500: '#f5e68f',
    950: '#000000',
  },
}
SCSS
$custom: #f5e68f;
$custom-light: #faedb1;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e68f",
  "rgb": {
    "r": 245,
    "g": 230,
    "b": 143
  },
  "hsl": {
    "h": 51.176,
    "s": 83.607,
    "l": 76.078
  },
  "oklch": {
    "l": 0.91815,
    "c": 0.10893,
    "h": 99.7
  },
  "luminance": 0.77989
}

Semantic roles & 50–950 ramp

primary
#F5E68F
secondary
#5668D3
accent
#26E005
background
#FFFEFD
surface
#FFFDF7
border
#D7D5D0
text
#171611
muted
#858481

Preview Lab

Preview with #F5E68F

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

Preview Lab → · Contrast checker → · Palette generator →

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