#F4F06F#F4F06F

#F4F06F is a very light, vivid yellow. Relative luminance 0.827; OKLCH L 93.3% C 0.150 H 107.4°. Best body text is #000000 at 17.54:1 contrast (WCAG AA passes).

Color values

HEX#F4F06F
RGBrgb(244, 240, 111)
HSLhsl(58, 86%, 70%)
HSVhsv(58, 55%, 96%)
CMYKcmyk(0%, 1.6%, 54.5%, 4.3%)
CIE-LABlab(92.88, -14.93, 61.71)
CIE-LCHlch(92.88, 63.49, 103.60°)
OKLaboklab(93.35% -0.0448 0.1435)
OKLCHoklch(93.35% 0.15 107.4)
XYZxyz(71.3396, 82.7030, 27.2412)
Luminance0.8270 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4F06F #6F73F4
analogous
#F4AD6F #F4F06F #B6F46F
triadic
#F4F06F #6FF4F0 #F06FF4
tetradic
#F4F06F #6FF4AD #6F73F4 #F46FB6
square
#F4F06F #6FF4AD #6F73F4 #F46FB6
split-complementary
#F4F06F #6FB6F4 #AD6FF4
monochromatic
#D8D211 #F0EA36 #F4F06F #F8F6A8 #FDFCE1

Accessibility & contrast

On white

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

On black

17.54
#F4F06F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F4F06F
17.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F4F06F#FFFFFF#000000##000000
##F4F06F1.001.2017.5417.54
#FFFFFF1.201.0021.0021.00
#00000017.5421.001.001.00
##00000017.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE862
Deuteranopia (green-blind)
#FFED76
Tritanopia (blue-blind)
#FFE2D4
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #f4f06f;
/* rgb */ color: rgb(244, 240, 111);
/* oklch */ color: oklch(93.3% 0.150 107.4);
Tailwind
colors: {
  custom: {
    50: '#faf49c',
    500: '#f4f06f',
    950: '#000000',
  },
}
SCSS
$custom: #f4f06f;
$custom-light: #faf49c;
$custom-dark: #000000;
JSON
{
  "hex": "#f4f06f",
  "rgb": {
    "r": 244,
    "g": 240,
    "b": 111
  },
  "hsl": {
    "h": 58.195,
    "s": 85.806,
    "l": 69.608
  },
  "oklch": {
    "l": 0.93349,
    "c": 0.15036,
    "h": 107.4
  },
  "luminance": 0.82701
}

Semantic roles & 50–950 ramp

primary
#F4F06F
secondary
#393ECE
accent
#0AE203
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F4F06F

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

Preview Lab → · Contrast checker → · Palette generator →

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