#F2E46E#F2E46E

#F2E46E is a very light, vivid yellow. Relative luminance 0.755; OKLCH L 90.7% C 0.140 H 102.6°. Best body text is #000000 at 16.10:1 contrast (WCAG AA passes).

Color values

HEX#F2E46E
RGBrgb(242, 228, 110)
HSLhsl(54, 84%, 69%)
HSVhsv(54, 55%, 95%)
CMYKcmyk(0%, 5.8%, 54.5%, 5.1%)
CIE-LABlab(89.62, -9.89, 58.38)
CIE-LCHlch(89.62, 59.21, 99.61°)
OKLaboklab(90.71% -0.0304 0.1363)
OKLCHoklch(90.71% 0.14 102.6)
XYZxyz(67.1780, 75.4922, 25.7816)
Luminance0.7549 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E46E #6E7CF2
analogous
#F2A26E #F2E46E #BEF26E
triadic
#F2E46E #6EF2E4 #E46EF2
tetradic
#F2E46E #6EF2A2 #6E7CF2 #F26EBE
square
#F2E46E #6EF2A2 #6E7CF2 #F26EBE
split-complementary
#F2E46E #6EBEF2 #A26EF2
monochromatic
#D3BE13 #EDDA36 #F2E46E #F7EEA6 #FCF9DE

Accessibility & contrast

On white

1.30
#F2E46E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.10
#F2E46E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E46E
16.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E46E#FFFFFF#000000##000000
##F2E46E1.001.3016.1016.10
#FFFFFF1.301.0021.0021.00
#00000016.1021.001.001.00
##00000016.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DE62
Deuteranopia (green-blind)
#FAE474
Tritanopia (blue-blind)
#FFD6CA
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #f2e46e;
/* rgb */ color: rgb(242, 228, 110);
/* oklch */ color: oklch(90.7% 0.140 102.6);
Tailwind
colors: {
  custom: {
    50: '#f9ec9b',
    500: '#f2e46e',
    950: '#000000',
  },
}
SCSS
$custom: #f2e46e;
$custom-light: #f9ec9b;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e46e",
  "rgb": {
    "r": 242,
    "g": 228,
    "b": 110
  },
  "hsl": {
    "h": 53.636,
    "s": 83.544,
    "l": 69.02
  },
  "oklch": {
    "l": 0.90713,
    "c": 0.13963,
    "h": 102.6
  },
  "luminance": 0.7549
}

Semantic roles & 50–950 ramp

primary
#F2E46E
secondary
#3949CB
accent
#1DE006
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F2E46E

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

Preview Lab → · Contrast checker → · Palette generator →

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