#F5F06D#F5F06D

#F5F06D is a very light, vivid yellow. Relative luminance 0.828; OKLCH L 93.4% C 0.152 H 107.0°. Best body text is #000000 at 17.57:1 contrast (WCAG AA passes).

Color values

HEX#F5F06D
RGBrgb(245, 240, 109)
HSLhsl(58, 87%, 69%)
HSVhsv(58, 56%, 96%)
CMYKcmyk(0%, 2%, 55.5%, 3.9%)
CIE-LABlab(92.94, -14.68, 62.68)
CIE-LCHlch(92.94, 64.37, 103.18°)
OKLaboklab(93.41% -0.0444 0.1454)
OKLCHoklch(93.41% 0.152 107)
XYZxyz(71.5787, 82.8389, 26.6840)
Luminance0.8284 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5F06D #6D72F5
analogous
#F5AC6D #F5F06D #B6F56D
triadic
#F5F06D #6DF5F0 #F06DF5
tetradic
#F5F06D #6DF5AC #6D72F5 #F56DB6
square
#F5F06D #6DF5AC #6D72F5 #F56DB6
split-complementary
#F5F06D #6DB6F5 #AC6DF5
monochromatic
#D9D10F #F1EA34 #F5F06D #F9F6A6 #FDFCE0

Accessibility & contrast

On white

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

On black

17.57
#F5F06D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5F06D
17.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5F06D#FFFFFF#000000##000000
##F5F06D1.001.2017.5717.57
#FFFFFF1.201.0021.0021.00
#00000017.5721.001.001.00
##00000017.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE85F
Deuteranopia (green-blind)
#FFED74
Tritanopia (blue-blind)
#FFE2D3
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #f5f06d;
/* rgb */ color: rgb(245, 240, 109);
/* oklch */ color: oklch(93.4% 0.152 107.0);
Tailwind
colors: {
  custom: {
    50: '#fbf49b',
    500: '#f5f06d',
    950: '#000000',
  },
}
SCSS
$custom: #f5f06d;
$custom-light: #fbf49b;
$custom-dark: #000000;
JSON
{
  "hex": "#f5f06d",
  "rgb": {
    "r": 245,
    "g": 240,
    "b": 109
  },
  "hsl": {
    "h": 57.794,
    "s": 87.179,
    "l": 69.412
  },
  "oklch": {
    "l": 0.93409,
    "c": 0.15199,
    "h": 107
  },
  "luminance": 0.82837
}

Semantic roles & 50–950 ramp

primary
#F5F06D
secondary
#373DCF
accent
#0AE402
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F5F06D

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

Preview Lab → · Contrast checker → · Palette generator →

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