#F2E968#F2E968

#F2E968 is a very light, vivid yellow. Relative luminance 0.782; 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#F2E968
RGBrgb(242, 233, 104)
HSLhsl(56, 84%, 68%)
HSVhsv(56, 57%, 95%)
CMYKcmyk(0%, 3.7%, 57%, 5.1%)
CIE-LABlab(90.85, -12.81, 62.44)
CIE-LCHlch(90.85, 63.74, 101.59°)
OKLaboklab(91.67% -0.0394 0.1443)
OKLCHoklch(91.67% 0.15 105.3)
XYZxyz(68.2577, 78.1568, 24.5842)
Luminance0.7815 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E968 #6871F2
analogous
#F2A468 #F2E968 #B6F268
triadic
#F2E968 #68F2E9 #E968F2
tetradic
#F2E968 #68F2A4 #6871F2 #F268B6
square
#F2E968 #68F2A4 #6871F2 #F268B6
split-complementary
#F2E968 #68B6F2 #A468F2
monochromatic
#CEC212 #EDE130 #F2E968 #F7F1A0 #FCF9D9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F2E968#FFFFFF#000000##000000
##F2E9681.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)
#FBE15A
Deuteranopia (green-blind)
#FFE86F
Tritanopia (blue-blind)
#FFDBCD
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #f2e968;
/* rgb */ color: rgb(242, 233, 104);
/* oklch */ color: oklch(91.7% 0.150 105.3);
Tailwind
colors: {
  custom: {
    50: '#f9ef97',
    500: '#f2e968',
    950: '#000000',
  },
}
SCSS
$custom: #f2e968;
$custom-light: #f9ef97;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e968",
  "rgb": {
    "r": 242,
    "g": 233,
    "b": 104
  },
  "hsl": {
    "h": 56.087,
    "s": 84.146,
    "l": 67.843
  },
  "oklch": {
    "l": 0.91671,
    "c": 0.14962,
    "h": 105.3
  },
  "luminance": 0.78155
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F2E968

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

Preview Lab → · Contrast checker → · Palette generator →

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