#F5F068#F5F068

#F5F068 is a very light, vivid yellow. Relative luminance 0.827; OKLCH L 93.4% C 0.156 H 107.1°. Best body text is #000000 at 17.55:1 contrast (WCAG AA passes).

Color values

HEX#F5F068
RGBrgb(245, 240, 104)
HSLhsl(58, 88%, 68%)
HSVhsv(58, 58%, 96%)
CMYKcmyk(0%, 2%, 57.6%, 3.9%)
CIE-LABlab(92.90, -15.04, 64.79)
CIE-LCHlch(92.90, 66.51, 103.07°)
OKLaboklab(93.36% -0.0459 0.1493)
OKLCHoklch(93.36% 0.156 107.1)
XYZxyz(71.3172, 82.7343, 25.3066)
Luminance0.8273 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5F068 #686DF5
analogous
#F5A968 #F5F068 #B3F568
triadic
#F5F068 #68F5F0 #F068F5
tetradic
#F5F068 #68F5A9 #686DF5 #F568B3
square
#F5F068 #68F5A9 #686DF5 #F568B3
split-complementary
#F5F068 #68B3F5 #A968F5
monochromatic
#D5CD0E #F1EA2F #F5F068 #F9F6A1 #FDFBDB

Accessibility & contrast

On white

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

On black

17.55
#F5F068 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5F068
17.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5F068#FFFFFF#000000##000000
##F5F0681.001.2017.5517.55
#FFFFFF1.201.0021.0021.00
#00000017.5521.001.001.00
##00000017.5521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f5f068;
/* rgb */ color: rgb(245, 240, 104);
/* oklch */ color: oklch(93.4% 0.156 107.1);
Tailwind
colors: {
  custom: {
    50: '#fbf498',
    500: '#f5f068',
    950: '#000000',
  },
}
SCSS
$custom: #f5f068;
$custom-light: #fbf498;
$custom-dark: #000000;
JSON
{
  "hex": "#f5f068",
  "rgb": {
    "r": 245,
    "g": 240,
    "b": 104
  },
  "hsl": {
    "h": 57.872,
    "s": 87.578,
    "l": 68.431
  },
  "oklch": {
    "l": 0.93358,
    "c": 0.15619,
    "h": 107.1
  },
  "luminance": 0.82732
}

Semantic roles & 50–950 ramp

primary
#F5F068
secondary
#3339CE
accent
#09E401
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F5F068

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

Preview Lab → · Contrast checker → · Palette generator →

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