#F2F75E#F2F75E

#F2F75E is a very light, vivid yellow. Relative luminance 0.862; OKLCH L 94.5% C 0.172 H 111.1°. Best body text is #000000 at 18.24:1 contrast (WCAG AA passes).

Color values

HEX#F2F75E
RGBrgb(242, 247, 94)
HSLhsl(62, 91%, 67%)
HSVhsv(62, 62%, 97%)
CMYKcmyk(2%, 0%, 61.9%, 3.1%)
CIE-LABlab(94.40, -20.28, 70.48)
CIE-LCHlch(94.40, 73.34, 106.06°)
OKLaboklab(94.47% -0.0616 0.1601)
OKLCHoklch(94.47% 0.172 111.1)
XYZxyz(71.9012, 86.2087, 23.4399)
Luminance0.8621 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F75E #635EF7
analogous
#F7B05E #F2F75E #A6F75E
triadic
#F2F75E #5EF2F7 #F75EF2
tetradic
#F2F75E #5EF7B0 #635EF7 #F75EA6
square
#F2F75E #5EF7B0 #635EF7 #F75EA6
split-complementary
#F2F75E #5EA6F7 #B05EF7
monochromatic
#CAD00A #EDF424 #F2F75E #F7FA98 #FBFDD3

Accessibility & contrast

On white

1.15
#F2F75E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.24
#F2F75E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F75E
18.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F75E#FFFFFF#000000##000000
##F2F75E1.001.1518.2418.24
#FFFFFF1.151.0021.0021.00
#00000018.2421.001.001.00
##00000018.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED4B
Deuteranopia (green-blind)
#FFF168
Tritanopia (blue-blind)
#FFE9D7
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #f2f75e;
/* rgb */ color: rgb(242, 247, 94);
/* oklch */ color: oklch(94.5% 0.172 111.1);
Tailwind
colors: {
  custom: {
    50: '#faf992',
    500: '#f2f75e',
    950: '#000000',
  },
}
SCSS
$custom: #f2f75e;
$custom-light: #faf992;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f75e",
  "rgb": {
    "r": 242,
    "g": 247,
    "b": 94
  },
  "hsl": {
    "h": 61.961,
    "s": 90.533,
    "l": 66.863
  },
  "oklch": {
    "l": 0.94474,
    "c": 0.17157,
    "h": 111.1
  },
  "luminance": 0.86207
}

Semantic roles & 50–950 ramp

primary
#F2F75E
secondary
#332ECC
accent
#00E608
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F2F75E

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

Preview Lab → · Contrast checker → · Palette generator →

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