#F4F273#F4F273

#F4F273 is a very light, vivid yellow. Relative luminance 0.840; OKLCH L 93.8% C 0.149 H 108.1°. Best body text is #000000 at 17.79:1 contrast (WCAG AA passes).

Color values

HEX#F4F273
RGBrgb(244, 242, 115)
HSLhsl(59, 85%, 70%)
HSVhsv(59, 53%, 96%)
CMYKcmyk(0%, 0.8%, 52.9%, 4.3%)
CIE-LABlab(93.44, -15.60, 60.57)
CIE-LCHlch(93.44, 62.55, 104.45°)
OKLaboklab(93.81% -0.0463 0.1415)
OKLCHoklch(93.81% 0.149 108.1)
XYZxyz(72.1568, 83.9771, 28.6245)
Luminance0.8397 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4F273 #7375F4
analogous
#F4B273 #F4F273 #B5F473
triadic
#F4F273 #73F4F2 #F273F4
tetradic
#F4F273 #73F4B2 #7375F4 #F473B5
square
#F4F273 #73F4B2 #7375F4 #F473B5
split-complementary
#F4F273 #73B5F4 #B273F4
monochromatic
#DBD811 #F0ED3A #F4F273 #F8F7AC #FDFCE3

Accessibility & contrast

On white

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

On black

17.79
#F4F273 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F4F273
17.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F4F273#FFFFFF#000000##000000
##F4F2731.001.1817.7917.79
#FFFFFF1.181.0021.0021.00
#00000017.7921.001.001.00
##00000017.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE966
Deuteranopia (green-blind)
#FFEE7A
Tritanopia (blue-blind)
#FFE5D6
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #f4f273;
/* rgb */ color: rgb(244, 242, 115);
/* oklch */ color: oklch(93.8% 0.149 108.1);
Tailwind
colors: {
  custom: {
    50: '#faf69f',
    500: '#f4f273',
    950: '#000000',
  },
}
SCSS
$custom: #f4f273;
$custom-light: #faf69f;
$custom-dark: #000000;
JSON
{
  "hex": "#f4f273",
  "rgb": {
    "r": 244,
    "g": 242,
    "b": 115
  },
  "hsl": {
    "h": 59.07,
    "s": 85.43,
    "l": 70.392
  },
  "oklch": {
    "l": 0.93805,
    "c": 0.14888,
    "h": 108.1
  },
  "luminance": 0.83975
}

Semantic roles & 50–950 ramp

primary
#F4F273
secondary
#3D3FCE
accent
#07E204
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F4F273

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

Preview Lab → · Contrast checker → · Palette generator →

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