#F2F45E#F2F45E

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

Color values

HEX#F2F45E
RGBrgb(242, 244, 94)
HSLhsl(61, 87%, 66%)
HSVhsv(61, 61%, 96%)
CMYKcmyk(0.8%, 0%, 61.5%, 4.3%)
CIE-LABlab(93.62, -18.84, 69.65)
CIE-LCHlch(93.62, 72.16, 105.14°)
OKLaboklab(93.85% -0.0576 0.1584)
OKLCHoklch(93.85% 0.169 110)
XYZxyz(70.9912, 84.3886, 23.1365)
Luminance0.8439 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F45E #605EF4
analogous
#F4AB5E #F2F45E #A7F45E
triadic
#F2F45E #5EF2F4 #F45EF2
tetradic
#F2F45E #5EF4AB #605EF4 #F45EA7
square
#F2F45E #5EF4AB #605EF4 #F45EA7
split-complementary
#F2F45E #5EA7F4 #AB5EF4
monochromatic
#C7CA0E #EDF025 #F2F45E #F7F897 #FBFCD1

Accessibility & contrast

On white

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

On black

17.88
#F2F45E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F45E
17.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F45E#FFFFFF#000000##000000
##F2F45E1.001.1717.8817.88
#FFFFFF1.171.0021.0021.00
#00000017.8821.001.001.00
##00000017.8821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2f45e;
/* rgb */ color: rgb(242, 244, 94);
/* oklch */ color: oklch(93.8% 0.169 110.0);
Tailwind
colors: {
  custom: {
    50: '#f9f792',
    500: '#f2f45e',
    950: '#000000',
  },
}
SCSS
$custom: #f2f45e;
$custom-light: #f9f792;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f45e",
  "rgb": {
    "r": 242,
    "g": 244,
    "b": 94
  },
  "hsl": {
    "h": 60.8,
    "s": 87.209,
    "l": 66.275
  },
  "oklch": {
    "l": 0.93849,
    "c": 0.1685,
    "h": 110
  },
  "luminance": 0.84387
}

Semantic roles & 50–950 ramp

primary
#F2F45E
secondary
#3230C6
accent
#02E405
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F2F45E

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

Preview Lab → · Contrast checker → · Palette generator →

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