#F2E068#F2E068

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

Color values

HEX#F2E068
RGBrgb(242, 224, 104)
HSLhsl(52, 84%, 68%)
HSVhsv(52, 57%, 95%)
CMYKcmyk(0%, 7.4%, 57%, 5.1%)
CIE-LABlab(88.54, -8.34, 59.84)
CIE-LCHlch(88.54, 60.41, 97.93°)
OKLaboklab(89.83% -0.0266 0.1388)
OKLCHoklch(89.83% 0.141 100.9)
XYZxyz(65.7747, 73.1906, 23.7565)
Luminance0.7319 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E068 #687AF2
analogous
#F29B68 #F2E068 #BFF268
triadic
#F2E068 #68F2E0 #E068F2
tetradic
#F2E068 #68F29B #687AF2 #F268BF
square
#F2E068 #68F29B #687AF2 #F268BF
split-complementary
#F2E068 #68BFF2 #9B68F2
monochromatic
#CEB512 #EDD430 #F2E068 #F7ECA0 #FCF7D9

Accessibility & contrast

On white

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

On black

15.64
#F2E068 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E068
15.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E068#FFFFFF#000000##000000
##F2E0681.001.3415.6415.64
#FFFFFF1.341.0021.0021.00
#00000015.6421.001.001.00
##00000015.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2DA5C
Deuteranopia (green-blind)
#F8E16E
Tritanopia (blue-blind)
#FFD2C6
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #f2e068;
/* rgb */ color: rgb(242, 224, 104);
/* oklch */ color: oklch(89.8% 0.141 100.9);
Tailwind
colors: {
  custom: {
    50: '#f9e997',
    500: '#f2e068',
    950: '#000000',
  },
}
SCSS
$custom: #f2e068;
$custom-light: #f9e997;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e068",
  "rgb": {
    "r": 242,
    "g": 224,
    "b": 104
  },
  "hsl": {
    "h": 52.174,
    "s": 84.146,
    "l": 67.843
  },
  "oklch": {
    "l": 0.89834,
    "c": 0.14129,
    "h": 100.9
  },
  "luminance": 0.73188
}

Semantic roles & 50–950 ramp

primary
#F2E068
secondary
#3448CA
accent
#22E105
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F2E068

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

Preview Lab → · Contrast checker → · Palette generator →

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