#F5E95C#F5E95C

#F5E95C is a very light, vivid yellow. Relative luminance 0.785; OKLCH L 91.8% C 0.159 H 104.4°. Best body text is #000000 at 16.69:1 contrast (WCAG AA passes).

Color values

HEX#F5E95C
RGBrgb(245, 233, 92)
HSLhsl(55, 88%, 66%)
HSVhsv(55, 62%, 96%)
CMYKcmyk(0%, 4.9%, 62.4%, 3.9%)
CIE-LABlab(90.99, -12.39, 67.74)
CIE-LCHlch(90.99, 68.86, 100.36°)
OKLaboklab(91.81% -0.0397 0.154)
OKLCHoklch(91.81% 0.159 104.4)
XYZxyz(68.7294, 78.4655, 21.6481)
Luminance0.7846 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E95C #5C68F5
analogous
#F59C5C #F5E95C #B4F55C
triadic
#F5E95C #5CF5E9 #E95CF5
tetradic
#F5E95C #5CF59C #5C68F5 #F55CB4
square
#F5E95C #5CF59C #5C68F5 #F55CB4
split-complementary
#F5E95C #5CB4F5 #9C5CF5
monochromatic
#CABB0C #F1E122 #F5E95C #F9F196 #FCF9CF

Accessibility & contrast

On white

1.26
#F5E95C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.69
#F5E95C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E95C
16.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E95C#FFFFFF#000000##000000
##F5E95C1.001.2616.6916.69
#FFFFFF1.261.0021.0021.00
#00000016.6921.001.001.00
##00000016.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE14B
Deuteranopia (green-blind)
#FFE864
Tritanopia (blue-blind)
#FFDACB
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #f5e95c;
/* rgb */ color: rgb(245, 233, 92);
/* oklch */ color: oklch(91.8% 0.159 104.4);
Tailwind
colors: {
  custom: {
    50: '#fcef90',
    500: '#f5e95c',
    950: '#000000',
  },
}
SCSS
$custom: #f5e95c;
$custom-light: #fcef90;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e95c",
  "rgb": {
    "r": 245,
    "g": 233,
    "b": 92
  },
  "hsl": {
    "h": 55.294,
    "s": 88.439,
    "l": 66.078
  },
  "oklch": {
    "l": 0.91808,
    "c": 0.15899,
    "h": 104.4
  },
  "luminance": 0.78463
}

Semantic roles & 50–950 ramp

primary
#F5E95C
secondary
#2F3BC6
accent
#12E500
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18160D
muted
#86857F

Preview Lab

Preview with #F5E95C

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

Preview Lab → · Contrast checker → · Palette generator →

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