#F2F65E#F2F65E

#F2F65E is a very light, vivid yellow. Relative luminance 0.856; OKLCH L 94.3% C 0.171 H 110.7°. Best body text is #000000 at 18.12:1 contrast (WCAG AA passes).

Color values

HEX#F2F65E
RGBrgb(242, 246, 94)
HSLhsl(62, 89%, 67%)
HSVhsv(62, 62%, 96%)
CMYKcmyk(1.6%, 0%, 61.8%, 3.5%)
CIE-LABlab(94.14, -19.80, 70.21)
CIE-LCHlch(94.14, 72.94, 105.75°)
OKLaboklab(94.27% -0.0603 0.1595)
OKLCHoklch(94.27% 0.171 110.7)
XYZxyz(71.5962, 85.5987, 23.3382)
Luminance0.8560 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F65E #625EF6
analogous
#F6AE5E #F2F65E #A6F65E
triadic
#F2F65E #5EF2F6 #F65EF2
tetradic
#F2F65E #5EF6AE #625EF6 #F65EA6
square
#F2F65E #5EF6AE #625EF6 #F65EA6
split-complementary
#F2F65E #5EA6F6 #AE5EF6
monochromatic
#C9CE0C #EDF324 #F2F65E #F7F998 #FBFCD2

Accessibility & contrast

On white

1.16
#F2F65E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.12
#F2F65E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F65E
18.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F65E#FFFFFF#000000##000000
##F2F65E1.001.1618.1218.12
#FFFFFF1.161.0021.0021.00
#00000018.1221.001.001.00
##00000018.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC4B
Deuteranopia (green-blind)
#FFF068
Tritanopia (blue-blind)
#FFE8D6
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #f2f65e;
/* rgb */ color: rgb(242, 246, 94);
/* oklch */ color: oklch(94.3% 0.171 110.7);
Tailwind
colors: {
  custom: {
    50: '#f9f992',
    500: '#f2f65e',
    950: '#000000',
  },
}
SCSS
$custom: #f2f65e;
$custom-light: #f9f992;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f65e",
  "rgb": {
    "r": 242,
    "g": 246,
    "b": 94
  },
  "hsl": {
    "h": 61.579,
    "s": 89.412,
    "l": 66.667
  },
  "oklch": {
    "l": 0.94266,
    "c": 0.17054,
    "h": 110.7
  },
  "luminance": 0.85597
}

Semantic roles & 50–950 ramp

primary
#F2F65E
secondary
#332ECA
accent
#00E606
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F2F65E

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

Preview Lab → · Contrast checker → · Palette generator →

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