#F4F27D#F4F27D

#F4F27D is a very light, vivid yellow. Relative luminance 0.842; OKLCH L 93.9% C 0.140 H 107.9°. Best body text is #000000 at 17.84:1 contrast (WCAG AA passes).

Color values

HEX#F4F27D
RGBrgb(244, 242, 125)
HSLhsl(59, 84%, 72%)
HSVhsv(59, 49%, 96%)
CMYKcmyk(0%, 0.8%, 48.8%, 4.3%)
CIE-LABlab(93.55, -14.78, 56.15)
CIE-LCHlch(93.55, 58.06, 104.75°)
OKLaboklab(93.92% -0.043 0.1328)
OKLCHoklch(93.92% 0.14 107.9)
XYZxyz(72.7637, 84.2199, 31.8211)
Luminance0.8422 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4F27D #7D7FF4
analogous
#F4B77D #F4F27D #BAF47D
triadic
#F4F27D #7DF4F2 #F27DF4
tetradic
#F4F27D #7DF4B7 #7D7FF4 #F47DBA
square
#F4F27D #7DF4B7 #7D7FF4 #F47DBA
split-complementary
#F4F27D #7DBAF4 #B77DF4
monochromatic
#E3E013 #EFEC45 #F4F27D #F9F8B5 #FDFCE3

Accessibility & contrast

On white

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

On black

17.84
#F4F27D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F4F27D
17.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F4F27D#FFFFFF#000000##000000
##F4F27D1.001.1817.8417.84
#FFFFFF1.181.0021.0021.00
#00000017.8421.001.001.00
##00000017.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA72
Deuteranopia (green-blind)
#FFEF83
Tritanopia (blue-blind)
#FFE5D7
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #f4f27d;
/* rgb */ color: rgb(244, 242, 125);
/* oklch */ color: oklch(93.9% 0.140 107.9);
Tailwind
colors: {
  custom: {
    50: '#faf6a5',
    500: '#f4f27d',
    950: '#000000',
  },
}
SCSS
$custom: #f4f27d;
$custom-light: #faf6a5;
$custom-dark: #000000;
JSON
{
  "hex": "#f4f27d",
  "rgb": {
    "r": 244,
    "g": 242,
    "b": 125
  },
  "hsl": {
    "h": 58.992,
    "s": 84.397,
    "l": 72.353
  },
  "oklch": {
    "l": 0.93922,
    "c": 0.13962,
    "h": 107.9
  },
  "luminance": 0.84218
}

Semantic roles & 50–950 ramp

primary
#F4F27D
secondary
#4648CF
accent
#08E105
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F4F27D

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

Preview Lab → · Contrast checker → · Palette generator →

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