#F2F265#F2F265

#F2F265 is a very light, vivid yellow. Relative luminance 0.833; OKLCH L 93.5% C 0.161 H 109.1°. Best body text is #000000 at 17.66:1 contrast (WCAG AA passes).

Color values

HEX#F2F265
RGBrgb(242, 242, 101)
HSLhsl(60, 84%, 67%)
HSVhsv(60, 58%, 95%)
CMYKcmyk(0%, 0%, 58.3%, 5.1%)
CIE-LABlab(93.16, -17.42, 66.28)
CIE-LCHlch(93.16, 68.53, 104.73°)
OKLaboklab(93.5% -0.0528 0.1521)
OKLCHoklch(93.5% 0.161 109.1)
XYZxyz(70.7211, 83.3230, 24.6670)
Luminance0.8332 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F265 #6565F2
analogous
#F2AC65 #F2F265 #ACF265
triadic
#F2F265 #65F2F2 #F265F2
tetradic
#F2F265 #65F2AC #6565F2 #F265AC
square
#F2F265 #65F2AC #6565F2 #F265AC
split-complementary
#F2F265 #65ACF2 #AC65F2
monochromatic
#CBCB11 #EDED2D #F2F265 #F7F79D #FCFCD6

Accessibility & contrast

On white

1.19
#F2F265 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.66
#F2F265 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F265
17.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F265#FFFFFF#000000##000000
##F2F2651.001.1917.6617.66
#FFFFFF1.191.0021.0021.00
#00000017.6621.001.001.00
##00000017.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE955
Deuteranopia (green-blind)
#FFEE6D
Tritanopia (blue-blind)
#FFE4D4
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #f2f265;
/* rgb */ color: rgb(242, 242, 101);
/* oklch */ color: oklch(93.5% 0.161 109.1);
Tailwind
colors: {
  custom: {
    50: '#f9f696',
    500: '#f2f265',
    950: '#000000',
  },
}
SCSS
$custom: #f2f265;
$custom-light: #f9f696;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f265",
  "rgb": {
    "r": 242,
    "g": 242,
    "b": 101
  },
  "hsl": {
    "h": 60,
    "s": 84.431,
    "l": 67.255
  },
  "oklch": {
    "l": 0.93498,
    "c": 0.16105,
    "h": 109.1
  },
  "luminance": 0.83321
}

Semantic roles & 50–950 ramp

primary
#F2F265
secondary
#3333C8
accent
#05E105
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F2F265

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

Preview Lab → · Contrast checker → · Palette generator →

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