#F5E673#F5E673

#F5E673 is a very light, vivid yellow. Relative luminance 0.772; OKLCH L 91.4% C 0.137 H 101.9°. Best body text is #000000 at 16.45:1 contrast (WCAG AA passes).

Color values

HEX#F5E673
RGBrgb(245, 230, 115)
HSLhsl(53, 87%, 71%)
HSVhsv(53, 53%, 96%)
CMYKcmyk(0%, 6.1%, 53.1%, 3.9%)
CIE-LABlab(90.43, -9.29, 57.10)
CIE-LCHlch(90.43, 57.85, 99.24°)
OKLaboklab(91.43% -0.0283 0.134)
OKLCHoklch(91.43% 0.137 101.9)
XYZxyz(69.0497, 77.2464, 27.4891)
Luminance0.7724 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E673 #7382F5
analogous
#F5A573 #F5E673 #C3F573
triadic
#F5E673 #73F5E6 #E673F5
tetradic
#F5E673 #73F5A5 #7382F5 #F573C3
square
#F5E673 #73F5A5 #7382F5 #F573C3
split-complementary
#F5E673 #73C3F5 #A573F5
monochromatic
#DEC610 #F1DC3A #F5E673 #F9F0AC #FDFAE2

Accessibility & contrast

On white

1.28
#F5E673 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.45
#F5E673 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E673
16.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E673#FFFFFF#000000##000000
##F5E6731.001.2816.4516.45
#FFFFFF1.281.0021.0021.00
#00000016.4521.001.001.00
##00000016.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E068
Deuteranopia (green-blind)
#FCE778
Tritanopia (blue-blind)
#FFD8CC
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #f5e673;
/* rgb */ color: rgb(245, 230, 115);
/* oklch */ color: oklch(91.4% 0.137 101.9);
Tailwind
colors: {
  custom: {
    50: '#fbed9e',
    500: '#f5e673',
    950: '#000000',
  },
}
SCSS
$custom: #f5e673;
$custom-light: #fbed9e;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e673",
  "rgb": {
    "r": 245,
    "g": 230,
    "b": 115
  },
  "hsl": {
    "h": 53.077,
    "s": 86.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.91434,
    "c": 0.13695,
    "h": 101.9
  },
  "luminance": 0.77244
}

Semantic roles & 50–950 ramp

primary
#F5E673
secondary
#3D4ECF
accent
#1CE302
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F5E673

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

Preview Lab → · Contrast checker → · Palette generator →

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