#F2F45C#F2F45C

#F2F45C is a very light, vivid yellow. Relative luminance 0.844; OKLCH L 93.8% C 0.170 H 110.0°. Best body text is #000000 at 17.87:1 contrast (WCAG AA passes).

Color values

HEX#F2F45C
RGBrgb(242, 244, 92)
HSLhsl(61, 87%, 66%)
HSVhsv(61, 62%, 96%)
CMYKcmyk(0.8%, 0%, 62.3%, 4.3%)
CIE-LABlab(93.60, -18.96, 70.43)
CIE-LCHlch(93.60, 72.94, 105.07°)
OKLaboklab(93.83% -0.0581 0.1597)
OKLCHoklch(93.83% 0.17 110)
XYZxyz(70.9026, 84.3532, 22.6700)
Luminance0.8435 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F45C #5E5CF4
analogous
#F4AA5C #F2F45C #A6F45C
triadic
#F2F45C #5CF2F4 #F45CF2
tetradic
#F2F45C #5CF4AA #5E5CF4 #F45CA6
square
#F2F45C #5CF4AA #5E5CF4 #F45CA6
split-complementary
#F2F45C #5CA6F4 #AA5CF4
monochromatic
#C6C80E #EDF023 #F2F45C #F7F895 #FBFCCF

Accessibility & contrast

On white

1.18
#F2F45C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.87
#F2F45C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F45C
17.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F45C#FFFFFF#000000##000000
##F2F45C1.001.1817.8717.87
#FFFFFF1.181.0021.0021.00
#00000017.8721.001.001.00
##00000017.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA48
Deuteranopia (green-blind)
#FFEF66
Tritanopia (blue-blind)
#FFE6D5
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #f2f45c;
/* rgb */ color: rgb(242, 244, 92);
/* oklch */ color: oklch(93.8% 0.170 110.0);
Tailwind
colors: {
  custom: {
    50: '#faf791',
    500: '#f2f45c',
    950: '#000000',
  },
}
SCSS
$custom: #f2f45c;
$custom-light: #faf791;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f45c",
  "rgb": {
    "r": 242,
    "g": 244,
    "b": 92
  },
  "hsl": {
    "h": 60.789,
    "s": 87.356,
    "l": 65.882
  },
  "oklch": {
    "l": 0.93832,
    "c": 0.16997,
    "h": 110
  },
  "luminance": 0.84351
}

Semantic roles & 50–950 ramp

primary
#F2F45C
secondary
#312FC5
accent
#02E405
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F2F45C

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

Preview Lab → · Contrast checker → · Palette generator →

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