#F4F262#F4F262

#F4F262 is a very light, vivid yellow. Relative luminance 0.836; OKLCH L 93.6% C 0.163 H 108.4°. Best body text is #000000 at 17.72:1 contrast (WCAG AA passes).

Color values

HEX#F4F262
RGBrgb(244, 242, 98)
HSLhsl(59, 87%, 67%)
HSVhsv(59, 60%, 96%)
CMYKcmyk(0%, 0.8%, 59.8%, 4.3%)
CIE-LABlab(93.29, -16.82, 67.71)
CIE-LCHlch(93.29, 69.77, 103.95°)
OKLaboklab(93.63% -0.0515 0.1548)
OKLCHoklch(93.63% 0.163 108.4)
XYZxyz(71.2672, 83.6212, 23.9393)
Luminance0.8362 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4F262 #6264F4
analogous
#F4A962 #F4F262 #ADF462
triadic
#F4F262 #62F4F2 #F262F4
tetradic
#F4F262 #62F4A9 #6264F4 #F462AD
square
#F4F262 #62F4A9 #6264F4 #F462AD
split-complementary
#F4F262 #62ADF4 #A962F4
monochromatic
#CDCB0E #F0ED29 #F4F262 #F8F79B #FCFBD4

Accessibility & contrast

On white

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

On black

17.72
#F4F262 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F4F262
17.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F4F262#FFFFFF#000000##000000
##F4F2621.001.1817.7217.72
#FFFFFF1.181.0021.0021.00
#00000017.7221.001.001.00
##00000017.7221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f4f262;
/* rgb */ color: rgb(244, 242, 98);
/* oklch */ color: oklch(93.6% 0.163 108.4);
Tailwind
colors: {
  custom: {
    50: '#fbf694',
    500: '#f4f262',
    950: '#000000',
  },
}
SCSS
$custom: #f4f262;
$custom-light: #fbf694;
$custom-dark: #000000;
JSON
{
  "hex": "#f4f262",
  "rgb": {
    "r": 244,
    "g": 242,
    "b": 98
  },
  "hsl": {
    "h": 59.178,
    "s": 86.905,
    "l": 67.059
  },
  "oklch": {
    "l": 0.93631,
    "c": 0.16311,
    "h": 108.4
  },
  "luminance": 0.83619
}

Semantic roles & 50–950 ramp

primary
#F4F262
secondary
#3133C9
accent
#05E302
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F4F262

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

Preview Lab → · Contrast checker → · Palette generator →

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