#F2E46A#F2E46A

#F2E46A is a very light, vivid yellow. Relative luminance 0.754; OKLCH L 90.7% C 0.143 H 102.8°. Best body text is #000000 at 16.08:1 contrast (WCAG AA passes).

Color values

HEX#F2E46A
RGBrgb(242, 228, 106)
HSLhsl(54, 84%, 68%)
HSVhsv(54, 56%, 95%)
CMYKcmyk(0%, 5.8%, 56.2%, 5.1%)
CIE-LABlab(89.58, -10.19, 60.13)
CIE-LCHlch(89.58, 60.99, 99.62°)
OKLaboklab(90.67% -0.0317 0.1396)
OKLCHoklch(90.67% 0.143 102.8)
XYZxyz(66.9651, 75.4071, 24.6605)
Luminance0.7540 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E46A #6A78F2
analogous
#F2A06A #F2E46A #BCF26A
triadic
#F2E46A #6AF2E4 #E46AF2
tetradic
#F2E46A #6AF2A0 #6A78F2 #F26ABC
square
#F2E46A #6AF2A0 #6A78F2 #F26ABC
split-complementary
#F2E46A #6ABCF2 #A06AF2
monochromatic
#CFBC12 #EDDA32 #F2E46A #F7EEA2 #FCF8DB

Accessibility & contrast

On white

1.31
#F2E46A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.08
#F2E46A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E46A
16.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E46A#FFFFFF#000000##000000
##F2E46A1.001.3116.0816.08
#FFFFFF1.311.0021.0021.00
#00000016.0821.001.001.00
##00000016.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DD5E
Deuteranopia (green-blind)
#FBE470
Tritanopia (blue-blind)
#FFD6C9
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #f2e46a;
/* rgb */ color: rgb(242, 228, 106);
/* oklch */ color: oklch(90.7% 0.143 102.8);
Tailwind
colors: {
  custom: {
    50: '#f9ec98',
    500: '#f2e46a',
    950: '#000000',
  },
}
SCSS
$custom: #f2e46a;
$custom-light: #f9ec98;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e46a",
  "rgb": {
    "r": 242,
    "g": 228,
    "b": 106
  },
  "hsl": {
    "h": 53.824,
    "s": 83.951,
    "l": 68.235
  },
  "oklch": {
    "l": 0.90669,
    "c": 0.14318,
    "h": 102.8
  },
  "luminance": 0.75405
}

Semantic roles & 50–950 ramp

primary
#F2E46A
secondary
#3645CB
accent
#1CE005
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F2E46A

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

Preview Lab → · Contrast checker → · Palette generator →

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