#F5D55E#F5D55E

#F5D55E is a very light, vivid yellow. Relative luminance 0.678; OKLCH L 87.8% C 0.141 H 94.2°. Best body text is #000000 at 14.56:1 contrast (WCAG AA passes).

Color values

HEX#F5D55E
RGBrgb(245, 213, 94)
HSLhsl(47, 88%, 66%)
HSVhsv(47, 62%, 96%)
CMYKcmyk(0%, 13.1%, 61.6%, 3.9%)
CIE-LABlab(85.91, -2.24, 61.39)
CIE-LCHlch(85.91, 61.43, 92.09°)
OKLaboklab(87.79% -0.0104 0.1408)
OKLCHoklch(87.79% 0.141 94.2)
XYZxyz(63.4737, 67.8123, 20.3332)
Luminance0.6781 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5D55E #5E7EF5
analogous
#F58A5E #F5D55E #CAF55E
triadic
#F5D55E #5EF5D5 #D55EF5
tetradic
#F5D55E #5EF58A #5E7EF5 #F55ECA
square
#F5D55E #5EF58A #5E7EF5 #F55ECA
split-complementary
#F5D55E #5ECAF5 #8A5EF5
monochromatic
#CCA30D #F1C624 #F5D55E #F9E498 #FCF3D1

Accessibility & contrast

On white

1.44
#F5D55E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.56
#F5D55E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5D55E
14.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5D55E#FFFFFF#000000##000000
##F5D55E1.001.4414.5614.56
#FFFFFF1.441.0021.0021.00
#00000014.5621.001.001.00
##00000014.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D151
Deuteranopia (green-blind)
#F1DB64
Tritanopia (blue-blind)
#FFC6BB
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #f5d55e;
/* rgb */ color: rgb(245, 213, 94);
/* oklch */ color: oklch(87.8% 0.141 94.2);
Tailwind
colors: {
  custom: {
    50: '#fce190',
    500: '#f5d55e',
    950: '#000000',
  },
}
SCSS
$custom: #f5d55e;
$custom-light: #fce190;
$custom-dark: #000000;
JSON
{
  "hex": "#f5d55e",
  "rgb": {
    "r": 245,
    "g": 213,
    "b": 94
  },
  "hsl": {
    "h": 47.285,
    "s": 88.304,
    "l": 66.471
  },
  "oklch": {
    "l": 0.87786,
    "c": 0.14116,
    "h": 94.2
  },
  "luminance": 0.67809
}

Semantic roles & 50–950 ramp

primary
#F5D55E
secondary
#2F50C8
accent
#31E501
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F5D55E

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

Preview Lab → · Contrast checker → · Palette generator →

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