#F2F45B#F2F45B

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

Color values

HEX#F2F45B
RGBrgb(242, 244, 91)
HSLhsl(61, 87%, 66%)
HSVhsv(61, 63%, 96%)
CMYKcmyk(0.8%, 0%, 62.7%, 4.3%)
CIE-LABlab(93.60, -19.02, 70.82)
CIE-LCHlch(93.60, 73.33, 105.04°)
OKLaboklab(93.82% -0.0584 0.1604)
OKLCHoklch(93.82% 0.171 110)
XYZxyz(70.8592, 84.3358, 22.4413)
Luminance0.8433 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F45B #5D5BF4
analogous
#F4A95B #F2F45B #A6F45B
triadic
#F2F45B #5BF2F4 #F45BF2
tetradic
#F2F45B #5BF4A9 #5D5BF4 #F45BA6
square
#F2F45B #5BF4A9 #5D5BF4 #F45BA6
split-complementary
#F2F45B #5BA6F4 #A95BF4
monochromatic
#C5C70D #EDF022 #F2F45B #F7F894 #FBFCCE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F2F45B#FFFFFF#000000##000000
##F2F45B1.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)
#FFEA47
Deuteranopia (green-blind)
#FFEF65
Tritanopia (blue-blind)
#FFE6D4
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #f2f45b;
/* rgb */ color: rgb(242, 244, 91);
/* oklch */ color: oklch(93.8% 0.171 110.0);
Tailwind
colors: {
  custom: {
    50: '#faf790',
    500: '#f2f45b',
    950: '#000000',
  },
}
SCSS
$custom: #f2f45b;
$custom-light: #faf790;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f45b",
  "rgb": {
    "r": 242,
    "g": 244,
    "b": 91
  },
  "hsl": {
    "h": 60.784,
    "s": 87.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.93824,
    "c": 0.1707,
    "h": 110
  },
  "luminance": 0.84334
}

Semantic roles & 50–950 ramp

primary
#F2F45B
secondary
#312FC4
accent
#02E404
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F2F45B

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

Preview Lab → · Contrast checker → · Palette generator →

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