#F2F36C#F2F36C

#F2F36C is a very light, vivid yellow. Relative luminance 0.841; OKLCH L 93.8% C 0.156 H 109.5°. Best body text is #000000 at 17.81:1 contrast (WCAG AA passes).

Color values

HEX#F2F36C
RGBrgb(242, 243, 108)
HSLhsl(60, 85%, 69%)
HSVhsv(60, 56%, 95%)
CMYKcmyk(0.4%, 0%, 55.6%, 4.7%)
CIE-LABlab(93.48, -17.41, 63.65)
CIE-LCHlch(93.48, 65.99, 105.30°)
OKLaboklab(93.78% -0.0521 0.1474)
OKLCHoklch(93.78% 0.156 109.5)
XYZxyz(71.3772, 84.0630, 26.6503)
Luminance0.8406 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F36C #6D6CF3
analogous
#F3B16C #F2F36C #AFF36C
triadic
#F2F36C #6CF2F3 #F36CF2
tetradic
#F2F36C #6CF3B1 #6D6CF3 #F36CAF
square
#F2F36C #6CF3B1 #6D6CF3 #F36CAF
split-complementary
#F2F36C #6CAFF3 #B16CF3
monochromatic
#D2D311 #EDEE33 #F2F36C #F7F8A5 #FCFCDD

Accessibility & contrast

On white

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

On black

17.81
#F2F36C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F36C
17.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F36C#FFFFFF#000000##000000
##F2F36C1.001.1817.8117.81
#FFFFFF1.181.0021.0021.00
#00000017.8121.001.001.00
##00000017.8121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2f36c;
/* rgb */ color: rgb(242, 243, 108);
/* oklch */ color: oklch(93.8% 0.156 109.5);
Tailwind
colors: {
  custom: {
    50: '#f9f69a',
    500: '#f2f36c',
    950: '#000000',
  },
}
SCSS
$custom: #f2f36c;
$custom-light: #f9f69a;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f36c",
  "rgb": {
    "r": 242,
    "g": 243,
    "b": 108
  },
  "hsl": {
    "h": 60.444,
    "s": 84.906,
    "l": 68.824
  },
  "oklch": {
    "l": 0.93775,
    "c": 0.15631,
    "h": 109.5
  },
  "luminance": 0.84061
}

Semantic roles & 50–950 ramp

primary
#F2F36C
secondary
#3837CC
accent
#04E106
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F2F36C

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

Preview Lab → · Contrast checker → · Palette generator →

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