#F5E66B#F5E66B

#F5E66B is a very light, vivid yellow. Relative luminance 0.771; OKLCH L 91.3% C 0.144 H 102.4°. Best body text is #000000 at 16.41:1 contrast (WCAG AA passes).

Color values

HEX#F5E66B
RGBrgb(245, 230, 107)
HSLhsl(53, 87%, 69%)
HSVhsv(53, 56%, 96%)
CMYKcmyk(0%, 6.1%, 56.3%, 3.9%)
CIE-LABlab(90.35, -9.90, 60.63)
CIE-LCHlch(90.35, 61.43, 99.27°)
OKLaboklab(91.34% -0.0309 0.1407)
OKLCHoklch(91.34% 0.144 102.4)
XYZxyz(68.6092, 77.0701, 25.1691)
Luminance0.7707 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E66B #6B7AF5
analogous
#F5A16B #F5E66B #BFF56B
triadic
#F5E66B #6BF5E6 #E66BF5
tetradic
#F5E66B #6BF5A1 #6B7AF5 #F56BBF
square
#F5E66B #6BF5A1 #6B7AF5 #F56BBF
split-complementary
#F5E66B #6BBFF5 #A16BF5
monochromatic
#D7C10F #F1DC32 #F5E66B #F9F0A4 #FDF9DE

Accessibility & contrast

On white

1.28
#F5E66B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.41
#F5E66B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E66B
16.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E66B#FFFFFF#000000##000000
##F5E66B1.001.2816.4116.41
#FFFFFF1.281.0021.0021.00
#00000016.4121.001.001.00
##00000016.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8DF5E
Deuteranopia (green-blind)
#FDE671
Tritanopia (blue-blind)
#FFD8CB
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #f5e66b;
/* rgb */ color: rgb(245, 230, 107);
/* oklch */ color: oklch(91.3% 0.144 102.4);
Tailwind
colors: {
  custom: {
    50: '#fbed99',
    500: '#f5e66b',
    950: '#000000',
  },
}
SCSS
$custom: #f5e66b;
$custom-light: #fbed99;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e66b",
  "rgb": {
    "r": 245,
    "g": 230,
    "b": 107
  },
  "hsl": {
    "h": 53.478,
    "s": 87.342,
    "l": 69.02
  },
  "oklch": {
    "l": 0.91344,
    "c": 0.14409,
    "h": 102.4
  },
  "luminance": 0.77068
}

Semantic roles & 50–950 ramp

primary
#F5E66B
secondary
#3646CE
accent
#1AE402
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F5E66B

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

Preview Lab → · Contrast checker → · Palette generator →

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