#F2F068#F2F068

#F2F068 is a very light, vivid yellow. Relative luminance 0.822; OKLCH L 93.1% C 0.157 H 108.3°. Best body text is #000000 at 17.44:1 contrast (WCAG AA passes).

Color values

HEX#F2F068
RGBrgb(242, 240, 104)
HSLhsl(59, 84%, 68%)
HSVhsv(59, 57%, 95%)
CMYKcmyk(0%, 0.8%, 57%, 5.1%)
CIE-LABlab(92.66, -16.24, 64.46)
CIE-LCHlch(92.66, 66.48, 104.14°)
OKLaboklab(93.11% -0.0492 0.1487)
OKLCHoklch(93.11% 0.157 108.3)
XYZxyz(70.2788, 82.1989, 25.2579)
Luminance0.8220 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F068 #686AF2
analogous
#F2AB68 #F2F068 #AFF268
triadic
#F2F068 #68F2F0 #F068F2
tetradic
#F2F068 #68F2AB #686AF2 #F268AF
square
#F2F068 #68F2AB #686AF2 #F268AF
split-complementary
#F2F068 #68AFF2 #AB68F2
monochromatic
#CECB12 #EDEA30 #F2F068 #F7F6A0 #FCFBD9

Accessibility & contrast

On white

1.20
#F2F068 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.44
#F2F068 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F068
17.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F068#FFFFFF#000000##000000
##F2F0681.001.2017.4417.44
#FFFFFF1.201.0021.0021.00
#00000017.4421.001.001.00
##00000017.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE759
Deuteranopia (green-blind)
#FFEC70
Tritanopia (blue-blind)
#FFE2D3
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #f2f068;
/* rgb */ color: rgb(242, 240, 104);
/* oklch */ color: oklch(93.1% 0.157 108.3);
Tailwind
colors: {
  custom: {
    50: '#f9f498',
    500: '#f2f068',
    950: '#000000',
  },
}
SCSS
$custom: #f2f068;
$custom-light: #f9f498;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f068",
  "rgb": {
    "r": 242,
    "g": 240,
    "b": 104
  },
  "hsl": {
    "h": 59.13,
    "s": 84.146,
    "l": 67.843
  },
  "oklch": {
    "l": 0.93113,
    "c": 0.15657,
    "h": 108.3
  },
  "luminance": 0.82197
}

Semantic roles & 50–950 ramp

primary
#F2F068
secondary
#3436CA
accent
#08E105
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F2F068

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

Preview Lab → · Contrast checker → · Palette generator →

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