#F2EA7E#F2EA7E

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

Color values

HEX#F2EA7E
RGBrgb(242, 234, 126)
HSLhsl(56, 82%, 72%)
HSVhsv(56, 48%, 95%)
CMYKcmyk(0%, 3.3%, 47.9%, 5.1%)
CIE-LABlab(91.34, -11.55, 53.00)
CIE-LCHlch(91.34, 54.24, 102.29°)
OKLaboklab(92.13% -0.0335 0.1261)
OKLCHoklch(92.13% 0.13 104.9)
XYZxyz(69.8084, 79.2313, 31.3505)
Luminance0.7923 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EA7E #7E86F2
analogous
#F2B07E #F2EA7E #C0F27E
triadic
#F2EA7E #7EF2EA #EA7EF2
tetradic
#F2EA7E #7EF2B0 #7E86F2 #F27EC0
square
#F2EA7E #7EF2B0 #7E86F2 #F27EC0
split-complementary
#F2EA7E #7EC0F2 #B07EF2
monochromatic
#DFD116 #ECE146 #F2EA7E #F8F3B6 #FCFAE3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F2EA7E#FFFFFF#000000##000000
##F2EA7E1.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)
#FAE375
Deuteranopia (green-blind)
#FEE983
Tritanopia (blue-blind)
#FFDED1
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #f2ea7e;
/* rgb */ color: rgb(242, 234, 126);
/* oklch */ color: oklch(92.1% 0.130 104.9);
Tailwind
colors: {
  custom: {
    50: '#f8f0a6',
    500: '#f2ea7e',
    950: '#000000',
  },
}
SCSS
$custom: #f2ea7e;
$custom-light: #f8f0a6;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ea7e",
  "rgb": {
    "r": 242,
    "g": 234,
    "b": 126
  },
  "hsl": {
    "h": 55.862,
    "s": 81.69,
    "l": 72.157
  },
  "oklch": {
    "l": 0.92133,
    "c": 0.13043,
    "h": 104.9
  },
  "luminance": 0.79229
}

Semantic roles & 50–950 ramp

primary
#F2EA7E
secondary
#4750CD
accent
#16DE07
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#17160F
muted
#858580

Preview Lab

Preview with #F2EA7E

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

Preview Lab → · Contrast checker → · Palette generator →

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