#F5E674#F5E674

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

Color values

HEX#F5E674
RGBrgb(245, 230, 116)
HSLhsl(53, 87%, 71%)
HSVhsv(53, 53%, 96%)
CMYKcmyk(0%, 6.1%, 52.7%, 3.9%)
CIE-LABlab(90.45, -9.21, 56.66)
CIE-LCHlch(90.45, 57.40, 99.23°)
OKLaboklab(91.45% -0.028 0.1331)
OKLCHoklch(91.45% 0.136 101.9)
XYZxyz(69.1076, 77.2695, 27.7938)
Luminance0.7727 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E674 #7483F5
analogous
#F5A574 #F5E674 #C3F574
triadic
#F5E674 #74F5E6 #E674F5
tetradic
#F5E674 #74F5A5 #7483F5 #F574C3
square
#F5E674 #74F5A5 #7483F5 #F574C3
split-complementary
#F5E674 #74C3F5 #A574F5
monochromatic
#DFC710 #F1DC3B #F5E674 #F9F0AD #FDFAE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F5E674#FFFFFF#000000##000000
##F5E6741.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)
#F8E069
Deuteranopia (green-blind)
#FCE779
Tritanopia (blue-blind)
#FFD9CC
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #f5e674;
/* rgb */ color: rgb(245, 230, 116);
/* oklch */ color: oklch(91.4% 0.136 101.9);
Tailwind
colors: {
  custom: {
    50: '#fbed9f',
    500: '#f5e674',
    950: '#000000',
  },
}
SCSS
$custom: #f5e674;
$custom-light: #fbed9f;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e674",
  "rgb": {
    "r": 245,
    "g": 230,
    "b": 116
  },
  "hsl": {
    "h": 53.023,
    "s": 86.577,
    "l": 70.784
  },
  "oklch": {
    "l": 0.91446,
    "c": 0.13603,
    "h": 101.9
  },
  "luminance": 0.77267
}

Semantic roles & 50–950 ramp

primary
#F5E674
secondary
#3E4FD0
accent
#1DE302
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F5E674

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

Preview Lab → · Contrast checker → · Palette generator →

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