#F2E967#F2E967

#F2E967 is a very light, vivid yellow. Relative luminance 0.781; OKLCH L 91.7% C 0.150 H 105.3°. Best body text is #000000 at 16.63:1 contrast (WCAG AA passes).

Color values

HEX#F2E967
RGBrgb(242, 233, 103)
HSLhsl(56, 84%, 68%)
HSVhsv(56, 57%, 95%)
CMYKcmyk(0%, 3.7%, 57.4%, 5.1%)
CIE-LABlab(90.84, -12.88, 62.87)
CIE-LCHlch(90.84, 64.17, 101.58°)
OKLaboklab(91.66% -0.0397 0.1451)
OKLCHoklch(91.66% 0.15 105.3)
XYZxyz(68.2073, 78.1366, 24.3183)
Luminance0.7813 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E967 #6770F2
analogous
#F2A367 #F2E967 #B6F267
triadic
#F2E967 #67F2E9 #E967F2
tetradic
#F2E967 #67F2A3 #6770F2 #F267B6
square
#F2E967 #67F2A3 #6770F2 #F267B6
split-complementary
#F2E967 #67B6F2 #A367F2
monochromatic
#CDC112 #EDE12F #F2E967 #F7F19F #FCF9D8

Accessibility & contrast

On white

1.26
#F2E967 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.63
#F2E967 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E967
16.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E967#FFFFFF#000000##000000
##F2E9671.001.2616.6316.63
#FFFFFF1.261.0021.0021.00
#00000016.6321.001.001.00
##00000016.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE159
Deuteranopia (green-blind)
#FFE86E
Tritanopia (blue-blind)
#FFDBCD
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #f2e967;
/* rgb */ color: rgb(242, 233, 103);
/* oklch */ color: oklch(91.7% 0.150 105.3);
Tailwind
colors: {
  custom: {
    50: '#f9ef97',
    500: '#f2e967',
    950: '#000000',
  },
}
SCSS
$custom: #f2e967;
$custom-light: #f9ef97;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e967",
  "rgb": {
    "r": 242,
    "g": 233,
    "b": 103
  },
  "hsl": {
    "h": 56.115,
    "s": 84.242,
    "l": 67.647
  },
  "oklch": {
    "l": 0.91661,
    "c": 0.15046,
    "h": 105.3
  },
  "luminance": 0.78134
}

Semantic roles & 50–950 ramp

primary
#F2E967
secondary
#343EC9
accent
#13E105
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160E
muted
#86857F

Preview Lab

Preview with #F2E967

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

Preview Lab → · Contrast checker → · Palette generator →

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