#F2F273#F2F273

#F2F273 is a very light, vivid yellow. Relative luminance 0.836; OKLCH L 93.6% C 0.149 H 109.0°. Best body text is #000000 at 17.72:1 contrast (WCAG AA passes).

Color values

HEX#F2F273
RGBrgb(242, 242, 115)
HSLhsl(60, 83%, 70%)
HSVhsv(60, 52%, 95%)
CMYKcmyk(0%, 0%, 52.5%, 5.1%)
CIE-LABlab(93.29, -16.39, 60.35)
CIE-LCHlch(93.29, 62.54, 105.20°)
OKLaboklab(93.64% -0.0485 0.1411)
OKLCHoklch(93.64% 0.149 109)
XYZxyz(71.4664, 83.6211, 28.5922)
Luminance0.8362 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F273 #7373F2
analogous
#F2B373 #F2F273 #B3F273
triadic
#F2F273 #73F2F2 #F273F2
tetradic
#F2F273 #73F2B3 #7373F2 #F273B3
square
#F2F273 #73F2B3 #7373F2 #F273B3
split-complementary
#F2F273 #73B2F2 #B273F2
monochromatic
#D7D714 #EDED3B #F2F273 #F7F7AB #FCFCE3

Accessibility & contrast

On white

1.18
#F2F273 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.72
#F2F273 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F273
17.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F273#FFFFFF#000000##000000
##F2F2731.001.1817.7217.72
#FFFFFF1.181.0021.0021.00
#00000017.7221.001.001.00
##00000017.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE966
Deuteranopia (green-blind)
#FFEE7A
Tritanopia (blue-blind)
#FFE5D6
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #f2f273;
/* rgb */ color: rgb(242, 242, 115);
/* oklch */ color: oklch(93.6% 0.149 109.0);
Tailwind
colors: {
  custom: {
    50: '#f9f69f',
    500: '#f2f273',
    950: '#000000',
  },
}
SCSS
$custom: #f2f273;
$custom-light: #f9f69f;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f273",
  "rgb": {
    "r": 242,
    "g": 242,
    "b": 115
  },
  "hsl": {
    "h": 60,
    "s": 83.007,
    "l": 70
  },
  "oklch": {
    "l": 0.93643,
    "c": 0.14916,
    "h": 109
  },
  "luminance": 0.83619
}

Semantic roles & 50–950 ramp

primary
#F2F273
secondary
#3D3DCC
accent
#06DF06
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F2F273

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

Preview Lab → · Contrast checker → · Palette generator →

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