#F2F155#F2F155

#F2F155 is a very light, vivid yellow. Relative luminance 0.824; OKLCH L 93.2% C 0.172 H 109.0°. Best body text is #000000 at 17.49:1 contrast (WCAG AA passes).

Color values

HEX#F2F155
RGBrgb(242, 241, 85)
HSLhsl(60, 86%, 64%)
HSVhsv(60, 65%, 95%)
CMYKcmyk(0%, 0.4%, 64.9%, 5.1%)
CIE-LABlab(92.77, -17.92, 72.29)
CIE-LCHlch(92.77, 74.48, 103.92°)
OKLaboklab(93.15% -0.0559 0.1626)
OKLCHoklch(93.15% 0.172 109)
XYZxyz(69.7153, 82.4458, 20.8338)
Luminance0.8244 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F155 #5556F2
analogous
#F2A355 #F2F155 #A5F255
triadic
#F2F155 #55F2F1 #F155F2
tetradic
#F2F155 #55F2A3 #5556F2 #F255A5
square
#F2F155 #55F2A3 #5556F2 #F255A5
split-complementary
#F2F155 #55A5F2 #A355F2
monochromatic
#BEBD0F #EEEC1C #F2F155 #F6F68E #FBFAC7

Accessibility & contrast

On white

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

On black

17.49
#F2F155 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F155
17.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F155#FFFFFF#000000##000000
##F2F1551.001.2017.4917.49
#FFFFFF1.201.0021.0021.00
#00000017.4921.001.001.00
##00000017.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE73F
Deuteranopia (green-blind)
#FFED5F
Tritanopia (blue-blind)
#FFE2D1
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #f2f155;
/* rgb */ color: rgb(242, 241, 85);
/* oklch */ color: oklch(93.2% 0.172 109.0);
Tailwind
colors: {
  custom: {
    50: '#faf58d',
    500: '#f2f155',
    950: '#000000',
  },
}
SCSS
$custom: #f2f155;
$custom-light: #faf58d;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f155",
  "rgb": {
    "r": 242,
    "g": 241,
    "b": 85
  },
  "hsl": {
    "h": 59.618,
    "s": 85.792,
    "l": 64.118
  },
  "oklch": {
    "l": 0.93151,
    "c": 0.17195,
    "h": 109
  },
  "luminance": 0.82444
}

Semantic roles & 50–950 ramp

primary
#F2F155
secondary
#2F30BC
accent
#05E203
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F2F155

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

Preview Lab → · Contrast checker → · Palette generator →

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