#F2F685#F2F685

#F2F685 is a very light, vivid yellow. Relative luminance 0.865; OKLCH L 94.7% C 0.136 H 110.5°. Best body text is #000000 at 18.30:1 contrast (WCAG AA passes).

Color values

HEX#F2F685
RGBrgb(242, 246, 133)
HSLhsl(62, 86%, 74%)
HSVhsv(62, 46%, 96%)
CMYKcmyk(1.6%, 0%, 45.9%, 3.5%)
CIE-LABlab(94.52, -16.80, 53.56)
CIE-LCHlch(94.52, 56.13, 107.41°)
OKLaboklab(94.69% -0.0479 0.1278)
OKLCHoklch(94.69% 0.136 110.5)
XYZxyz(73.8087, 86.4837, 34.9907)
Luminance0.8648 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F685 #8985F6
analogous
#F6C285 #F2F685 #BAF685
triadic
#F2F685 #85F2F6 #F685F2
tetradic
#F2F685 #85F6C2 #8985F6 #F685BA
square
#F2F685 #85F6C2 #8985F6 #F685BA
split-complementary
#F2F685 #85BAF6 #C285F6
monochromatic
#E6EE13 #ECF24C #F2F685 #F8FABE #FCFDE3

Accessibility & contrast

On white

1.15
#F2F685 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.30
#F2F685 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F685
18.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F685#FFFFFF#000000##000000
##F2F6851.001.1518.3018.30
#FFFFFF1.151.0021.0021.00
#00000018.3021.001.001.00
##00000018.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED7B
Deuteranopia (green-blind)
#FFF18B
Tritanopia (blue-blind)
#FFEADC
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #f2f685;
/* rgb */ color: rgb(242, 246, 133);
/* oklch */ color: oklch(94.7% 0.136 110.5);
Tailwind
colors: {
  custom: {
    50: '#f8f9ab',
    500: '#f2f685',
    950: '#000000',
  },
}
SCSS
$custom: #f2f685;
$custom-light: #f8f9ab;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f685",
  "rgb": {
    "r": 242,
    "g": 246,
    "b": 133
  },
  "hsl": {
    "h": 62.124,
    "s": 86.26,
    "l": 74.314
  },
  "oklch": {
    "l": 0.9469,
    "c": 0.13648,
    "h": 110.5
  },
  "luminance": 0.86482
}

Semantic roles & 50–950 ramp

primary
#F2F685
secondary
#514CD3
accent
#03E30B
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#171710
muted
#858581

Preview Lab

Preview with #F2F685

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

Preview Lab → · Contrast checker → · Palette generator →

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