#F2EA7F#F2EA7F

#F2EA7F is a very light, vivid yellow. Relative luminance 0.793; OKLCH L 92.1% C 0.129 H 104.8°. Best body text is #000000 at 16.85:1 contrast (WCAG AA passes).

Color values

HEX#F2EA7F
RGBrgb(242, 234, 127)
HSLhsl(56, 82%, 72%)
HSVhsv(56, 48%, 95%)
CMYKcmyk(0%, 3.3%, 47.5%, 5.1%)
CIE-LABlab(91.35, -11.46, 52.54)
CIE-LCHlch(91.35, 53.78, 102.30°)
OKLaboklab(92.15% -0.0332 0.1251)
OKLCHoklch(92.15% 0.129 104.8)
XYZxyz(69.8732, 79.2572, 31.6920)
Luminance0.7925 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EA7F #7F87F2
analogous
#F2B17F #F2EA7F #C1F27F
triadic
#F2EA7F #7FF2EA #EA7FF2
tetradic
#F2EA7F #7FF2B1 #7F87F2 #F27FC1
square
#F2EA7F #7FF2B1 #7F87F2 #F27FC1
split-complementary
#F2EA7F #7FC1F2 #B17FF2
monochromatic
#E0D217 #ECE147 #F2EA7F #F8F3B7 #FCFAE3

Accessibility & contrast

On white

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

On black

16.85
#F2EA7F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EA7F
16.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EA7F#FFFFFF#000000##000000
##F2EA7F1.001.2516.8516.85
#FFFFFF1.251.0021.0021.00
#00000016.8521.001.001.00
##00000016.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE376
Deuteranopia (green-blind)
#FDE984
Tritanopia (blue-blind)
#FFDED1
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #f2ea7f;
/* rgb */ color: rgb(242, 234, 127);
/* oklch */ color: oklch(92.1% 0.129 104.8);
Tailwind
colors: {
  custom: {
    50: '#f8f0a6',
    500: '#f2ea7f',
    950: '#000000',
  },
}
SCSS
$custom: #f2ea7f;
$custom-light: #f8f0a6;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ea7f",
  "rgb": {
    "r": 242,
    "g": 234,
    "b": 127
  },
  "hsl": {
    "h": 55.826,
    "s": 81.56,
    "l": 72.353
  },
  "oklch": {
    "l": 0.92146,
    "c": 0.12944,
    "h": 104.8
  },
  "luminance": 0.79255
}

Semantic roles & 50–950 ramp

primary
#F2EA7F
secondary
#4851CD
accent
#16DE08
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#17160F
muted
#858580

Preview Lab

Preview with #F2EA7F

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

Preview Lab → · Contrast checker → · Palette generator →

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