#F2F768#F2F768

#F2F768 is a very light, vivid yellow. Relative luminance 0.864; OKLCH L 94.6% C 0.164 H 111.0°. Best body text is #000000 at 18.28:1 contrast (WCAG AA passes).

Color values

HEX#F2F768
RGBrgb(242, 247, 104)
HSLhsl(62, 90%, 69%)
HSVhsv(62, 58%, 97%)
CMYKcmyk(2%, 0%, 57.9%, 3.1%)
CIE-LABlab(94.48, -19.63, 66.47)
CIE-LCHlch(94.48, 69.31, 106.45°)
OKLaboklab(94.57% -0.0588 0.1529)
OKLCHoklch(94.57% 0.164 111)
XYZxyz(72.3793, 86.3999, 25.9581)
Luminance0.8640 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F768 #6D68F7
analogous
#F7B568 #F2F768 #ABF768
triadic
#F2F768 #68F2F7 #F768F2
tetradic
#F2F768 #68F7B5 #6D68F7 #F768AB
square
#F2F768 #68F7B5 #6D68F7 #F768AB
split-complementary
#F2F768 #68ABF7 #B568F7
monochromatic
#D2D90C #EDF42E #F2F768 #F7FAA2 #FCFDDC

Accessibility & contrast

On white

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

On black

18.28
#F2F768 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F768
18.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F768#FFFFFF#000000##000000
##F2F7681.001.1518.2818.28
#FFFFFF1.151.0021.0021.00
#00000018.2821.001.001.00
##00000018.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED58
Deuteranopia (green-blind)
#FFF170
Tritanopia (blue-blind)
#FFE9D8
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #f2f768;
/* rgb */ color: rgb(242, 247, 104);
/* oklch */ color: oklch(94.6% 0.164 111.0);
Tailwind
colors: {
  custom: {
    50: '#f9f998',
    500: '#f2f768',
    950: '#000000',
  },
}
SCSS
$custom: #f2f768;
$custom-light: #f9f998;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f768",
  "rgb": {
    "r": 242,
    "g": 247,
    "b": 104
  },
  "hsl": {
    "h": 62.098,
    "s": 89.937,
    "l": 68.824
  },
  "oklch": {
    "l": 0.94566,
    "c": 0.16383,
    "h": 111
  },
  "luminance": 0.86398
}

Semantic roles & 50–950 ramp

primary
#F2F768
secondary
#3833D1
accent
#00E608
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F2F768

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

Preview Lab → · Contrast checker → · Palette generator →

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