#F5F259#F5F259

#F5F259 is a very light, vivid yellow. Relative luminance 0.836; OKLCH L 93.6% C 0.170 H 108.2°. Best body text is #000000 at 17.73:1 contrast (WCAG AA passes).

Color values

HEX#F5F259
RGBrgb(245, 242, 89)
HSLhsl(59, 89%, 65%)
HSVhsv(59, 64%, 96%)
CMYKcmyk(0%, 1.2%, 63.7%, 3.9%)
CIE-LABlab(93.29, -16.97, 71.36)
CIE-LCHlch(93.29, 73.35, 103.37°)
OKLaboklab(93.64% -0.0529 0.1612)
OKLCHoklch(93.64% 0.17 108.2)
XYZxyz(71.2139, 83.6402, 21.8421)
Luminance0.8364 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5F259 #595CF5
analogous
#F5A459 #F5F259 #AAF559
triadic
#F5F259 #59F5F2 #F259F5
tetradic
#F5F259 #59F5A4 #595CF5 #F559AA
square
#F5F259 #59F5A4 #595CF5 #F559AA
split-complementary
#F5F259 #59AAF5 #A459F5
monochromatic
#C8C40C #F2ED1F #F5F259 #F8F793 #FCFBCC

Accessibility & contrast

On white

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

On black

17.73
#F5F259 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5F259
17.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5F259#FFFFFF#000000##000000
##F5F2591.001.1817.7317.73
#FFFFFF1.181.0021.0021.00
#00000017.7321.001.001.00
##00000017.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE945
Deuteranopia (green-blind)
#FFEE63
Tritanopia (blue-blind)
#FFE3D3
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #f5f259;
/* rgb */ color: rgb(245, 242, 89);
/* oklch */ color: oklch(93.6% 0.170 108.2);
Tailwind
colors: {
  custom: {
    50: '#fcf68f',
    500: '#f5f259',
    950: '#000000',
  },
}
SCSS
$custom: #f5f259;
$custom-light: #fcf68f;
$custom-dark: #000000;
JSON
{
  "hex": "#f5f259",
  "rgb": {
    "r": 245,
    "g": 242,
    "b": 89
  },
  "hsl": {
    "h": 58.846,
    "s": 88.636,
    "l": 65.49
  },
  "oklch": {
    "l": 0.93635,
    "c": 0.16965,
    "h": 108.2
  },
  "luminance": 0.83638
}

Semantic roles & 50–950 ramp

primary
#F5F259
secondary
#2E31C4
accent
#05E500
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F5F259

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

Preview Lab → · Contrast checker → · Palette generator →

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