#F4F060#F4F060

#F4F060 is a very light, vivid yellow. Relative luminance 0.824; OKLCH L 93.2% C 0.163 H 107.7°. Best body text is #000000 at 17.48:1 contrast (WCAG AA passes).

Color values

HEX#F4F060
RGBrgb(244, 240, 96)
HSLhsl(58, 87%, 67%)
HSVhsv(58, 61%, 96%)
CMYKcmyk(0%, 1.6%, 60.7%, 4.3%)
CIE-LABlab(92.75, -15.97, 67.96)
CIE-LCHlch(92.75, 69.81, 103.23°)
OKLaboklab(93.2% -0.0494 0.155)
OKLCHoklch(93.2% 0.163 107.7)
XYZxyz(70.5819, 82.3999, 23.2508)
Luminance0.8240 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4F060 #6064F4
analogous
#F4A660 #F4F060 #AEF460
triadic
#F4F060 #60F4F0 #F060F4
tetradic
#F4F060 #60F4A6 #6064F4 #F460AE
square
#F4F060 #60F4A6 #6064F4 #F460AE
split-complementary
#F4F060 #60AEF4 #A660F4
monochromatic
#CCC60E #F0EB27 #F4F060 #F8F599 #FCFBD2

Accessibility & contrast

On white

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

On black

17.48
#F4F060 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F4F060
17.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F4F060#FFFFFF#000000##000000
##F4F0601.001.2017.4817.48
#FFFFFF1.201.0021.0021.00
#00000017.4821.001.001.00
##00000017.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE74F
Deuteranopia (green-blind)
#FFED69
Tritanopia (blue-blind)
#FFE2D2
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #f4f060;
/* rgb */ color: rgb(244, 240, 96);
/* oklch */ color: oklch(93.2% 0.163 107.7);
Tailwind
colors: {
  custom: {
    50: '#fbf493',
    500: '#f4f060',
    950: '#000000',
  },
}
SCSS
$custom: #f4f060;
$custom-light: #fbf493;
$custom-dark: #000000;
JSON
{
  "hex": "#f4f060",
  "rgb": {
    "r": 244,
    "g": 240,
    "b": 96
  },
  "hsl": {
    "h": 58.378,
    "s": 87.059,
    "l": 66.667
  },
  "oklch": {
    "l": 0.932,
    "c": 0.16268,
    "h": 107.7
  },
  "luminance": 0.82398
}

Semantic roles & 50–950 ramp

primary
#F4F060
secondary
#3035C8
accent
#08E402
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F4F060

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

Preview Lab → · Contrast checker → · Palette generator →

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