#F2F073#F2F073

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

Color values

HEX#F2F073
RGBrgb(242, 240, 115)
HSLhsl(59, 83%, 70%)
HSVhsv(59, 52%, 95%)
CMYKcmyk(0%, 0.8%, 52.5%, 5.1%)
CIE-LABlab(92.77, -15.42, 59.75)
CIE-LCHlch(92.77, 61.71, 104.47°)
OKLaboklab(93.23% -0.0457 0.1398)
OKLCHoklch(93.23% 0.147 108.1)
XYZxyz(70.8744, 82.4371, 28.3948)
Luminance0.8244 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F073 #7375F2
analogous
#F2B073 #F2F073 #B5F273
triadic
#F2F073 #73F2F0 #F073F2
tetradic
#F2F073 #73F2B0 #7375F2 #F273B5
square
#F2F073 #73F2B0 #7375F2 #F273B5
split-complementary
#F2F073 #73B5F2 #B073F2
monochromatic
#D7D414 #EDEA3B #F2F073 #F7F6AB #FCFCE3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F2F073#FFFFFF#000000##000000
##F2F0731.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)
#FFE867
Deuteranopia (green-blind)
#FFEC7A
Tritanopia (blue-blind)
#FFE3D4
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #f2f073;
/* rgb */ color: rgb(242, 240, 115);
/* oklch */ color: oklch(93.2% 0.147 108.1);
Tailwind
colors: {
  custom: {
    50: '#f9f49f',
    500: '#f2f073',
    950: '#000000',
  },
}
SCSS
$custom: #f2f073;
$custom-light: #f9f49f;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f073",
  "rgb": {
    "r": 242,
    "g": 240,
    "b": 115
  },
  "hsl": {
    "h": 59.055,
    "s": 83.007,
    "l": 70
  },
  "oklch": {
    "l": 0.9323,
    "c": 0.14705,
    "h": 108.1
  },
  "luminance": 0.82435
}

Semantic roles & 50–950 ramp

primary
#F2F073
secondary
#3D40CC
accent
#09DF06
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F2F073

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

Preview Lab → · Contrast checker → · Palette generator →

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