#F5E671#F5E671

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

Color values

HEX#F5E671
RGBrgb(245, 230, 113)
HSLhsl(53, 87%, 70%)
HSVhsv(53, 54%, 96%)
CMYKcmyk(0%, 6.1%, 53.9%, 3.9%)
CIE-LABlab(90.41, -9.45, 57.99)
CIE-LCHlch(90.41, 58.76, 99.25°)
OKLaboklab(91.41% -0.029 0.1357)
OKLCHoklch(91.41% 0.139 102.1)
XYZxyz(68.9359, 77.2008, 26.8896)
Luminance0.7720 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E671 #7180F5
analogous
#F5A471 #F5E671 #C2F571
triadic
#F5E671 #71F5E6 #E671F5
tetradic
#F5E671 #71F5A4 #7180F5 #F571C2
square
#F5E671 #71F5A4 #7180F5 #F571C2
split-complementary
#F5E671 #71C2F5 #A471F5
monochromatic
#DCC510 #F1DC38 #F5E671 #F9F0AA #FDFAE2

Accessibility & contrast

On white

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

On black

16.44
#F5E671 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E671
16.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E671#FFFFFF#000000##000000
##F5E6711.001.2816.4416.44
#FFFFFF1.281.0021.0021.00
#00000016.4421.001.001.00
##00000016.4421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f5e671;
/* rgb */ color: rgb(245, 230, 113);
/* oklch */ color: oklch(91.4% 0.139 102.1);
Tailwind
colors: {
  custom: {
    50: '#fbed9d',
    500: '#f5e671',
    950: '#000000',
  },
}
SCSS
$custom: #f5e671;
$custom-light: #fbed9d;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e671",
  "rgb": {
    "r": 245,
    "g": 230,
    "b": 113
  },
  "hsl": {
    "h": 53.182,
    "s": 86.842,
    "l": 70.196
  },
  "oklch": {
    "l": 0.91411,
    "c": 0.13878,
    "h": 102.1
  },
  "luminance": 0.77198
}

Semantic roles & 50–950 ramp

primary
#F5E671
secondary
#3B4CCF
accent
#1CE302
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F5E671

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

Preview Lab → · Contrast checker → · Palette generator →

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