#F2F06B#F2F06B

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

Color values

HEX#F2F06B
RGBrgb(242, 240, 107)
HSLhsl(59, 84%, 68%)
HSVhsv(59, 56%, 95%)
CMYKcmyk(0%, 0.8%, 55.8%, 5.1%)
CIE-LABlab(92.69, -16.03, 63.20)
CIE-LCHlch(92.69, 65.20, 104.23°)
OKLaboklab(93.14% -0.0482 0.1463)
OKLCHoklch(93.14% 0.154 108.3)
XYZxyz(70.4339, 82.2609, 26.0748)
Luminance0.8226 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F06B #6B6DF2
analogous
#F2AC6B #F2F06B #B0F26B
triadic
#F2F06B #6BF2F0 #F06BF2
tetradic
#F2F06B #6BF2AC #6B6DF2 #F26BB0
square
#F2F06B #6BF2AC #6B6DF2 #F26BB0
split-complementary
#F2F06B #6BB0F2 #AC6BF2
monochromatic
#D0CD12 #EDEA33 #F2F06B #F7F6A3 #FCFBDC

Accessibility & contrast

On white

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

On black

17.45
#F2F06B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F06B
17.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F06B#FFFFFF#000000##000000
##F2F06B1.001.2017.4517.45
#FFFFFF1.201.0021.0021.00
#00000017.4521.001.001.00
##00000017.4521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2f06b;
/* rgb */ color: rgb(242, 240, 107);
/* oklch */ color: oklch(93.1% 0.154 108.3);
Tailwind
colors: {
  custom: {
    50: '#f9f49a',
    500: '#f2f06b',
    950: '#000000',
  },
}
SCSS
$custom: #f2f06b;
$custom-light: #f9f49a;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f06b",
  "rgb": {
    "r": 242,
    "g": 240,
    "b": 107
  },
  "hsl": {
    "h": 59.111,
    "s": 83.851,
    "l": 68.431
  },
  "oklch": {
    "l": 0.93144,
    "c": 0.15405,
    "h": 108.3
  },
  "luminance": 0.82259
}

Semantic roles & 50–950 ramp

primary
#F2F06B
secondary
#3639CB
accent
#08E005
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F2F06B

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

Preview Lab → · Contrast checker → · Palette generator →

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