#F2F67C#F2F67C

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

Color values

HEX#F2F67C
RGBrgb(242, 246, 124)
HSLhsl(62, 87%, 73%)
HSVhsv(62, 50%, 96%)
CMYKcmyk(1.6%, 0%, 49.6%, 3.5%)
CIE-LABlab(94.42, -17.60, 57.60)
CIE-LCHlch(94.42, 60.23, 106.99°)
OKLaboklab(94.58% -0.051 0.136)
OKLCHoklch(94.58% 0.145 110.6)
XYZxyz(73.2134, 86.2456, 31.8552)
Luminance0.8624 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F67C #807CF6
analogous
#F6BD7C #F2F67C #B5F67C
triadic
#F2F67C #7CF2F6 #F67CF2
tetradic
#F2F67C #7CF6BD #807CF6 #F67CB5
square
#F2F67C #7CF6BD #807CF6 #F67CB5
split-complementary
#F2F67C #7CB5F6 #BD7CF6
monochromatic
#E1E810 #ECF243 #F2F67C #F8FAB5 #FCFDE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F2F67C#FFFFFF#000000##000000
##F2F67C1.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)
#FFED71
Deuteranopia (green-blind)
#FFF182
Tritanopia (blue-blind)
#FFE9DA
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #f2f67c;
/* rgb */ color: rgb(242, 246, 124);
/* oklch */ color: oklch(94.6% 0.145 110.6);
Tailwind
colors: {
  custom: {
    50: '#f8f9a5',
    500: '#f2f67c',
    950: '#000000',
  },
}
SCSS
$custom: #f2f67c;
$custom-light: #f8f9a5;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f67c",
  "rgb": {
    "r": 242,
    "g": 246,
    "b": 124
  },
  "hsl": {
    "h": 61.967,
    "s": 87.143,
    "l": 72.549
  },
  "oklch": {
    "l": 0.94576,
    "c": 0.14521,
    "h": 110.6
  },
  "luminance": 0.86244
}

Semantic roles & 50–950 ramp

primary
#F2F67C
secondary
#4944D2
accent
#02E409
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F2F67C

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

Preview Lab → · Contrast checker → · Palette generator →

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