#F2F47B#F2F47B

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

Color values

HEX#F2F47B
RGBrgb(242, 244, 123)
HSLhsl(61, 85%, 72%)
HSVhsv(61, 50%, 96%)
CMYKcmyk(0.8%, 0%, 49.6%, 4.3%)
CIE-LABlab(93.89, -16.71, 57.44)
CIE-LCHlch(93.89, 59.82, 106.22°)
OKLaboklab(94.15% -0.0486 0.1355)
OKLCHoklch(94.15% 0.144 109.7)
XYZxyz(72.5454, 85.0103, 31.3221)
Luminance0.8501 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F47B #7D7BF4
analogous
#F4BA7B #F2F47B #B6F47B
triadic
#F2F47B #7BF2F4 #F47BF2
tetradic
#F2F47B #7BF4BA #7D7BF4 #F47BB6
square
#F2F47B #7BF4BA #7D7BF4 #F47BB6
split-complementary
#F2F47B #7BB6F4 #BA7BF4
monochromatic
#DEE213 #ECEF43 #F2F47B #F8F9B3 #FCFDE3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F2F47B#FFFFFF#000000##000000
##F2F47B1.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)
#FFEB70
Deuteranopia (green-blind)
#FFEF81
Tritanopia (blue-blind)
#FFE7D8
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #f2f47b;
/* rgb */ color: rgb(242, 244, 123);
/* oklch */ color: oklch(94.2% 0.144 109.7);
Tailwind
colors: {
  custom: {
    50: '#f8f7a4',
    500: '#f2f47b',
    950: '#000000',
  },
}
SCSS
$custom: #f2f47b;
$custom-light: #f8f7a4;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f47b",
  "rgb": {
    "r": 242,
    "g": 244,
    "b": 123
  },
  "hsl": {
    "h": 60.992,
    "s": 84.615,
    "l": 71.961
  },
  "oklch": {
    "l": 0.9415,
    "c": 0.14395,
    "h": 109.7
  },
  "luminance": 0.85009
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F2F47B

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

Preview Lab → · Contrast checker → · Palette generator →

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