#F2F47A#F2F47A

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

Color values

HEX#F2F47A
RGBrgb(242, 244, 122)
HSLhsl(61, 85%, 72%)
HSVhsv(61, 50%, 96%)
CMYKcmyk(0.8%, 0%, 50%, 4.3%)
CIE-LABlab(93.88, -16.80, 57.88)
CIE-LCHlch(93.88, 60.27, 106.18°)
OKLaboklab(94.14% -0.0489 0.1364)
OKLCHoklch(94.14% 0.145 109.7)
XYZxyz(72.4831, 84.9854, 30.9942)
Luminance0.8498 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F47A #7C7AF4
analogous
#F4B97A #F2F47A #B5F47A
triadic
#F2F47A #7AF2F4 #F47AF2
tetradic
#F2F47A #7AF4B9 #7C7AF4 #F47AB5
square
#F2F47A #7AF4B9 #7C7AF4 #F47AB5
split-complementary
#F2F47A #7AB5F4 #B97AF4
monochromatic
#DEE113 #ECEF41 #F2F47A #F8F9B3 #FCFDE3

Accessibility & contrast

On white

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

On black

18.00
#F2F47A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F47A
18.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F47A#FFFFFF#000000##000000
##F2F47A1.001.1718.0018.00
#FFFFFF1.171.0021.0021.00
#00000018.0021.001.001.00
##00000018.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB6F
Deuteranopia (green-blind)
#FFEF80
Tritanopia (blue-blind)
#FFE7D8
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #f2f47a;
/* rgb */ color: rgb(242, 244, 122);
/* oklch */ color: oklch(94.1% 0.145 109.7);
Tailwind
colors: {
  custom: {
    50: '#f8f7a3',
    500: '#f2f47a',
    950: '#000000',
  },
}
SCSS
$custom: #f2f47a;
$custom-light: #f8f7a3;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f47a",
  "rgb": {
    "r": 242,
    "g": 244,
    "b": 122
  },
  "hsl": {
    "h": 60.984,
    "s": 84.722,
    "l": 71.765
  },
  "oklch": {
    "l": 0.94138,
    "c": 0.14489,
    "h": 109.7
  },
  "luminance": 0.84984
}

Semantic roles & 50–950 ramp

primary
#F2F47A
secondary
#4543CF
accent
#04E108
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F2F47A

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

Preview Lab → · Contrast checker → · Palette generator →

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