#F2F368#F2F368

#F2F368 is a very light, vivid yellow. Relative luminance 0.840; OKLCH L 93.7% C 0.160 H 109.5°. Best body text is #000000 at 17.80:1 contrast (WCAG AA passes).

Color values

HEX#F2F368
RGBrgb(242, 243, 104)
HSLhsl(60, 85%, 68%)
HSVhsv(60, 57%, 95%)
CMYKcmyk(0.4%, 0%, 57.2%, 4.7%)
CIE-LABlab(93.44, -17.70, 65.33)
CIE-LCHlch(93.44, 67.68, 105.16°)
OKLaboklab(93.73% -0.0533 0.1505)
OKLCHoklch(93.73% 0.16 109.5)
XYZxyz(71.1692, 83.9797, 25.5547)
Luminance0.8398 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F368 #6968F3
analogous
#F3AF68 #F2F368 #ACF368
triadic
#F2F368 #68F2F3 #F368F2
tetradic
#F2F368 #68F3AF #6968F3 #F368AC
square
#F2F368 #68F3AF #6968F3 #F368AC
split-complementary
#F2F368 #68ACF3 #AF68F3
monochromatic
#CFD011 #EDEE2F #F2F368 #F7F8A1 #FCFCD9

Accessibility & contrast

On white

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

On black

17.80
#F2F368 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F368
17.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F368#FFFFFF#000000##000000
##F2F3681.001.1817.8017.80
#FFFFFF1.181.0021.0021.00
#00000017.8021.001.001.00
##00000017.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA59
Deuteranopia (green-blind)
#FFEE70
Tritanopia (blue-blind)
#FFE5D5
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #f2f368;
/* rgb */ color: rgb(242, 243, 104);
/* oklch */ color: oklch(93.7% 0.160 109.5);
Tailwind
colors: {
  custom: {
    50: '#f9f698',
    500: '#f2f368',
    950: '#000000',
  },
}
SCSS
$custom: #f2f368;
$custom-light: #f9f698;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f368",
  "rgb": {
    "r": 242,
    "g": 243,
    "b": 104
  },
  "hsl": {
    "h": 60.432,
    "s": 85.276,
    "l": 68.039
  },
  "oklch": {
    "l": 0.93734,
    "c": 0.15965,
    "h": 109.5
  },
  "luminance": 0.83978
}

Semantic roles & 50–950 ramp

primary
#F2F368
secondary
#3534CC
accent
#04E205
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F2F368

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

Preview Lab → · Contrast checker → · Palette generator →

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