#F5F593#F5F593

#F5F593 is a very light, vivid yellow. Relative luminance 0.868; OKLCH L 94.9% C 0.120 H 108.5°. Best body text is #000000 at 18.36:1 contrast (WCAG AA passes).

Color values

HEX#F5F593
RGBrgb(245, 245, 147)
HSLhsl(60, 83%, 77%)
HSVhsv(60, 40%, 96%)
CMYKcmyk(0%, 0%, 40%, 3.9%)
CIE-LABlab(94.66, -13.78, 47.11)
CIE-LCHlch(94.66, 49.09, 106.31°)
OKLaboklab(94.92% -0.0382 0.1143)
OKLCHoklch(94.92% 0.121 108.5)
XYZxyz(75.5762, 86.8254, 40.3759)
Luminance0.8682 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5F593 #9393F5
analogous
#F5C493 #F5F593 #C4F593
triadic
#F5F593 #93F5F5 #F593F5
tetradic
#F5F593 #93F5C4 #9393F5 #F593C4
square
#F5F593 #93F5C4 #9393F5 #F593C4
split-complementary
#F5F593 #93C4F5 #C493F5
monochromatic
#EBEB23 #F0F05B #F5F593 #FAFACB #FCFCE3

Accessibility & contrast

On white

1.14
#F5F593 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.36
#F5F593 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5F593
18.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5F593#FFFFFF#000000##000000
##F5F5931.001.1418.3618.36
#FFFFFF1.141.0021.0021.00
#00000018.3621.001.001.00
##00000018.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE8B
Deuteranopia (green-blind)
#FFF197
Tritanopia (blue-blind)
#FFEADD
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #f5f593;
/* rgb */ color: rgb(245, 245, 147);
/* oklch */ color: oklch(94.9% 0.120 108.5);
Tailwind
colors: {
  custom: {
    50: '#faf8b4',
    500: '#f5f593',
    950: '#000000',
  },
}
SCSS
$custom: #f5f593;
$custom-light: #faf8b4;
$custom-dark: #000000;
JSON
{
  "hex": "#f5f593",
  "rgb": {
    "r": 245,
    "g": 245,
    "b": 147
  },
  "hsl": {
    "h": 60,
    "s": 83.051,
    "l": 76.863
  },
  "oklch": {
    "l": 0.94918,
    "c": 0.1205,
    "h": 108.5
  },
  "luminance": 0.86824
}

Semantic roles & 50–950 ramp

primary
#F5F593
secondary
#5959D3
accent
#06DF06
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#171711
muted
#858581

Preview Lab

Preview with #F5F593

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

Preview Lab → · Contrast checker → · Palette generator →

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