#F2E46F#F2E46F

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

Color values

HEX#F2E46F
RGBrgb(242, 228, 111)
HSLhsl(54, 83%, 69%)
HSVhsv(54, 54%, 95%)
CMYKcmyk(0%, 5.8%, 54.1%, 5.1%)
CIE-LABlab(89.63, -9.81, 57.94)
CIE-LCHlch(89.63, 58.76, 99.61°)
OKLaboklab(90.73% -0.0301 0.1354)
OKLCHoklch(90.73% 0.139 102.5)
XYZxyz(67.2328, 75.5141, 26.0700)
Luminance0.7551 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E46F #6F7DF2
analogous
#F2A36F #F2E46F #BFF26F
triadic
#F2E46F #6FF2E4 #E46FF2
tetradic
#F2E46F #6FF2A3 #6F7DF2 #F26FBF
square
#F2E46F #6FF2A3 #6F7DF2 #F26FBF
split-complementary
#F2E46F #6FBFF2 #A36FF2
monochromatic
#D4BF13 #EDD937 #F2E46F #F7EFA7 #FCF9DF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F2E46F#FFFFFF#000000##000000
##F2E46F1.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)
#F6DE64
Deuteranopia (green-blind)
#FAE475
Tritanopia (blue-blind)
#FFD6CA
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #f2e46f;
/* rgb */ color: rgb(242, 228, 111);
/* oklch */ color: oklch(90.7% 0.139 102.5);
Tailwind
colors: {
  custom: {
    50: '#f9ec9b',
    500: '#f2e46f',
    950: '#000000',
  },
}
SCSS
$custom: #f2e46f;
$custom-light: #f9ec9b;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e46f",
  "rgb": {
    "r": 242,
    "g": 228,
    "b": 111
  },
  "hsl": {
    "h": 53.588,
    "s": 83.439,
    "l": 69.216
  },
  "oklch": {
    "l": 0.90725,
    "c": 0.13874,
    "h": 102.5
  },
  "luminance": 0.75512
}

Semantic roles & 50–950 ramp

primary
#F2E46F
secondary
#3A49CB
accent
#1DE006
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F2E46F

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

Preview Lab → · Contrast checker → · Palette generator →

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