#F4F56C#F4F56C

#F4F56C is a very light, vivid yellow. Relative luminance 0.856; OKLCH L 94.3% C 0.158 H 109.5°. Best body text is #000000 at 18.12:1 contrast (WCAG AA passes).

Color values

HEX#F4F56C
RGBrgb(244, 245, 108)
HSLhsl(60, 87%, 69%)
HSVhsv(60, 56%, 96%)
CMYKcmyk(0.4%, 0%, 55.9%, 3.9%)
CIE-LABlab(94.15, -17.59, 64.45)
CIE-LCHlch(94.15, 66.80, 105.26°)
OKLaboklab(94.35% -0.0527 0.149)
OKLCHoklch(94.35% 0.158 109.5)
XYZxyz(72.6694, 85.6225, 26.8832)
Luminance0.8562 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4F56C #6D6CF5
analogous
#F5B26C #F4F56C #B0F56C
triadic
#F4F56C #6CF4F5 #F56CF4
tetradic
#F4F56C #6CF5B2 #6D6CF5 #F56CB0
square
#F4F56C #6CF5B2 #6D6CF5 #F56CB0
split-complementary
#F4F56C #6CB0F5 #B26CF5
monochromatic
#D6D80F #F0F133 #F4F56C #F8F9A5 #FDFDDF

Accessibility & contrast

On white

1.16
#F4F56C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.12
#F4F56C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F4F56C
18.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F4F56C#FFFFFF#000000##000000
##F4F56C1.001.1618.1218.12
#FFFFFF1.161.0021.0021.00
#00000018.1221.001.001.00
##00000018.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC5D
Deuteranopia (green-blind)
#FFF074
Tritanopia (blue-blind)
#FFE7D7
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #f4f56c;
/* rgb */ color: rgb(244, 245, 108);
/* oklch */ color: oklch(94.3% 0.158 109.5);
Tailwind
colors: {
  custom: {
    50: '#faf89b',
    500: '#f4f56c',
    950: '#000000',
  },
}
SCSS
$custom: #f4f56c;
$custom-light: #faf89b;
$custom-dark: #000000;
JSON
{
  "hex": "#f4f56c",
  "rgb": {
    "r": 244,
    "g": 245,
    "b": 108
  },
  "hsl": {
    "h": 60.438,
    "s": 87.261,
    "l": 69.216
  },
  "oklch": {
    "l": 0.94349,
    "c": 0.15809,
    "h": 109.5
  },
  "luminance": 0.85621
}

Semantic roles & 50–950 ramp

primary
#F4F56C
secondary
#3837CF
accent
#02E403
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F4F56C

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

Preview Lab → · Contrast checker → · Palette generator →

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