#F2F97D#F2F97D

#F2F97D is a very light, vivid yellow. Relative luminance 0.881; OKLCH L 95.2% C 0.148 H 111.8°. Best body text is #000000 at 18.62:1 contrast (WCAG AA passes).

Color values

HEX#F2F97D
RGBrgb(242, 249, 125)
HSLhsl(63, 91%, 73%)
HSVhsv(63, 50%, 98%)
CMYKcmyk(2.8%, 0%, 49.8%, 2.4%)
CIE-LABlab(95.21, -18.96, 58.08)
CIE-LCHlch(95.21, 61.10, 108.08°)
OKLaboklab(95.21% -0.0548 0.1371)
OKLCHoklch(95.21% 0.148 111.8)
XYZxyz(74.1968, 88.1107, 32.4966)
Luminance0.8811 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F97D #847DF9
analogous
#F9C27D #F2F97D #B4F97D
triadic
#F2F97D #7DF2F9 #F97DF2
tetradic
#F2F97D #7DF9C2 #847DF9 #F97DB4
square
#F2F97D #7DF9C2 #847DF9 #F97DB4
split-complementary
#F2F97D #7DB4F9 #C27DF9
monochromatic
#E4F00B #ECF642 #F2F97D #F8FCB7 #FCFEE2

Accessibility & contrast

On white

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

On black

18.62
#F2F97D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F97D
18.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F97D#FFFFFF#000000##000000
##F2F97D1.001.1318.6218.62
#FFFFFF1.131.0021.0021.00
#00000018.6221.001.001.00
##00000018.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF72
Deuteranopia (green-blind)
#FFF384
Tritanopia (blue-blind)
#FFECDD
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #f2f97d;
/* rgb */ color: rgb(242, 249, 125);
/* oklch */ color: oklch(95.2% 0.148 111.8);
Tailwind
colors: {
  custom: {
    50: '#f8fba5',
    500: '#f2f97d',
    950: '#000000',
  },
}
SCSS
$custom: #f2f97d;
$custom-light: #f8fba5;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f97d",
  "rgb": {
    "r": 242,
    "g": 249,
    "b": 125
  },
  "hsl": {
    "h": 63.387,
    "s": 91.176,
    "l": 73.333
  },
  "oklch": {
    "l": 0.9521,
    "c": 0.14762,
    "h": 111.8
  },
  "luminance": 0.88109
}

Semantic roles & 50–950 ramp

primary
#F2F97D
secondary
#4D44D6
accent
#00E60D
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#181710
muted
#868580

Preview Lab

Preview with #F2F97D

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

Preview Lab → · Contrast checker → · Palette generator →

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