#F2E48A#F2E48A

#F2E48A is a very light, moderate yellow. Relative luminance 0.762; OKLCH L 91.1% C 0.112 H 100.6°. Best body text is #000000 at 16.24:1 contrast (WCAG AA passes).

Color values

HEX#F2E48A
RGBrgb(242, 228, 138)
HSLhsl(52, 80%, 75%)
HSVhsv(52, 43%, 95%)
CMYKcmyk(0%, 5.8%, 43%, 5.1%)
CIE-LABlab(89.95, -7.43, 45.52)
CIE-LCHlch(89.95, 46.12, 99.27°)
OKLaboklab(91.08% -0.0206 0.1102)
OKLCHoklch(91.08% 0.112 100.6)
XYZxyz(68.9504, 76.2012, 35.1161)
Luminance0.7620 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E48A #8A98F2
analogous
#F2B08A #F2E48A #CCF28A
triadic
#F2E48A #8AF2E4 #E48AF2
tetradic
#F2E48A #8AF2B0 #8A98F2 #F28ACC
square
#F2E48A #8AF2B0 #8A98F2 #F28ACC
split-complementary
#F2E48A #8ACCF2 #B08AF2
monochromatic
#E6CB1C #ECD753 #F2E48A #F8F1C1 #FCF9E3

Accessibility & contrast

On white

1.29
#F2E48A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.24
#F2E48A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E48A
16.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E48A#FFFFFF#000000##000000
##F2E48A1.001.2916.2416.24
#FFFFFF1.291.0021.0021.00
#00000016.2421.001.001.00
##00000016.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DF83
Deuteranopia (green-blind)
#F8E58E
Tritanopia (blue-blind)
#FFD8CE
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #f2e48a;
/* rgb */ color: rgb(242, 228, 138);
/* oklch */ color: oklch(91.1% 0.112 100.6);
Tailwind
colors: {
  custom: {
    50: '#f8ecad',
    500: '#f2e48a',
    950: '#000000',
  },
}
SCSS
$custom: #f2e48a;
$custom-light: #f8ecad;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e48a",
  "rgb": {
    "r": 242,
    "g": 228,
    "b": 138
  },
  "hsl": {
    "h": 51.923,
    "s": 80,
    "l": 74.51
  },
  "oklch": {
    "l": 0.91082,
    "c": 0.11212,
    "h": 100.6
  },
  "luminance": 0.76199
}

Semantic roles & 50–950 ramp

primary
#F2E48A
secondary
#5263CE
accent
#26DC09
background
#FFFEFD
surface
#FFFDF7
border
#D7D5D0
text
#171610
muted
#858481

Preview Lab

Preview with #F2E48A

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

Preview Lab → · Contrast checker → · Palette generator →

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