#F2F96D#F2F96D

#F2F96D is a very light, vivid yellow. Relative luminance 0.877; OKLCH L 95.0% C 0.162 H 111.7°. Best body text is #000000 at 18.55:1 contrast (WCAG AA passes).

Color values

HEX#F2F96D
RGBrgb(242, 249, 109)
HSLhsl(63, 92%, 70%)
HSVhsv(63, 56%, 98%)
CMYKcmyk(2.8%, 0%, 56.2%, 2.4%)
CIE-LABlab(95.05, -20.23, 64.98)
CIE-LCHlch(95.05, 68.06, 107.29°)
OKLaboklab(95.03% -0.06 0.1503)
OKLCHoklch(95.03% 0.162 111.7)
XYZxyz(73.2557, 87.7343, 27.5405)
Luminance0.8773 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F96D #746DF9
analogous
#F9BA6D #F2F96D #ACF96D
triadic
#F2F96D #6DF2F9 #F96DF2
tetradic
#F2F96D #6DF9BA #746DF9 #F96DAC
square
#F2F96D #6DF9BA #746DF9 #F96DAC
split-complementary
#F2F96D #6DACF9 #BA6DF9
monochromatic
#D7E209 #EDF732 #F2F96D #F7FBA8 #FCFEE2

Accessibility & contrast

On white

1.13
#F2F96D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.55
#F2F96D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F96D
18.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F96D#FFFFFF#000000##000000
##F2F96D1.001.1318.5518.55
#FFFFFF1.131.0021.0021.00
#00000018.5521.001.001.00
##00000018.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF5E
Deuteranopia (green-blind)
#FFF375
Tritanopia (blue-blind)
#FFEBDB
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #f2f96d;
/* rgb */ color: rgb(242, 249, 109);
/* oklch */ color: oklch(95.0% 0.162 111.7);
Tailwind
colors: {
  custom: {
    50: '#f9fb9b',
    500: '#f2f96d',
    950: '#000000',
  },
}
SCSS
$custom: #f2f96d;
$custom-light: #f9fb9b;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f96d",
  "rgb": {
    "r": 242,
    "g": 249,
    "b": 109
  },
  "hsl": {
    "h": 63,
    "s": 92.105,
    "l": 70.196
  },
  "oklch": {
    "l": 0.95032,
    "c": 0.16186,
    "h": 111.7
  },
  "luminance": 0.87733
}

Semantic roles & 50–950 ramp

primary
#F2F96D
secondary
#3E37D4
accent
#00E60B
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F2F96D

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

Preview Lab → · Contrast checker → · Palette generator →

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