#F2E474#F2E474

#F2E474 is a very light, vivid yellow. Relative luminance 0.756; OKLCH L 90.8% C 0.134 H 102.2°. Best body text is #000000 at 16.13:1 contrast (WCAG AA passes).

Color values

HEX#F2E474
RGBrgb(242, 228, 116)
HSLhsl(53, 83%, 70%)
HSVhsv(53, 52%, 95%)
CMYKcmyk(0%, 5.8%, 52.1%, 5.1%)
CIE-LABlab(89.69, -9.42, 55.70)
CIE-LCHlch(89.69, 56.49, 99.59°)
OKLaboklab(90.78% -0.0284 0.1311)
OKLCHoklch(90.78% 0.134 102.2)
XYZxyz(67.5158, 75.6273, 27.5607)
Luminance0.7562 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E474 #7482F2
analogous
#F2A574 #F2E474 #C1F274
triadic
#F2E474 #74F2E4 #E474F2
tetradic
#F2E474 #74F2A5 #7482F2 #F274C1
square
#F2E474 #74F2A5 #7482F2 #F274C1
split-complementary
#F2E474 #74C1F2 #A574F2
monochromatic
#D7C214 #EDD93C #F2E474 #F7EFAC #FCFAE3

Accessibility & contrast

On white

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

On black

16.13
#F2E474 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E474
16.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E474#FFFFFF#000000##000000
##F2E4741.001.3016.1316.13
#FFFFFF1.301.0021.0021.00
#00000016.1321.001.001.00
##00000016.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DE6A
Deuteranopia (green-blind)
#FAE479
Tritanopia (blue-blind)
#FFD7CA
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #f2e474;
/* rgb */ color: rgb(242, 228, 116);
/* oklch */ color: oklch(90.8% 0.134 102.2);
Tailwind
colors: {
  custom: {
    50: '#f9ec9f',
    500: '#f2e474',
    950: '#000000',
  },
}
SCSS
$custom: #f2e474;
$custom-light: #f9ec9f;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e474",
  "rgb": {
    "r": 242,
    "g": 228,
    "b": 116
  },
  "hsl": {
    "h": 53.333,
    "s": 82.895,
    "l": 70.196
  },
  "oklch": {
    "l": 0.90784,
    "c": 0.13414,
    "h": 102.2
  },
  "luminance": 0.75625
}

Semantic roles & 50–950 ramp

primary
#F2E474
secondary
#3E4ECC
accent
#1EDF06
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F2E474

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

Preview Lab → · Contrast checker → · Palette generator →

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