#F4F266#F4F266

#F4F266 is a very light, vivid yellow. Relative luminance 0.837; OKLCH L 93.7% C 0.160 H 108.4°. Best body text is #000000 at 17.74:1 contrast (WCAG AA passes).

Color values

HEX#F4F266
RGBrgb(244, 242, 102)
HSLhsl(59, 87%, 68%)
HSVhsv(59, 58%, 96%)
CMYKcmyk(0%, 0.8%, 58.2%, 4.3%)
CIE-LABlab(93.32, -16.55, 66.08)
CIE-LCHlch(93.32, 68.12, 104.06°)
OKLaboklab(93.67% -0.0504 0.1518)
OKLCHoklch(93.67% 0.16 108.4)
XYZxyz(71.4608, 83.6987, 24.9589)
Luminance0.8370 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4F266 #6668F4
analogous
#F4AB66 #F4F266 #AFF466
triadic
#F4F266 #66F4F2 #F266F4
tetradic
#F4F266 #66F4AB #6668F4 #F466AF
square
#F4F266 #66F4AB #6668F4 #F466AF
split-complementary
#F4F266 #66AFF4 #AB66F4
monochromatic
#D1CE0F #F0ED2D #F4F266 #F8F79F #FCFCD8

Accessibility & contrast

On white

1.18
#F4F266 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.74
#F4F266 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F4F266
17.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F4F266#FFFFFF#000000##000000
##F4F2661.001.1817.7417.74
#FFFFFF1.181.0021.0021.00
#00000017.7421.001.001.00
##00000017.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE956
Deuteranopia (green-blind)
#FFEE6E
Tritanopia (blue-blind)
#FFE4D4
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #f4f266;
/* rgb */ color: rgb(244, 242, 102);
/* oklch */ color: oklch(93.7% 0.160 108.4);
Tailwind
colors: {
  custom: {
    50: '#fbf697',
    500: '#f4f266',
    950: '#000000',
  },
}
SCSS
$custom: #f4f266;
$custom-light: #fbf697;
$custom-dark: #000000;
JSON
{
  "hex": "#f4f266",
  "rgb": {
    "r": 244,
    "g": 242,
    "b": 102
  },
  "hsl": {
    "h": 59.155,
    "s": 86.585,
    "l": 67.843
  },
  "oklch": {
    "l": 0.93669,
    "c": 0.15995,
    "h": 108.4
  },
  "luminance": 0.83697
}

Semantic roles & 50–950 ramp

primary
#F4F266
secondary
#3234CC
accent
#06E302
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F4F266

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

Preview Lab → · Contrast checker → · Palette generator →

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