#F2EA7C#F2EA7C

#F2EA7C is a very light, vivid yellow. Relative luminance 0.792; OKLCH L 92.1% C 0.132 H 105.0°. Best body text is #000000 at 16.84:1 contrast (WCAG AA passes).

Color values

HEX#F2EA7C
RGBrgb(242, 234, 124)
HSLhsl(56, 82%, 72%)
HSVhsv(56, 49%, 95%)
CMYKcmyk(0%, 3.3%, 48.8%, 5.1%)
CIE-LABlab(91.32, -11.72, 53.91)
CIE-LCHlch(91.32, 55.17, 102.27°)
OKLaboklab(92.11% -0.0342 0.1279)
OKLCHoklch(92.11% 0.132 105)
XYZxyz(69.6806, 79.1802, 30.6776)
Luminance0.7918 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EA7C #7C84F2
analogous
#F2AF7C #F2EA7C #BFF27C
triadic
#F2EA7C #7CF2EA #EA7CF2
tetradic
#F2EA7C #7CF2AF #7C84F2 #F27CBF
square
#F2EA7C #7CF2AF #7C84F2 #F27CBF
split-complementary
#F2EA7C #7CBFF2 #AF7CF2
monochromatic
#DED016 #ECE144 #F2EA7C #F8F3B4 #FCFBE3

Accessibility & contrast

On white

1.25
#F2EA7C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.84
#F2EA7C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EA7C
16.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EA7C#FFFFFF#000000##000000
##F2EA7C1.001.2516.8416.84
#FFFFFF1.251.0021.0021.00
#00000016.8421.001.001.00
##00000016.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE372
Deuteranopia (green-blind)
#FEE981
Tritanopia (blue-blind)
#FFDDD1
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #f2ea7c;
/* rgb */ color: rgb(242, 234, 124);
/* oklch */ color: oklch(92.1% 0.132 105.0);
Tailwind
colors: {
  custom: {
    50: '#f8f0a4',
    500: '#f2ea7c',
    950: '#000000',
  },
}
SCSS
$custom: #f2ea7c;
$custom-light: #f8f0a4;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ea7c",
  "rgb": {
    "r": 242,
    "g": 234,
    "b": 124
  },
  "hsl": {
    "h": 55.932,
    "s": 81.944,
    "l": 71.765
  },
  "oklch": {
    "l": 0.92107,
    "c": 0.13239,
    "h": 105
  },
  "luminance": 0.79178
}

Semantic roles & 50–950 ramp

primary
#F2EA7C
secondary
#454FCD
accent
#16DE07
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18160F
muted
#868580

Preview Lab

Preview with #F2EA7C

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

Preview Lab → · Contrast checker → · Palette generator →

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