#F5E380#F5E380

#F5E380 is a very light, vivid yellow. Relative luminance 0.759; OKLCH L 91.0% C 0.122 H 99.2°. Best body text is #000000 at 16.18:1 contrast (WCAG AA passes).

Color values

HEX#F5E380
RGBrgb(245, 227, 128)
HSLhsl(51, 85%, 73%)
HSVhsv(51, 48%, 96%)
CMYKcmyk(0%, 7.3%, 47.8%, 3.9%)
CIE-LABlab(89.82, -6.69, 50.26)
CIE-LCHlch(89.82, 50.70, 97.58°)
OKLaboklab(90.99% -0.0195 0.1201)
OKLCHoklch(90.99% 0.122 99.2)
XYZxyz(69.0235, 75.9116, 31.4344)
Luminance0.7591 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E380 #8092F5
analogous
#F5A880 #F5E380 #CCF580
triadic
#F5E380 #80F5E3 #E380F5
tetradic
#F5E380 #80F5A8 #8092F5 #F580CC
square
#F5E380 #80F5A8 #8092F5 #F580CC
split-complementary
#F5E380 #80CCF5 #A880F5
monochromatic
#E8C712 #F1D647 #F5E380 #F9F0B9 #FDF9E3

Accessibility & contrast

On white

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

On black

16.18
#F5E380 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E380
16.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E380#FFFFFF#000000##000000
##F5E3801.001.3016.1816.18
#FFFFFF1.301.0021.0021.00
#00000016.1821.001.001.00
##00000016.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DE78
Deuteranopia (green-blind)
#F9E584
Tritanopia (blue-blind)
#FFD6CC
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #f5e380;
/* rgb */ color: rgb(245, 227, 128);
/* oklch */ color: oklch(91.0% 0.122 99.2);
Tailwind
colors: {
  custom: {
    50: '#faeba7',
    500: '#f5e380',
    950: '#000000',
  },
}
SCSS
$custom: #f5e380;
$custom-light: #faeba7;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e380",
  "rgb": {
    "r": 245,
    "g": 227,
    "b": 128
  },
  "hsl": {
    "h": 50.769,
    "s": 85.401,
    "l": 73.137
  },
  "oklch": {
    "l": 0.90993,
    "c": 0.12169,
    "h": 99.2
  },
  "luminance": 0.75909
}

Semantic roles & 50–950 ramp

primary
#F5E380
secondary
#485DD1
accent
#26E204
background
#FFFEFC
surface
#FFFDF6
border
#D7D5D0
text
#18160F
muted
#868480

Preview Lab

Preview with #F5E380

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

Preview Lab → · Contrast checker → · Palette generator →

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