#F2E46C#F2E46C

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

Color values

HEX#F2E46C
RGBrgb(242, 228, 108)
HSLhsl(54, 84%, 69%)
HSVhsv(54, 55%, 95%)
CMYKcmyk(0%, 5.8%, 55.4%, 5.1%)
CIE-LABlab(89.60, -10.04, 59.26)
CIE-LCHlch(89.60, 60.10, 99.62°)
OKLaboklab(90.69% -0.0311 0.138)
OKLCHoklch(90.69% 0.141 102.7)
XYZxyz(67.0703, 75.4491, 25.2146)
Luminance0.7545 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E46C #6C7AF2
analogous
#F2A16C #F2E46C #BDF26C
triadic
#F2E46C #6CF2E4 #E46CF2
tetradic
#F2E46C #6CF2A1 #6C7AF2 #F26CBD
square
#F2E46C #6CF2A1 #6C7AF2 #F26CBD
split-complementary
#F2E46C #6CBDF2 #A16CF2
monochromatic
#D1BD12 #EDDA34 #F2E46C #F7EEA4 #FCF9DC

Accessibility & contrast

On white

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

On black

16.09
#F2E46C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E46C
16.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E46C#FFFFFF#000000##000000
##F2E46C1.001.3116.0916.09
#FFFFFF1.311.0021.0021.00
#00000016.0921.001.001.00
##00000016.0921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2e46c;
/* rgb */ color: rgb(242, 228, 108);
/* oklch */ color: oklch(90.7% 0.141 102.7);
Tailwind
colors: {
  custom: {
    50: '#f9ec9a',
    500: '#f2e46c',
    950: '#000000',
  },
}
SCSS
$custom: #f2e46c;
$custom-light: #f9ec9a;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e46c",
  "rgb": {
    "r": 242,
    "g": 228,
    "b": 108
  },
  "hsl": {
    "h": 53.731,
    "s": 83.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.90691,
    "c": 0.14142,
    "h": 102.7
  },
  "luminance": 0.75447
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F2E46C

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

Preview Lab → · Contrast checker → · Palette generator →

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