#F2F377#F2F377

#F2F377 is a very light, vivid yellow. Relative luminance 0.843; OKLCH L 93.9% C 0.147 H 109.3°. Best body text is #000000 at 17.86:1 contrast (WCAG AA passes).

Color values

HEX#F2F377
RGBrgb(242, 243, 119)
HSLhsl(60, 84%, 71%)
HSVhsv(60, 51%, 95%)
CMYKcmyk(0.4%, 0%, 51%, 4.7%)
CIE-LABlab(93.59, -16.56, 58.90)
CIE-LCHlch(93.59, 61.18, 105.70°)
OKLaboklab(93.9% -0.0485 0.1383)
OKLCHoklch(93.9% 0.147 109.3)
XYZxyz(72.0000, 84.3121, 29.9302)
Luminance0.8431 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F377 #7877F3
analogous
#F3B677 #F2F377 #B4F377
triadic
#F2F377 #77F2F3 #F377F2
tetradic
#F2F377 #77F3B6 #7877F3 #F377B4
square
#F2F377 #77F3B6 #7877F3 #F377B4
split-complementary
#F2F377 #77B4F3 #B677F3
monochromatic
#DBDC13 #EDEE3F #F2F377 #F7F8AF #FCFDE3

Accessibility & contrast

On white

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

On black

17.86
#F2F377 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F377
17.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F377#FFFFFF#000000##000000
##F2F3771.001.1817.8617.86
#FFFFFF1.181.0021.0021.00
#00000017.8621.001.001.00
##00000017.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA6B
Deuteranopia (green-blind)
#FFEF7D
Tritanopia (blue-blind)
#FFE6D7
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #f2f377;
/* rgb */ color: rgb(242, 243, 119);
/* oklch */ color: oklch(93.9% 0.147 109.3);
Tailwind
colors: {
  custom: {
    50: '#f9f6a1',
    500: '#f2f377',
    950: '#000000',
  },
}
SCSS
$custom: #f2f377;
$custom-light: #f9f6a1;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f377",
  "rgb": {
    "r": 242,
    "g": 243,
    "b": 119
  },
  "hsl": {
    "h": 60.484,
    "s": 83.784,
    "l": 70.98
  },
  "oklch": {
    "l": 0.93896,
    "c": 0.14659,
    "h": 109.3
  },
  "luminance": 0.8431
}

Semantic roles & 50–950 ramp

primary
#F2F377
secondary
#4241CD
accent
#05E007
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F2F377

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

Preview Lab → · Contrast checker → · Palette generator →

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