#F2E067#F2E067

#F2E067 is a very light, vivid yellow. Relative luminance 0.732; OKLCH L 89.8% C 0.142 H 100.9°. Best body text is #000000 at 15.63:1 contrast (WCAG AA passes).

Color values

HEX#F2E067
RGBrgb(242, 224, 103)
HSLhsl(52, 84%, 68%)
HSVhsv(52, 57%, 95%)
CMYKcmyk(0%, 7.4%, 57.4%, 5.1%)
CIE-LABlab(88.53, -8.41, 60.27)
CIE-LCHlch(88.53, 60.85, 97.94°)
OKLaboklab(89.82% -0.0269 0.1396)
OKLCHoklch(89.82% 0.142 100.9)
XYZxyz(65.7242, 73.1704, 23.4906)
Luminance0.7317 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E067 #6779F2
analogous
#F29A67 #F2E067 #BFF267
triadic
#F2E067 #67F2E0 #E067F2
tetradic
#F2E067 #67F29A #6779F2 #F267BF
square
#F2E067 #67F29A #6779F2 #F267BF
split-complementary
#F2E067 #67BFF2 #9A67F2
monochromatic
#CDB512 #EDD52F #F2E067 #F7EB9F #FCF7D8

Accessibility & contrast

On white

1.34
#F2E067 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.63
#F2E067 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E067
15.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E067#FFFFFF#000000##000000
##F2E0671.001.3415.6315.63
#FFFFFF1.341.0021.0021.00
#00000015.6321.001.001.00
##00000015.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2DA5A
Deuteranopia (green-blind)
#F8E16D
Tritanopia (blue-blind)
#FFD2C5
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #f2e067;
/* rgb */ color: rgb(242, 224, 103);
/* oklch */ color: oklch(89.8% 0.142 100.9);
Tailwind
colors: {
  custom: {
    50: '#f9e996',
    500: '#f2e067',
    950: '#000000',
  },
}
SCSS
$custom: #f2e067;
$custom-light: #f9e996;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e067",
  "rgb": {
    "r": 242,
    "g": 224,
    "b": 103
  },
  "hsl": {
    "h": 52.23,
    "s": 84.242,
    "l": 67.647
  },
  "oklch": {
    "l": 0.89823,
    "c": 0.14215,
    "h": 100.9
  },
  "luminance": 0.73168
}

Semantic roles & 50–950 ramp

primary
#F2E067
secondary
#3447C9
accent
#21E105
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F2E067

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

Preview Lab → · Contrast checker → · Palette generator →

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