#F5F253#F5F253

#F5F253 is a very light, vivid yellow. Relative luminance 0.835; OKLCH L 93.6% C 0.174 H 108.3°. Best body text is #000000 at 17.71:1 contrast (WCAG AA passes).

Color values

HEX#F5F253
RGBrgb(245, 242, 83)
HSLhsl(59, 89%, 64%)
HSVhsv(59, 66%, 96%)
CMYKcmyk(0%, 1.2%, 66.1%, 3.9%)
CIE-LABlab(93.25, -17.30, 73.61)
CIE-LCHlch(93.25, 75.61, 103.23°)
OKLaboklab(93.59% -0.0545 0.165)
OKLCHoklch(93.59% 0.174 108.3)
XYZxyz(70.9721, 83.5435, 20.5689)
Luminance0.8354 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5F253 #5356F5
analogous
#F5A153 #F5F253 #A7F553
triadic
#F5F253 #53F5F2 #F253F5
tetradic
#F5F253 #53F5A1 #5356F5 #F553A7
square
#F5F253 #53F5A1 #5356F5 #F553A7
split-complementary
#F5F253 #53A7F5 #A153F5
monochromatic
#C2BF0B #F2EE19 #F5F253 #F8F68D #FCFBC7

Accessibility & contrast

On white

1.19
#F5F253 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.71
#F5F253 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5F253
17.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5F253#FFFFFF#000000##000000
##F5F2531.001.1917.7117.71
#FFFFFF1.191.0021.0021.00
#00000017.7121.001.001.00
##00000017.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE93C
Deuteranopia (green-blind)
#FFEE5E
Tritanopia (blue-blind)
#FFE3D2
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #f5f253;
/* rgb */ color: rgb(245, 242, 83);
/* oklch */ color: oklch(93.6% 0.174 108.3);
Tailwind
colors: {
  custom: {
    50: '#fcf68c',
    500: '#f5f253',
    950: '#000000',
  },
}
SCSS
$custom: #f5f253;
$custom-light: #fcf68c;
$custom-dark: #000000;
JSON
{
  "hex": "#f5f253",
  "rgb": {
    "r": 245,
    "g": 242,
    "b": 83
  },
  "hsl": {
    "h": 58.889,
    "s": 89.011,
    "l": 64.314
  },
  "oklch": {
    "l": 0.93587,
    "c": 0.17377,
    "h": 108.3
  },
  "luminance": 0.83541
}

Semantic roles & 50–950 ramp

primary
#F5F253
secondary
#2D2FC0
accent
#04E600
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F5F253

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

Preview Lab → · Contrast checker → · Palette generator →

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