#F5EE66#F5EE66

#F5EE66 is a very light, vivid yellow. Relative luminance 0.815; OKLCH L 92.9% C 0.156 H 106.3°. Best body text is #000000 at 17.30:1 contrast (WCAG AA passes).

Color values

HEX#F5EE66
RGBrgb(245, 238, 102)
HSLhsl(57, 88%, 68%)
HSVhsv(57, 58%, 96%)
CMYKcmyk(0%, 2.9%, 58.4%, 3.9%)
CIE-LABlab(92.36, -14.20, 65.05)
CIE-LCHlch(92.36, 66.58, 102.31°)
OKLaboklab(92.93% -0.0438 0.1496)
OKLCHoklch(92.93% 0.156 106.3)
XYZxyz(70.6313, 81.5231, 24.5827)
Luminance0.8152 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5EE66 #666DF5
analogous
#F5A666 #F5EE66 #B4F566
triadic
#F5EE66 #66F5EE #EE66F5
tetradic
#F5EE66 #66F5A6 #666DF5 #F566B4
square
#F5EE66 #66F5A6 #666DF5 #F566B4
split-complementary
#F5EE66 #66B4F5 #A666F5
monochromatic
#D3C90E #F1E82D #F5EE66 #F9F49F #FDFBD9

Accessibility & contrast

On white

1.21
#F5EE66 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.30
#F5EE66 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5EE66
17.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5EE66#FFFFFF#000000##000000
##F5EE661.001.2117.3017.30
#FFFFFF1.211.0021.0021.00
#00000017.3021.001.001.00
##00000017.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE657
Deuteranopia (green-blind)
#FFEC6E
Tritanopia (blue-blind)
#FFE0D1
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #f5ee66;
/* rgb */ color: rgb(245, 238, 102);
/* oklch */ color: oklch(92.9% 0.156 106.3);
Tailwind
colors: {
  custom: {
    50: '#fbf396',
    500: '#f5ee66',
    950: '#000000',
  },
}
SCSS
$custom: #f5ee66;
$custom-light: #fbf396;
$custom-dark: #000000;
JSON
{
  "hex": "#f5ee66",
  "rgb": {
    "r": 245,
    "g": 238,
    "b": 102
  },
  "hsl": {
    "h": 57.063,
    "s": 87.73,
    "l": 68.039
  },
  "oklch": {
    "l": 0.92927,
    "c": 0.15586,
    "h": 106.3
  },
  "luminance": 0.81521
}

Semantic roles & 50–950 ramp

primary
#F5EE66
secondary
#3139CE
accent
#0CE401
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F5EE66

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

Preview Lab → · Contrast checker → · Palette generator →

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