#F5E45E#F5E45E

#F5E45E is a very light, vivid yellow. Relative luminance 0.757; OKLCH L 90.8% C 0.153 H 102.1°. Best body text is #000000 at 16.14:1 contrast (WCAG AA passes).

Color values

HEX#F5E45E
RGBrgb(245, 228, 94)
HSLhsl(53, 88%, 66%)
HSVhsv(53, 62%, 96%)
CMYKcmyk(0%, 6.9%, 61.6%, 3.9%)
CIE-LABlab(89.72, -9.79, 65.55)
CIE-LCHlch(89.72, 66.28, 98.49°)
OKLaboklab(90.81% -0.0321 0.1496)
OKLCHoklch(90.81% 0.153 102.1)
XYZxyz(67.4226, 75.7101, 21.6495)
Luminance0.7571 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E45E #5E6FF5
analogous
#F5995E #F5E45E #BBF55E
triadic
#F5E45E #5EF5E4 #E45EF5
tetradic
#F5E45E #5EF599 #5E6FF5 #F55EBB
square
#F5E45E #5EF599 #5E6FF5 #F55EBB
split-complementary
#F5E45E #5EBBF5 #995EF5
monochromatic
#CCB60D #F1DA24 #F5E45E #F9EE98 #FCF7D1

Accessibility & contrast

On white

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

On black

16.14
#F5E45E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E45E
16.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E45E#FFFFFF#000000##000000
##F5E45E1.001.3016.1416.14
#FFFFFF1.301.0021.0021.00
#00000016.1421.001.001.00
##00000016.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7DD4E
Deuteranopia (green-blind)
#FCE565
Tritanopia (blue-blind)
#FFD5C8
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #f5e45e;
/* rgb */ color: rgb(245, 228, 94);
/* oklch */ color: oklch(90.8% 0.153 102.1);
Tailwind
colors: {
  custom: {
    50: '#fcec91',
    500: '#f5e45e',
    950: '#000000',
  },
}
SCSS
$custom: #f5e45e;
$custom-light: #fcec91;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e45e",
  "rgb": {
    "r": 245,
    "g": 228,
    "b": 94
  },
  "hsl": {
    "h": 53.245,
    "s": 88.304,
    "l": 66.471
  },
  "oklch": {
    "l": 0.90806,
    "c": 0.15301,
    "h": 102.1
  },
  "luminance": 0.75707
}

Semantic roles & 50–950 ramp

primary
#F5E45E
secondary
#2F40C8
accent
#1AE501
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #F5E45E

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

Preview Lab → · Contrast checker → · Palette generator →

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