#F5F264#F5F264

#F5F264 is a very light, vivid yellow. Relative luminance 0.838; OKLCH L 93.7% C 0.161 H 108.0°. Best body text is #000000 at 17.77:1 contrast (WCAG AA passes).

Color values

HEX#F5F264
RGBrgb(245, 242, 100)
HSLhsl(59, 88%, 68%)
HSVhsv(59, 59%, 96%)
CMYKcmyk(0%, 1.2%, 59.2%, 3.9%)
CIE-LABlab(93.38, -16.29, 67.01)
CIE-LCHlch(93.38, 68.96, 103.66°)
OKLaboklab(93.73% -0.0499 0.1535)
OKLCHoklch(93.73% 0.161 108)
XYZxyz(71.7108, 83.8389, 24.4592)
Luminance0.8384 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5F264 #6467F5
analogous
#F5AA64 #F5F264 #AFF564
triadic
#F5F264 #64F5F2 #F264F5
tetradic
#F5F264 #64F5AA #6467F5 #F564AF
square
#F5F264 #64F5AA #6467F5 #F564AF
split-complementary
#F5F264 #64AFF5 #AA64F5
monochromatic
#D1CD0D #F1ED2B #F5F264 #F9F79D #FCFCD7

Accessibility & contrast

On white

1.18
#F5F264 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.77
#F5F264 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5F264
17.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5F264#FFFFFF#000000##000000
##F5F2641.001.1817.7717.77
#FFFFFF1.181.0021.0021.00
#00000017.7721.001.001.00
##00000017.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE954
Deuteranopia (green-blind)
#FFEE6C
Tritanopia (blue-blind)
#FFE4D4
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #f5f264;
/* rgb */ color: rgb(245, 242, 100);
/* oklch */ color: oklch(93.7% 0.161 108.0);
Tailwind
colors: {
  custom: {
    50: '#fbf695',
    500: '#f5f264',
    950: '#000000',
  },
}
SCSS
$custom: #f5f264;
$custom-light: #fbf695;
$custom-dark: #000000;
JSON
{
  "hex": "#f5f264",
  "rgb": {
    "r": 245,
    "g": 242,
    "b": 100
  },
  "hsl": {
    "h": 58.759,
    "s": 87.879,
    "l": 67.647
  },
  "oklch": {
    "l": 0.93731,
    "c": 0.1614,
    "h": 108
  },
  "luminance": 0.83837
}

Semantic roles & 50–950 ramp

primary
#F5F264
secondary
#3134CC
accent
#06E401
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F5F264

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

Preview Lab → · Contrast checker → · Palette generator →

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