#F5F260#F5F260

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

Color values

HEX#F5F260
RGBrgb(245, 242, 96)
HSLhsl(59, 88%, 67%)
HSVhsv(59, 61%, 96%)
CMYKcmyk(0%, 1.2%, 60.8%, 3.9%)
CIE-LABlab(93.35, -16.54, 68.62)
CIE-LCHlch(93.35, 70.59, 103.55°)
OKLaboklab(93.69% -0.051 0.1564)
OKLCHoklch(93.69% 0.165 108.1)
XYZxyz(71.5219, 83.7634, 23.4645)
Luminance0.8376 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5F260 #6063F5
analogous
#F5A860 #F5F260 #AEF560
triadic
#F5F260 #60F5F2 #F260F5
tetradic
#F5F260 #60F5A8 #6063F5 #F560AE
square
#F5F260 #60F5A8 #6063F5 #F560AE
split-complementary
#F5F260 #60AEF5 #A860F5
monochromatic
#CECA0D #F1ED26 #F5F260 #F9F79A #FCFBD3

Accessibility & contrast

On white

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

On black

17.75
#F5F260 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5F260
17.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5F260#FFFFFF#000000##000000
##F5F2601.001.1817.7517.75
#FFFFFF1.181.0021.0021.00
#00000017.7521.001.001.00
##00000017.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE94E
Deuteranopia (green-blind)
#FFEE69
Tritanopia (blue-blind)
#FFE4D3
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #f5f260;
/* rgb */ color: rgb(245, 242, 96);
/* oklch */ color: oklch(93.7% 0.165 108.1);
Tailwind
colors: {
  custom: {
    50: '#fcf693',
    500: '#f5f260',
    950: '#000000',
  },
}
SCSS
$custom: #f5f260;
$custom-light: #fcf693;
$custom-dark: #000000;
JSON
{
  "hex": "#f5f260",
  "rgb": {
    "r": 245,
    "g": 242,
    "b": 96
  },
  "hsl": {
    "h": 58.792,
    "s": 88.166,
    "l": 66.863
  },
  "oklch": {
    "l": 0.93694,
    "c": 0.16451,
    "h": 108.1
  },
  "luminance": 0.83761
}

Semantic roles & 50–950 ramp

primary
#F5F260
secondary
#3033C9
accent
#05E501
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170D
muted
#86857F

Preview Lab

Preview with #F5F260

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

Preview Lab → · Contrast checker → · Palette generator →

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