#F4F672#F4F672

#F4F672 is a very light, vivid yellow. Relative luminance 0.864; OKLCH L 94.6% C 0.154 H 109.8°. Best body text is #000000 at 18.27:1 contrast (WCAG AA passes).

Color values

HEX#F4F672
RGBrgb(244, 246, 114)
HSLhsl(61, 88%, 71%)
HSVhsv(61, 54%, 96%)
CMYKcmyk(0.8%, 0%, 53.7%, 3.5%)
CIE-LABlab(94.47, -17.62, 62.19)
CIE-LCHlch(94.47, 64.64, 105.82°)
OKLaboklab(94.62% -0.0522 0.1449)
OKLCHoklch(94.62% 0.154 109.8)
XYZxyz(73.3031, 86.3613, 28.7243)
Luminance0.8636 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4F672 #7472F6
analogous
#F6B672 #F4F672 #B2F672
triadic
#F4F672 #72F4F6 #F672F4
tetradic
#F4F672 #72F6B6 #7472F6 #F672B2
square
#F4F672 #72F6B6 #7472F6 #F672B2
split-complementary
#F4F672 #72B2F6 #B672F6
monochromatic
#DCDF0E #F0F238 #F4F672 #F8FAAC #FDFDE2

Accessibility & contrast

On white

1.15
#F4F672 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.27
#F4F672 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F4F672
18.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F4F672#FFFFFF#000000##000000
##F4F6721.001.1518.2718.27
#FFFFFF1.151.0021.0021.00
#00000018.2721.001.001.00
##00000018.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED65
Deuteranopia (green-blind)
#FFF179
Tritanopia (blue-blind)
#FFE9D9
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #f4f672;
/* rgb */ color: rgb(244, 246, 114);
/* oklch */ color: oklch(94.6% 0.154 109.8);
Tailwind
colors: {
  custom: {
    50: '#faf99e',
    500: '#f4f672',
    950: '#000000',
  },
}
SCSS
$custom: #f4f672;
$custom-light: #faf99e;
$custom-dark: #000000;
JSON
{
  "hex": "#f4f672",
  "rgb": {
    "r": 244,
    "g": 246,
    "b": 114
  },
  "hsl": {
    "h": 60.909,
    "s": 88,
    "l": 70.588
  },
  "oklch": {
    "l": 0.94619,
    "c": 0.15399,
    "h": 109.8
  },
  "luminance": 0.8636
}

Semantic roles & 50–950 ramp

primary
#F4F672
secondary
#3E3CD1
accent
#01E504
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F4F672

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

Preview Lab → · Contrast checker → · Palette generator →

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