#F5E56B#F5E56B

#F5E56B is a very light, vivid yellow. Relative luminance 0.765; OKLCH L 91.1% C 0.143 H 101.9°. Best body text is #000000 at 16.30:1 contrast (WCAG AA passes).

Color values

HEX#F5E56B
RGBrgb(245, 229, 107)
HSLhsl(53, 87%, 69%)
HSVhsv(53, 56%, 96%)
CMYKcmyk(0%, 6.5%, 56.3%, 3.9%)
CIE-LABlab(90.10, -9.40, 60.33)
CIE-LCHlch(90.10, 61.06, 98.86°)
OKLaboklab(91.14% -0.0295 0.1401)
OKLCHoklch(91.14% 0.143 101.9)
XYZxyz(68.3317, 76.5152, 25.0766)
Luminance0.7651 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E56B #6B7BF5
analogous
#F5A06B #F5E56B #C0F56B
triadic
#F5E56B #6BF5E5 #E56BF5
tetradic
#F5E56B #6BF5A0 #6B7BF5 #F56BC0
square
#F5E56B #6BF5A0 #6B7BF5 #F56BC0
split-complementary
#F5E56B #6BC0F5 #A06BF5
monochromatic
#D7C00F #F1DB32 #F5E56B #F9EFA4 #FDF9DE

Accessibility & contrast

On white

1.29
#F5E56B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.30
#F5E56B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E56B
16.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E56B#FFFFFF#000000##000000
##F5E56B1.001.2916.3016.30
#FFFFFF1.291.0021.0021.00
#00000016.3021.001.001.00
##00000016.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7DF5F
Deuteranopia (green-blind)
#FCE671
Tritanopia (blue-blind)
#FFD7CA
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #f5e56b;
/* rgb */ color: rgb(245, 229, 107);
/* oklch */ color: oklch(91.1% 0.143 101.9);
Tailwind
colors: {
  custom: {
    50: '#fbed99',
    500: '#f5e56b',
    950: '#000000',
  },
}
SCSS
$custom: #f5e56b;
$custom-light: #fbed99;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e56b",
  "rgb": {
    "r": 245,
    "g": 229,
    "b": 107
  },
  "hsl": {
    "h": 53.043,
    "s": 87.342,
    "l": 69.02
  },
  "oklch": {
    "l": 0.91141,
    "c": 0.14319,
    "h": 101.9
  },
  "luminance": 0.76513
}

Semantic roles & 50–950 ramp

primary
#F5E56B
secondary
#3647CE
accent
#1CE402
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F5E56B

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

Preview Lab → · Contrast checker → · Palette generator →

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