#F2F761#F2F761

#F2F761 is a very light, vivid yellow. Relative luminance 0.863; OKLCH L 94.5% C 0.169 H 111.0°. Best body text is #000000 at 18.25:1 contrast (WCAG AA passes).

Color values

HEX#F2F761
RGBrgb(242, 247, 97)
HSLhsl(62, 90%, 67%)
HSVhsv(62, 61%, 97%)
CMYKcmyk(2%, 0%, 60.7%, 3.1%)
CIE-LABlab(94.42, -20.10, 69.30)
CIE-LCHlch(94.42, 72.16, 106.17°)
OKLaboklab(94.5% -0.0608 0.158)
OKLCHoklch(94.5% 0.169 111)
XYZxyz(72.0384, 86.2636, 24.1627)
Luminance0.8626 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F761 #6661F7
analogous
#F7B161 #F2F761 #A7F761
triadic
#F2F761 #61F2F7 #F761F2
tetradic
#F2F761 #61F7B1 #6661F7 #F761A7
square
#F2F761 #61F7B1 #6661F7 #F761A7
split-complementary
#F2F761 #61A7F7 #B161F7
monochromatic
#CCD30B #EDF427 #F2F761 #F7FA9B #FCFDD6

Accessibility & contrast

On white

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

On black

18.25
#F2F761 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F761
18.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F761#FFFFFF#000000##000000
##F2F7611.001.1518.2518.25
#FFFFFF1.151.0021.0021.00
#00000018.2521.001.001.00
##00000018.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED4F
Deuteranopia (green-blind)
#FFF16A
Tritanopia (blue-blind)
#FFE9D8
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #f2f761;
/* rgb */ color: rgb(242, 247, 97);
/* oklch */ color: oklch(94.5% 0.169 111.0);
Tailwind
colors: {
  custom: {
    50: '#f9f994',
    500: '#f2f761',
    950: '#000000',
  },
}
SCSS
$custom: #f2f761;
$custom-light: #f9f994;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f761",
  "rgb": {
    "r": 242,
    "g": 247,
    "b": 97
  },
  "hsl": {
    "h": 62,
    "s": 90.361,
    "l": 67.451
  },
  "oklch": {
    "l": 0.945,
    "c": 0.16932,
    "h": 111
  },
  "luminance": 0.86262
}

Semantic roles & 50–950 ramp

primary
#F2F761
secondary
#342ECE
accent
#00E608
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F2F761

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

Preview Lab → · Contrast checker → · Palette generator →

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