#F5EF66#F5EF66

#F5EF66 is a very light, vivid yellow. Relative luminance 0.821; OKLCH L 93.1% C 0.157 H 106.7°. Best body text is #000000 at 17.42:1 contrast (WCAG AA passes).

Color values

HEX#F5EF66
RGBrgb(245, 239, 102)
HSLhsl(57, 88%, 68%)
HSVhsv(57, 58%, 96%)
CMYKcmyk(0%, 2.4%, 58.4%, 3.9%)
CIE-LABlab(92.62, -14.69, 65.34)
CIE-LCHlch(92.62, 66.97, 102.67°)
OKLaboklab(93.13% -0.0451 0.1502)
OKLCHoklch(93.13% 0.157 106.7)
XYZxyz(70.9232, 82.1070, 24.6801)
Luminance0.8210 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5EF66 #666CF5
analogous
#F5A866 #F5EF66 #B3F566
triadic
#F5EF66 #66F5EF #EF66F5
tetradic
#F5EF66 #66F5A8 #666CF5 #F566B3
square
#F5EF66 #66F5A8 #666CF5 #F566B3
split-complementary
#F5EF66 #66B3F5 #A866F5
monochromatic
#D3CB0E #F1E92D #F5EF66 #F9F59F #FDFBD9

Accessibility & contrast

On white

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

On black

17.42
#F5EF66 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5EF66
17.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5EF66#FFFFFF#000000##000000
##F5EF661.001.2117.4217.42
#FFFFFF1.211.0021.0021.00
#00000017.4221.001.001.00
##00000017.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE757
Deuteranopia (green-blind)
#FFEC6E
Tritanopia (blue-blind)
#FFE1D2
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #f5ef66;
/* rgb */ color: rgb(245, 239, 102);
/* oklch */ color: oklch(93.1% 0.157 106.7);
Tailwind
colors: {
  custom: {
    50: '#fbf496',
    500: '#f5ef66',
    950: '#000000',
  },
}
SCSS
$custom: #f5ef66;
$custom-light: #fbf496;
$custom-dark: #000000;
JSON
{
  "hex": "#f5ef66",
  "rgb": {
    "r": 245,
    "g": 239,
    "b": 102
  },
  "hsl": {
    "h": 57.483,
    "s": 87.73,
    "l": 68.039
  },
  "oklch": {
    "l": 0.93132,
    "c": 0.15684,
    "h": 106.7
  },
  "luminance": 0.82105
}

Semantic roles & 50–950 ramp

primary
#F5EF66
secondary
#3138CE
accent
#0BE401
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F5EF66

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

Preview Lab → · Contrast checker → · Palette generator →

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