#F2F767#F2F767

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

Color values

HEX#F2F767
RGBrgb(242, 247, 103)
HSLhsl(62, 90%, 69%)
HSVhsv(62, 58%, 97%)
CMYKcmyk(2%, 0%, 58.3%, 3.1%)
CIE-LABlab(94.47, -19.70, 66.89)
CIE-LCHlch(94.47, 69.72, 106.41°)
OKLaboklab(94.56% -0.0591 0.1537)
OKLCHoklch(94.56% 0.165 111)
XYZxyz(72.3288, 86.3797, 25.6922)
Luminance0.8638 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F767 #6C67F7
analogous
#F7B467 #F2F767 #AAF767
triadic
#F2F767 #67F2F7 #F767F2
tetradic
#F2F767 #67F7B4 #6C67F7 #F767AA
square
#F2F767 #67F7B4 #6C67F7 #F767AA
split-complementary
#F2F767 #67AAF7 #B467F7
monochromatic
#D1D80B #EDF42D #F2F767 #F7FAA1 #FCFDDB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F2F767#FFFFFF#000000##000000
##F2F7671.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)
#FFED57
Deuteranopia (green-blind)
#FFF170
Tritanopia (blue-blind)
#FFE9D8
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #f2f767;
/* rgb */ color: rgb(242, 247, 103);
/* oklch */ color: oklch(94.6% 0.165 111.0);
Tailwind
colors: {
  custom: {
    50: '#f9f998',
    500: '#f2f767',
    950: '#000000',
  },
}
SCSS
$custom: #f2f767;
$custom-light: #f9f998;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f767",
  "rgb": {
    "r": 242,
    "g": 247,
    "b": 103
  },
  "hsl": {
    "h": 62.083,
    "s": 90,
    "l": 68.627
  },
  "oklch": {
    "l": 0.94556,
    "c": 0.16464,
    "h": 111
  },
  "luminance": 0.86378
}

Semantic roles & 50–950 ramp

primary
#F2F767
secondary
#3732D0
accent
#00E608
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F2F767

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

Preview Lab → · Contrast checker → · Palette generator →

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