#F4F57B#F4F57B

#F4F57B is a very light, vivid yellow. Relative luminance 0.860; OKLCH L 94.5% C 0.145 H 109.3°. Best body text is #000000 at 18.19:1 contrast (WCAG AA passes).

Color values

HEX#F4F57B
RGBrgb(244, 245, 123)
HSLhsl(60, 86%, 72%)
HSVhsv(60, 50%, 96%)
CMYKcmyk(0.4%, 0%, 49.8%, 3.9%)
CIE-LABlab(94.30, -16.41, 57.96)
CIE-LCHlch(94.30, 60.24, 105.81°)
OKLaboklab(94.52% -0.0478 0.1366)
OKLCHoklch(94.52% 0.145 109.3)
XYZxyz(73.5375, 85.9697, 31.4551)
Luminance0.8597 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4F57B #7C7BF5
analogous
#F5B97B #F4F57B #B7F57B
triadic
#F4F57B #7BF4F5 #F57BF4
tetradic
#F4F57B #7BF5B9 #7C7BF5 #F57BB7
square
#F4F57B #7BF5B9 #7C7BF5 #F57BB7
split-complementary
#F4F57B #7BB7F5 #B97BF5
monochromatic
#E3E411 #EFF142 #F4F57B #F9F9B4 #FDFDE3

Accessibility & contrast

On white

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

On black

18.19
#F4F57B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F4F57B
18.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F4F57B#FFFFFF#000000##000000
##F4F57B1.001.1518.1918.19
#FFFFFF1.151.0021.0021.00
#00000018.1921.001.001.00
##00000018.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC70
Deuteranopia (green-blind)
#FFF181
Tritanopia (blue-blind)
#FFE8D9
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #f4f57b;
/* rgb */ color: rgb(244, 245, 123);
/* oklch */ color: oklch(94.5% 0.145 109.3);
Tailwind
colors: {
  custom: {
    50: '#faf8a4',
    500: '#f4f57b',
    950: '#000000',
  },
}
SCSS
$custom: #f4f57b;
$custom-light: #faf8a4;
$custom-dark: #000000;
JSON
{
  "hex": "#f4f57b",
  "rgb": {
    "r": 244,
    "g": 245,
    "b": 123
  },
  "hsl": {
    "h": 60.492,
    "s": 85.915,
    "l": 72.157
  },
  "oklch": {
    "l": 0.94516,
    "c": 0.14474,
    "h": 109.3
  },
  "luminance": 0.85968
}

Semantic roles & 50–950 ramp

primary
#F4F57B
secondary
#4544D0
accent
#03E205
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F4F57B

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

Preview Lab → · Contrast checker → · Palette generator →

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