#F5F05E#F5F05E

#F5F05E is a very light, vivid yellow. Relative luminance 0.825; OKLCH L 93.3% C 0.164 H 107.3°. Best body text is #000000 at 17.51:1 contrast (WCAG AA passes).

Color values

HEX#F5F05E
RGBrgb(245, 240, 94)
HSLhsl(58, 88%, 66%)
HSVhsv(58, 62%, 96%)
CMYKcmyk(0%, 2%, 61.6%, 3.9%)
CIE-LABlab(92.81, -15.70, 68.87)
CIE-LCHlch(92.81, 70.63, 102.84°)
OKLaboklab(93.26% -0.0488 0.1566)
OKLCHoklch(93.26% 0.164 107.3)
XYZxyz(70.8390, 82.5430, 22.7884)
Luminance0.8254 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5F05E #5E63F5
analogous
#F5A55E #F5F05E #AFF55E
triadic
#F5F05E #5EF5F0 #F05EF5
tetradic
#F5F05E #5EF5A5 #5E63F5 #F55EAF
square
#F5F05E #5EF5A5 #5E63F5 #F55EAF
split-complementary
#F5F05E #5EAFF5 #A55EF5
monochromatic
#CCC60D #F1EB24 #F5F05E #F9F598 #FCFBD1

Accessibility & contrast

On white

1.20
#F5F05E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.51
#F5F05E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5F05E
17.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5F05E#FFFFFF#000000##000000
##F5F05E1.001.2017.5117.51
#FFFFFF1.201.0021.0021.00
#00000017.5121.001.001.00
##00000017.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE74C
Deuteranopia (green-blind)
#FFED67
Tritanopia (blue-blind)
#FFE1D1
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #f5f05e;
/* rgb */ color: rgb(245, 240, 94);
/* oklch */ color: oklch(93.3% 0.164 107.3);
Tailwind
colors: {
  custom: {
    50: '#fcf492',
    500: '#f5f05e',
    950: '#000000',
  },
}
SCSS
$custom: #f5f05e;
$custom-light: #fcf492;
$custom-dark: #000000;
JSON
{
  "hex": "#f5f05e",
  "rgb": {
    "r": 245,
    "g": 240,
    "b": 94
  },
  "hsl": {
    "h": 58.013,
    "s": 88.304,
    "l": 66.471
  },
  "oklch": {
    "l": 0.93264,
    "c": 0.16407,
    "h": 107.3
  },
  "luminance": 0.82541
}

Semantic roles & 50–950 ramp

primary
#F5F05E
secondary
#2F34C8
accent
#08E501
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F5F05E

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

Preview Lab → · Contrast checker → · Palette generator →

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