#F5F268#F5F268

#F5F268 is a very light, vivid yellow. Relative luminance 0.839; OKLCH L 93.8% C 0.158 H 107.9°. Best body text is #000000 at 17.78:1 contrast (WCAG AA passes).

Color values

HEX#F5F268
RGBrgb(245, 242, 104)
HSLhsl(59, 88%, 68%)
HSVhsv(59, 58%, 96%)
CMYKcmyk(0%, 1.2%, 57.6%, 3.9%)
CIE-LABlab(93.42, -16.01, 65.36)
CIE-LCHlch(93.42, 67.29, 103.77°)
OKLaboklab(93.77% -0.0487 0.1505)
OKLCHoklch(93.77% 0.158 107.9)
XYZxyz(71.9092, 83.9183, 25.5039)
Luminance0.8392 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5F268 #686BF5
analogous
#F5AB68 #F5F268 #B2F568
triadic
#F5F268 #68F5F2 #F268F5
tetradic
#F5F268 #68F5AB #686BF5 #F568B2
square
#F5F268 #68F5AB #686BF5 #F568B2
split-complementary
#F5F268 #68B2F5 #AB68F5
monochromatic
#D5D00E #F1ED2F #F5F268 #F9F7A1 #FDFCDB

Accessibility & contrast

On white

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

On black

17.78
#F5F268 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5F268
17.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5F268#FFFFFF#000000##000000
##F5F2681.001.1817.7817.78
#FFFFFF1.181.0021.0021.00
#00000017.7821.001.001.00
##00000017.7821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f5f268;
/* rgb */ color: rgb(245, 242, 104);
/* oklch */ color: oklch(93.8% 0.158 107.9);
Tailwind
colors: {
  custom: {
    50: '#fbf698',
    500: '#f5f268',
    950: '#000000',
  },
}
SCSS
$custom: #f5f268;
$custom-light: #fbf698;
$custom-dark: #000000;
JSON
{
  "hex": "#f5f268",
  "rgb": {
    "r": 245,
    "g": 242,
    "b": 104
  },
  "hsl": {
    "h": 58.723,
    "s": 87.578,
    "l": 68.431
  },
  "oklch": {
    "l": 0.9377,
    "c": 0.15818,
    "h": 107.9
  },
  "luminance": 0.83916
}

Semantic roles & 50–950 ramp

primary
#F5F268
secondary
#3336CE
accent
#06E401
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F5F268

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

Preview Lab → · Contrast checker → · Palette generator →

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