#F2F47C#F2F47C

#F2F47C is a very light, vivid yellow. Relative luminance 0.850; OKLCH L 94.2% C 0.143 H 109.7°. Best body text is #000000 at 18.01:1 contrast (WCAG AA passes).

Color values

HEX#F2F47C
RGBrgb(242, 244, 124)
HSLhsl(61, 85%, 72%)
HSVhsv(61, 49%, 96%)
CMYKcmyk(0.8%, 0%, 49.2%, 4.3%)
CIE-LABlab(93.90, -16.63, 56.99)
CIE-LCHlch(93.90, 59.37, 106.26°)
OKLaboklab(94.16% -0.0482 0.1346)
OKLCHoklch(94.16% 0.143 109.7)
XYZxyz(72.6083, 85.0355, 31.6535)
Luminance0.8503 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F47C #7E7CF4
analogous
#F4BA7C #F2F47C #B6F47C
triadic
#F2F47C #7CF2F4 #F47CF2
tetradic
#F2F47C #7CF4BA #7E7CF4 #F47CB6
square
#F2F47C #7CF4BA #7E7CF4 #F47CB6
split-complementary
#F2F47C #7CB6F4 #BA7CF4
monochromatic
#DFE313 #ECEF44 #F2F47C #F8F9B4 #FCFDE3

Accessibility & contrast

On white

1.17
#F2F47C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.01
#F2F47C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F47C
18.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F47C#FFFFFF#000000##000000
##F2F47C1.001.1718.0118.01
#FFFFFF1.171.0021.0021.00
#00000018.0121.001.001.00
##00000018.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB71
Deuteranopia (green-blind)
#FFEF82
Tritanopia (blue-blind)
#FFE7D9
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #f2f47c;
/* rgb */ color: rgb(242, 244, 124);
/* oklch */ color: oklch(94.2% 0.143 109.7);
Tailwind
colors: {
  custom: {
    50: '#f8f7a5',
    500: '#f2f47c',
    950: '#000000',
  },
}
SCSS
$custom: #f2f47c;
$custom-light: #f8f7a5;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f47c",
  "rgb": {
    "r": 242,
    "g": 244,
    "b": 124
  },
  "hsl": {
    "h": 61,
    "s": 84.507,
    "l": 72.157
  },
  "oklch": {
    "l": 0.94162,
    "c": 0.143,
    "h": 109.7
  },
  "luminance": 0.85034
}

Semantic roles & 50–950 ramp

primary
#F2F47C
secondary
#4745CF
accent
#05E108
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F2F47C

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

Preview Lab → · Contrast checker → · Palette generator →

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