#F2F95E#F2F95E

#F2F95E is a very light, vivid yellow. Relative luminance 0.874; OKLCH L 94.9% C 0.174 H 111.7°. Best body text is #000000 at 18.49:1 contrast (WCAG AA passes).

Color values

HEX#F2F95E
RGBrgb(242, 249, 94)
HSLhsl(63, 93%, 67%)
HSVhsv(63, 62%, 98%)
CMYKcmyk(2.8%, 0%, 62.2%, 2.4%)
CIE-LABlab(94.92, -21.24, 71.03)
CIE-LCHlch(94.92, 74.14, 106.65°)
OKLaboklab(94.89% -0.0643 0.1613)
OKLCHoklch(94.89% 0.174 111.7)
XYZxyz(72.5161, 87.4384, 23.6448)
Luminance0.8744 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F95E #655EF9
analogous
#F9B35E #F2F95E #A4F95E
triadic
#F2F95E #5EF2F9 #F95EF2
tetradic
#F2F95E #5EF9B3 #655EF9 #F95EA4
square
#F2F95E #5EF9B3 #655EF9 #F95EA4
split-complementary
#F2F95E #5EA4F9 #B35EF9
monochromatic
#CBD508 #EDF723 #F2F95E #F7FB99 #FCFDD4

Accessibility & contrast

On white

1.14
#F2F95E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.49
#F2F95E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F95E
18.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F95E#FFFFFF#000000##000000
##F2F95E1.001.1418.4918.49
#FFFFFF1.141.0021.0021.00
#00000018.4921.001.001.00
##00000018.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE4A
Deuteranopia (green-blind)
#FFF268
Tritanopia (blue-blind)
#FFEBD9
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #f2f95e;
/* rgb */ color: rgb(242, 249, 94);
/* oklch */ color: oklch(94.9% 0.174 111.7);
Tailwind
colors: {
  custom: {
    50: '#fafb92',
    500: '#f2f95e',
    950: '#000000',
  },
}
SCSS
$custom: #f2f95e;
$custom-light: #fafb92;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f95e",
  "rgb": {
    "r": 242,
    "g": 249,
    "b": 94
  },
  "hsl": {
    "h": 62.71,
    "s": 92.814,
    "l": 67.255
  },
  "oklch": {
    "l": 0.94892,
    "c": 0.17363,
    "h": 111.7
  },
  "luminance": 0.87437
}

Semantic roles & 50–950 ramp

primary
#F2F95E
secondary
#332CCF
accent
#00E60A
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170D
muted
#86857F

Preview Lab

Preview with #F2F95E

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

Preview Lab → · Contrast checker → · Palette generator →

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