#F5E368#F5E368

#F5E368 is a very light, vivid yellow. Relative luminance 0.753; OKLCH L 90.7% C 0.144 H 101.1°. Best body text is #000000 at 16.07:1 contrast (WCAG AA passes).

Color values

HEX#F5E368
RGBrgb(245, 227, 104)
HSLhsl(52, 88%, 68%)
HSVhsv(52, 58%, 96%)
CMYKcmyk(0%, 7.3%, 57.6%, 3.9%)
CIE-LABlab(89.56, -8.62, 61.06)
CIE-LCHlch(89.56, 61.66, 98.04°)
OKLaboklab(90.7% -0.0276 0.1413)
OKLCHoklch(90.7% 0.144 101.1)
XYZxyz(67.6264, 75.3528, 24.0763)
Luminance0.7535 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E368 #687AF5
analogous
#F59C68 #F5E368 #C1F568
triadic
#F5E368 #68F5E3 #E368F5
tetradic
#F5E368 #68F59C #687AF5 #F568C1
square
#F5E368 #68F59C #687AF5 #F568C1
split-complementary
#F5E368 #68C1F5 #9C68F5
monochromatic
#D5BB0E #F1D82F #F5E368 #F9EEA1 #FDF8DB

Accessibility & contrast

On white

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

On black

16.07
#F5E368 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E368
16.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E368#FFFFFF#000000##000000
##F5E3681.001.3116.0716.07
#FFFFFF1.311.0021.0021.00
#00000016.0721.001.001.00
##00000016.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DD5B
Deuteranopia (green-blind)
#FBE46E
Tritanopia (blue-blind)
#FFD5C8
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #f5e368;
/* rgb */ color: rgb(245, 227, 104);
/* oklch */ color: oklch(90.7% 0.144 101.1);
Tailwind
colors: {
  custom: {
    50: '#fbeb97',
    500: '#f5e368',
    950: '#000000',
  },
}
SCSS
$custom: #f5e368;
$custom-light: #fbeb97;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e368",
  "rgb": {
    "r": 245,
    "g": 227,
    "b": 104
  },
  "hsl": {
    "h": 52.34,
    "s": 87.578,
    "l": 68.431
  },
  "oklch": {
    "l": 0.90703,
    "c": 0.14398,
    "h": 101.1
  },
  "luminance": 0.7535
}

Semantic roles & 50–950 ramp

primary
#F5E368
secondary
#3347CE
accent
#1EE401
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F5E368

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

Preview Lab → · Contrast checker → · Palette generator →

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