#F5E374#F5E374

#F5E374 is a very light, vivid yellow. Relative luminance 0.756; OKLCH L 90.8% C 0.133 H 100.2°. Best body text is #000000 at 16.12:1 contrast (WCAG AA passes).

Color values

HEX#F5E374
RGBrgb(245, 227, 116)
HSLhsl(52, 87%, 71%)
HSVhsv(52, 53%, 96%)
CMYKcmyk(0%, 7.3%, 52.7%, 3.9%)
CIE-LABlab(89.68, -7.71, 55.76)
CIE-LCHlch(89.68, 56.29, 97.88°)
OKLaboklab(90.84% -0.0237 0.1312)
OKLCHoklch(90.84% 0.133 100.2)
XYZxyz(68.2799, 75.6141, 27.5179)
Luminance0.7561 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E374 #7486F5
analogous
#F5A274 #F5E374 #C6F574
triadic
#F5E374 #74F5E3 #E374F5
tetradic
#F5E374 #74F5A2 #7486F5 #F574C6
square
#F5E374 #74F5A2 #7486F5 #F574C6
split-complementary
#F5E374 #74C6F5 #A274F5
monochromatic
#DFC210 #F1D73B #F5E374 #F9EFAD #FDF9E2

Accessibility & contrast

On white

1.30
#F5E374 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.12
#F5E374 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E374
16.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E374#FFFFFF#000000##000000
##F5E3741.001.3016.1216.12
#FFFFFF1.301.0021.0021.00
#00000016.1221.001.001.00
##00000016.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DD6A
Deuteranopia (green-blind)
#FAE579
Tritanopia (blue-blind)
#FFD6CA
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #f5e374;
/* rgb */ color: rgb(245, 227, 116);
/* oklch */ color: oklch(90.8% 0.133 100.2);
Tailwind
colors: {
  custom: {
    50: '#fbeb9f',
    500: '#f5e374',
    950: '#000000',
  },
}
SCSS
$custom: #f5e374;
$custom-light: #fbeb9f;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e374",
  "rgb": {
    "r": 245,
    "g": 227,
    "b": 116
  },
  "hsl": {
    "h": 51.628,
    "s": 86.577,
    "l": 70.784
  },
  "oklch": {
    "l": 0.90839,
    "c": 0.13328,
    "h": 100.2
  },
  "luminance": 0.75612
}

Semantic roles & 50–950 ramp

primary
#F5E374
secondary
#3E52D0
accent
#22E302
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F5E374

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

Preview Lab → · Contrast checker → · Palette generator →

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