#F5E95B#F5E95B

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

Color values

HEX#F5E95B
RGBrgb(245, 233, 91)
HSLhsl(55, 89%, 66%)
HSVhsv(55, 63%, 96%)
CMYKcmyk(0%, 4.9%, 62.9%, 3.9%)
CIE-LABlab(90.98, -12.45, 68.14)
CIE-LCHlch(90.98, 69.27, 100.35°)
OKLaboklab(91.8% -0.0399 0.1547)
OKLCHoklch(91.8% 0.16 104.5)
XYZxyz(68.6860, 78.4481, 21.4194)
Luminance0.7845 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E95B #5B67F5
analogous
#F59C5B #F5E95B #B4F55B
triadic
#F5E95B #5BF5E9 #E95BF5
tetradic
#F5E95B #5BF59C #5B67F5 #F55BB4
square
#F5E95B #5BF59C #5B67F5 #F55BB4
split-complementary
#F5E95B #5BB4F5 #9C5BF5
monochromatic
#C9BB0C #F1E121 #F5E95B #F9F195 #FCF8CE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F5E95B#FFFFFF#000000##000000
##F5E95B1.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)
#FCE149
Deuteranopia (green-blind)
#FFE863
Tritanopia (blue-blind)
#FFDACB
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #f5e95b;
/* rgb */ color: rgb(245, 233, 91);
/* oklch */ color: oklch(91.8% 0.160 104.5);
Tailwind
colors: {
  custom: {
    50: '#fcef90',
    500: '#f5e95b',
    950: '#000000',
  },
}
SCSS
$custom: #f5e95b;
$custom-light: #fcef90;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e95b",
  "rgb": {
    "r": 245,
    "g": 233,
    "b": 91
  },
  "hsl": {
    "h": 55.325,
    "s": 88.506,
    "l": 65.882
  },
  "oklch": {
    "l": 0.91799,
    "c": 0.15974,
    "h": 104.5
  },
  "luminance": 0.78446
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F5E95B

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

Preview Lab → · Contrast checker → · Palette generator →

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