#F2F45D#F2F45D

#F2F45D 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.87:1 contrast (WCAG AA passes).

Color values

HEX#F2F45D
RGBrgb(242, 244, 93)
HSLhsl(61, 87%, 66%)
HSVhsv(61, 62%, 96%)
CMYKcmyk(0.8%, 0%, 61.9%, 4.3%)
CIE-LABlab(93.61, -18.90, 70.04)
CIE-LCHlch(93.61, 72.55, 105.10°)
OKLaboklab(93.84% -0.0578 0.1591)
OKLCHoklch(93.84% 0.169 110)
XYZxyz(70.9466, 84.3708, 22.9017)
Luminance0.8437 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F45D #5F5DF4
analogous
#F4AA5D #F2F45D #A6F45D
triadic
#F2F45D #5DF2F4 #F45DF2
tetradic
#F2F45D #5DF4AA #5F5DF4 #F45DA6
square
#F2F45D #5DF4AA #5F5DF4 #F45DA6
split-complementary
#F2F45D #5DA6F4 #AA5DF4
monochromatic
#C6C90E #EDF024 #F2F45D #F7F896 #FBFCD0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F2F45D#FFFFFF#000000##000000
##F2F45D1.001.1717.8717.87
#FFFFFF1.171.0021.0021.00
#00000017.8721.001.001.00
##00000017.8721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2f45d;
/* rgb */ color: rgb(242, 244, 93);
/* oklch */ color: oklch(93.8% 0.169 110.0);
Tailwind
colors: {
  custom: {
    50: '#faf791',
    500: '#f2f45d',
    950: '#000000',
  },
}
SCSS
$custom: #f2f45d;
$custom-light: #faf791;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f45d",
  "rgb": {
    "r": 242,
    "g": 244,
    "b": 93
  },
  "hsl": {
    "h": 60.795,
    "s": 87.283,
    "l": 66.078
  },
  "oklch": {
    "l": 0.93841,
    "c": 0.16924,
    "h": 110
  },
  "luminance": 0.84369
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F2F45D

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

Preview Lab → · Contrast checker → · Palette generator →

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