#F2F67F#F2F67F

#F2F67F is a very light, vivid yellow. Relative luminance 0.863; OKLCH L 94.6% C 0.142 H 110.6°. Best body text is #000000 at 18.26:1 contrast (WCAG AA passes).

Color values

HEX#F2F67F
RGBrgb(242, 246, 127)
HSLhsl(62, 87%, 73%)
HSVhsv(62, 48%, 96%)
CMYKcmyk(1.6%, 0%, 48.4%, 3.5%)
CIE-LABlab(94.45, -17.34, 56.27)
CIE-LCHlch(94.45, 58.88, 107.13°)
OKLaboklab(94.61% -0.05 0.1333)
OKLCHoklch(94.61% 0.142 110.6)
XYZxyz(73.4060, 86.3226, 32.8696)
Luminance0.8632 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F67F #837FF6
analogous
#F6BE7F #F2F67F #B6F67F
triadic
#F2F67F #7FF2F6 #F67FF2
tetradic
#F2F67F #7FF6BE #837FF6 #F67FB6
square
#F2F67F #7FF6BE #837FF6 #F67FB6
split-complementary
#F2F67F #7FB6F6 #BE7FF6
monochromatic
#E3EA10 #ECF246 #F2F67F #F8FAB8 #FCFDE2

Accessibility & contrast

On white

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

On black

18.26
#F2F67F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F67F
18.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F67F#FFFFFF#000000##000000
##F2F67F1.001.1518.2618.26
#FFFFFF1.151.0021.0021.00
#00000018.2621.001.001.00
##00000018.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED74
Deuteranopia (green-blind)
#FFF185
Tritanopia (blue-blind)
#FFEADB
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #f2f67f;
/* rgb */ color: rgb(242, 246, 127);
/* oklch */ color: oklch(94.6% 0.142 110.6);
Tailwind
colors: {
  custom: {
    50: '#f8f9a7',
    500: '#f2f67f',
    950: '#000000',
  },
}
SCSS
$custom: #f2f67f;
$custom-light: #f8f9a7;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f67f",
  "rgb": {
    "r": 242,
    "g": 246,
    "b": 127
  },
  "hsl": {
    "h": 62.017,
    "s": 86.861,
    "l": 73.137
  },
  "oklch": {
    "l": 0.94613,
    "c": 0.14235,
    "h": 110.6
  },
  "luminance": 0.86321
}

Semantic roles & 50–950 ramp

primary
#F2F67F
secondary
#4C47D2
accent
#02E30A
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#171710
muted
#858580

Preview Lab

Preview with #F2F67F

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

Preview Lab → · Contrast checker → · Palette generator →

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