#F2F165#F2F165

#F2F165 is a very light, vivid yellow. Relative luminance 0.827; OKLCH L 93.3% C 0.160 H 108.8°. Best body text is #000000 at 17.55:1 contrast (WCAG AA passes).

Color values

HEX#F2F165
RGBrgb(242, 241, 101)
HSLhsl(60, 84%, 67%)
HSVhsv(60, 58%, 95%)
CMYKcmyk(0%, 0.4%, 58.3%, 5.1%)
CIE-LABlab(92.90, -16.93, 65.99)
CIE-LCHlch(92.90, 68.13, 104.39°)
OKLaboklab(93.29% -0.0514 0.1515)
OKLCHoklch(93.29% 0.16 108.8)
XYZxyz(70.4243, 82.7294, 24.5680)
Luminance0.8273 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F165 #6566F2
analogous
#F2AA65 #F2F165 #ADF265
triadic
#F2F165 #65F2F1 #F165F2
tetradic
#F2F165 #65F2AA #6566F2 #F265AD
square
#F2F165 #65F2AA #6566F2 #F265AD
split-complementary
#F2F165 #65ADF2 #AA65F2
monochromatic
#CBCA11 #EDEC2D #F2F165 #F7F69D #FCFBD6

Accessibility & contrast

On white

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

On black

17.55
#F2F165 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F165
17.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F165#FFFFFF#000000##000000
##F2F1651.001.2017.5517.55
#FFFFFF1.201.0021.0021.00
#00000017.5521.001.001.00
##00000017.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE855
Deuteranopia (green-blind)
#FFED6D
Tritanopia (blue-blind)
#FFE3D3
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #f2f165;
/* rgb */ color: rgb(242, 241, 101);
/* oklch */ color: oklch(93.3% 0.160 108.8);
Tailwind
colors: {
  custom: {
    50: '#f9f596',
    500: '#f2f165',
    950: '#000000',
  },
}
SCSS
$custom: #f2f165;
$custom-light: #f9f596;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f165",
  "rgb": {
    "r": 242,
    "g": 241,
    "b": 101
  },
  "hsl": {
    "h": 59.574,
    "s": 84.431,
    "l": 67.255
  },
  "oklch": {
    "l": 0.93291,
    "c": 0.16004,
    "h": 108.8
  },
  "luminance": 0.82727
}

Semantic roles & 50–950 ramp

primary
#F2F165
secondary
#3334C8
accent
#06E105
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F2F165

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

Preview Lab → · Contrast checker → · Palette generator →

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