#F2F065#F2F065

#F2F065 is a very light, vivid yellow. Relative luminance 0.821; OKLCH L 93.1% C 0.159 H 108.4°. Best body text is #000000 at 17.43:1 contrast (WCAG AA passes).

Color values

HEX#F2F065
RGBrgb(242, 240, 101)
HSLhsl(59, 84%, 67%)
HSVhsv(59, 58%, 95%)
CMYKcmyk(0%, 0.8%, 58.3%, 5.1%)
CIE-LABlab(92.64, -16.45, 65.71)
CIE-LCHlch(92.64, 67.74, 104.05°)
OKLaboklab(93.08% -0.0501 0.1509)
OKLCHoklch(93.08% 0.159 108.4)
XYZxyz(70.1291, 82.1390, 24.4696)
Luminance0.8214 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F065 #6567F2
analogous
#F2AA65 #F2F065 #AEF265
triadic
#F2F065 #65F2F0 #F065F2
tetradic
#F2F065 #65F2AA #6567F2 #F265AE
square
#F2F065 #65F2AA #6567F2 #F265AE
split-complementary
#F2F065 #65AEF2 #AA65F2
monochromatic
#CBC911 #EDEB2D #F2F065 #F7F59D #FCFBD6

Accessibility & contrast

On white

1.20
#F2F065 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.43
#F2F065 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F065
17.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F065#FFFFFF#000000##000000
##F2F0651.001.2017.4317.43
#FFFFFF1.201.0021.0021.00
#00000017.4321.001.001.00
##00000017.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE755
Deuteranopia (green-blind)
#FFEC6D
Tritanopia (blue-blind)
#FFE2D2
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #f2f065;
/* rgb */ color: rgb(242, 240, 101);
/* oklch */ color: oklch(93.1% 0.159 108.4);
Tailwind
colors: {
  custom: {
    50: '#f9f496',
    500: '#f2f065',
    950: '#000000',
  },
}
SCSS
$custom: #f2f065;
$custom-light: #f9f496;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f065",
  "rgb": {
    "r": 242,
    "g": 240,
    "b": 101
  },
  "hsl": {
    "h": 59.149,
    "s": 84.431,
    "l": 67.255
  },
  "oklch": {
    "l": 0.93084,
    "c": 0.15902,
    "h": 108.4
  },
  "luminance": 0.82137
}

Semantic roles & 50–950 ramp

primary
#F2F065
secondary
#3335C8
accent
#08E105
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F2F065

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

Preview Lab → · Contrast checker → · Palette generator →

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