#F2F386#F2F386

#F2F386 is a very light, vivid yellow. Relative luminance 0.847; OKLCH L 94.1% C 0.132 H 109.2°. Best body text is #000000 at 17.94:1 contrast (WCAG AA passes).

Color values

HEX#F2F386
RGBrgb(242, 243, 134)
HSLhsl(61, 82%, 74%)
HSVhsv(61, 45%, 95%)
CMYKcmyk(0.4%, 0%, 44.9%, 4.7%)
CIE-LABlab(93.75, -15.24, 52.16)
CIE-LCHlch(93.75, 54.34, 106.29°)
OKLaboklab(94.08% -0.0433 0.1248)
OKLCHoklch(94.08% 0.132 109.2)
XYZxyz(72.9730, 84.7013, 35.0545)
Luminance0.8470 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F386 #8786F3
analogous
#F3BE86 #F2F386 #BCF386
triadic
#F2F386 #86F2F3 #F386F2
tetradic
#F2F386 #86F3BE #8786F3 #F386BC
square
#F2F386 #86F3BE #8786F3 #F386BC
split-complementary
#F2F386 #86BCF3 #BE86F3
monochromatic
#E6E817 #ECED4E #F2F386 #F8F9BE #FCFCE3

Accessibility & contrast

On white

1.17
#F2F386 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.94
#F2F386 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F386
17.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F386#FFFFFF#000000##000000
##F2F3861.001.1717.9417.94
#FFFFFF1.171.0021.0021.00
#00000017.9421.001.001.00
##00000017.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB7D
Deuteranopia (green-blind)
#FFEF8B
Tritanopia (blue-blind)
#FFE7D9
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #f2f386;
/* rgb */ color: rgb(242, 243, 134);
/* oklch */ color: oklch(94.1% 0.132 109.2);
Tailwind
colors: {
  custom: {
    50: '#f8f6ab',
    500: '#f2f386',
    950: '#000000',
  },
}
SCSS
$custom: #f2f386;
$custom-light: #f8f6ab;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f386",
  "rgb": {
    "r": 242,
    "g": 243,
    "b": 134
  },
  "hsl": {
    "h": 60.55,
    "s": 81.955,
    "l": 73.922
  },
  "oklch": {
    "l": 0.94084,
    "c": 0.13211,
    "h": 109.2
  },
  "luminance": 0.847
}

Semantic roles & 50–950 ramp

primary
#F2F386
secondary
#4F4ECF
accent
#07DE09
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#171710
muted
#858581

Preview Lab

Preview with #F2F386

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

Preview Lab → · Contrast checker → · Palette generator →

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