#F5F261#F5F261

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

Color values

HEX#F5F261
RGBrgb(245, 242, 97)
HSLhsl(59, 88%, 67%)
HSVhsv(59, 60%, 96%)
CMYKcmyk(0%, 1.2%, 60.4%, 3.9%)
CIE-LABlab(93.36, -16.48, 68.22)
CIE-LCHlch(93.36, 70.18, 103.58°)
OKLaboklab(93.7% -0.0508 0.1557)
OKLCHoklch(93.7% 0.164 108.1)
XYZxyz(71.5683, 83.7819, 23.7085)
Luminance0.8378 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5F261 #6164F5
analogous
#F5A861 #F5F261 #AEF561
triadic
#F5F261 #61F5F2 #F261F5
tetradic
#F5F261 #61F5A8 #6164F5 #F561AE
square
#F5F261 #61F5A8 #6164F5 #F561AE
split-complementary
#F5F261 #61AEF5 #A861F5
monochromatic
#CFCB0D #F1ED27 #F5F261 #F9F79B #FCFBD4

Accessibility & contrast

On white

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

On black

17.76
#F5F261 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5F261
17.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5F261#FFFFFF#000000##000000
##F5F2611.001.1817.7617.76
#FFFFFF1.181.0021.0021.00
#00000017.7621.001.001.00
##00000017.7621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f5f261;
/* rgb */ color: rgb(245, 242, 97);
/* oklch */ color: oklch(93.7% 0.164 108.1);
Tailwind
colors: {
  custom: {
    50: '#fcf694',
    500: '#f5f261',
    950: '#000000',
  },
}
SCSS
$custom: #f5f261;
$custom-light: #fcf694;
$custom-dark: #000000;
JSON
{
  "hex": "#f5f261",
  "rgb": {
    "r": 245,
    "g": 242,
    "b": 97
  },
  "hsl": {
    "h": 58.784,
    "s": 88.095,
    "l": 67.059
  },
  "oklch": {
    "l": 0.93703,
    "c": 0.16374,
    "h": 108.1
  },
  "luminance": 0.8378
}

Semantic roles & 50–950 ramp

primary
#F5F261
secondary
#3033CA
accent
#05E501
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F5F261

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

Preview Lab → · Contrast checker → · Palette generator →

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