#F2E47A#F2E47A

#F2E47A is a very light, vivid yellow. Relative luminance 0.758; OKLCH L 90.9% C 0.128 H 101.8°. Best body text is #000000 at 16.15:1 contrast (WCAG AA passes).

Color values

HEX#F2E47A
RGBrgb(242, 228, 122)
HSLhsl(53, 82%, 71%)
HSVhsv(53, 50%, 95%)
CMYKcmyk(0%, 5.8%, 49.6%, 5.1%)
CIE-LABlab(89.75, -8.91, 52.98)
CIE-LCHlch(89.75, 53.72, 99.55°)
OKLaboklab(90.86% -0.0263 0.1257)
OKLCHoklch(90.86% 0.128 101.8)
XYZxyz(67.8761, 75.7715, 29.4585)
Luminance0.7577 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E47A #7A88F2
analogous
#F2A87A #F2E47A #C4F27A
triadic
#F2E47A #7AF2E4 #E47AF2
tetradic
#F2E47A #7AF2A8 #7A88F2 #F27AC4
square
#F2E47A #7AF2A8 #7A88F2 #F27AC4
split-complementary
#F2E47A #7AC4F2 #A87AF2
monochromatic
#DCC516 #EDD942 #F2E47A #F7EFB2 #FCF9E3

Accessibility & contrast

On white

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

On black

16.15
#F2E47A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E47A
16.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E47A#FFFFFF#000000##000000
##F2E47A1.001.3016.1516.15
#FFFFFF1.301.0021.0021.00
#00000016.1521.001.001.00
##00000016.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DE71
Deuteranopia (green-blind)
#F9E47F
Tritanopia (blue-blind)
#FFD7CB
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #f2e47a;
/* rgb */ color: rgb(242, 228, 122);
/* oklch */ color: oklch(90.9% 0.128 101.8);
Tailwind
colors: {
  custom: {
    50: '#f8eca3',
    500: '#f2e47a',
    950: '#000000',
  },
}
SCSS
$custom: #f2e47a;
$custom-light: #f8eca3;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e47a",
  "rgb": {
    "r": 242,
    "g": 228,
    "b": 122
  },
  "hsl": {
    "h": 53,
    "s": 82.192,
    "l": 71.373
  },
  "oklch": {
    "l": 0.90859,
    "c": 0.12841,
    "h": 101.8
  },
  "luminance": 0.75769
}

Semantic roles & 50–950 ramp

primary
#F2E47A
secondary
#4454CD
accent
#20DF07
background
#FFFEFC
surface
#FFFDF6
border
#D7D5D0
text
#18160F
muted
#868480

Preview Lab

Preview with #F2E47A

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

Preview Lab → · Contrast checker → · Palette generator →

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