#F4F270#F4F270

#F4F270 is a very light, vivid yellow. Relative luminance 0.839; OKLCH L 93.8% C 0.152 H 108.2°. Best body text is #000000 at 17.78:1 contrast (WCAG AA passes).

Color values

HEX#F4F270
RGBrgb(244, 242, 112)
HSLhsl(59, 86%, 70%)
HSVhsv(59, 54%, 96%)
CMYKcmyk(0%, 0.8%, 54.1%, 4.3%)
CIE-LABlab(93.41, -15.83, 61.87)
CIE-LCHlch(93.41, 63.86, 104.36°)
OKLaboklab(93.77% -0.0473 0.144)
OKLCHoklch(93.77% 0.152 108.2)
XYZxyz(71.9870, 83.9092, 27.7301)
Luminance0.8391 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4F270 #7072F4
analogous
#F4B070 #F4F270 #B4F470
triadic
#F4F270 #70F4F2 #F270F4
tetradic
#F4F270 #70F4B0 #7072F4 #F470B4
square
#F4F270 #70F4B0 #7072F4 #F470B4
split-complementary
#F4F270 #70B4F4 #B070F4
monochromatic
#D9D611 #F0ED37 #F4F270 #F8F7A9 #FDFCE2

Accessibility & contrast

On white

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

On black

17.78
#F4F270 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F4F270
17.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F4F270#FFFFFF#000000##000000
##F4F2701.001.1817.7817.78
#FFFFFF1.181.0021.0021.00
#00000017.7821.001.001.00
##00000017.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE963
Deuteranopia (green-blind)
#FFEE77
Tritanopia (blue-blind)
#FFE4D5
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #f4f270;
/* rgb */ color: rgb(244, 242, 112);
/* oklch */ color: oklch(93.8% 0.152 108.2);
Tailwind
colors: {
  custom: {
    50: '#faf69d',
    500: '#f4f270',
    950: '#000000',
  },
}
SCSS
$custom: #f4f270;
$custom-light: #faf69d;
$custom-dark: #000000;
JSON
{
  "hex": "#f4f270",
  "rgb": {
    "r": 244,
    "g": 242,
    "b": 112
  },
  "hsl": {
    "h": 59.091,
    "s": 85.714,
    "l": 69.804
  },
  "oklch": {
    "l": 0.93771,
    "c": 0.15154,
    "h": 108.2
  },
  "luminance": 0.83907
}

Semantic roles & 50–950 ramp

primary
#F4F270
secondary
#3A3DCE
accent
#07E203
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F4F270

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

Preview Lab → · Contrast checker → · Palette generator →

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