#F2E06A#F2E06A

#F2E06A is a very light, vivid yellow. Relative luminance 0.732; OKLCH L 89.9% C 0.140 H 100.7°. Best body text is #000000 at 15.65:1 contrast (WCAG AA passes).

Color values

HEX#F2E06A
RGBrgb(242, 224, 106)
HSLhsl(52, 84%, 68%)
HSVhsv(52, 56%, 95%)
CMYKcmyk(0%, 7.4%, 56.2%, 5.1%)
CIE-LABlab(88.56, -8.19, 58.96)
CIE-LCHlch(88.56, 59.53, 97.91°)
OKLaboklab(89.85% -0.026 0.1371)
OKLCHoklch(89.85% 0.14 100.7)
XYZxyz(65.8774, 73.2317, 24.2979)
Luminance0.7323 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E06A #6A7CF2
analogous
#F29C6A #F2E06A #C0F26A
triadic
#F2E06A #6AF2E0 #E06AF2
tetradic
#F2E06A #6AF29C #6A7CF2 #F26AC0
square
#F2E06A #6AF29C #6A7CF2 #F26AC0
split-complementary
#F2E06A #6AC0F2 #9C6AF2
monochromatic
#CFB612 #EDD432 #F2E06A #F7ECA2 #FCF7DB

Accessibility & contrast

On white

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

On black

15.65
#F2E06A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E06A
15.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E06A#FFFFFF#000000##000000
##F2E06A1.001.3415.6515.65
#FFFFFF1.341.0021.0021.00
#00000015.6521.001.001.00
##00000015.6521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2e06a;
/* rgb */ color: rgb(242, 224, 106);
/* oklch */ color: oklch(89.9% 0.140 100.7);
Tailwind
colors: {
  custom: {
    50: '#f9e998',
    500: '#f2e06a',
    950: '#000000',
  },
}
SCSS
$custom: #f2e06a;
$custom-light: #f9e998;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e06a",
  "rgb": {
    "r": 242,
    "g": 224,
    "b": 106
  },
  "hsl": {
    "h": 52.059,
    "s": 83.951,
    "l": 68.235
  },
  "oklch": {
    "l": 0.89855,
    "c": 0.13955,
    "h": 100.7
  },
  "luminance": 0.73229
}

Semantic roles & 50–950 ramp

primary
#F2E06A
secondary
#3649CB
accent
#22E005
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F2E06A

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

Preview Lab → · Contrast checker → · Palette generator →

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