#F2E772#F2E772

#F2E772 is a very light, vivid yellow. Relative luminance 0.772; OKLCH L 91.4% C 0.139 H 103.9°. Best body text is #000000 at 16.45:1 contrast (WCAG AA passes).

Color values

HEX#F2E772
RGBrgb(242, 231, 114)
HSLhsl(55, 83%, 70%)
HSVhsv(55, 53%, 95%)
CMYKcmyk(0%, 4.5%, 52.9%, 5.1%)
CIE-LABlab(90.43, -11.07, 57.50)
CIE-LCHlch(90.43, 58.55, 100.90°)
OKLaboklab(91.37% -0.0334 0.1348)
OKLCHoklch(91.37% 0.139 103.9)
XYZxyz(68.2332, 77.2462, 27.2321)
Luminance0.7724 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E772 #727DF2
analogous
#F2A772 #F2E772 #BDF272
triadic
#F2E772 #72F2E7 #E772F2
tetradic
#F2E772 #72F2A7 #727DF2 #F272BD
square
#F2E772 #72F2A7 #727DF2 #F272BD
split-complementary
#F2E772 #72BDF2 #A772F2
monochromatic
#D6C514 #EDDD3A #F2E772 #F7F1AA #FCFAE2

Accessibility & contrast

On white

1.28
#F2E772 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.45
#F2E772 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E772
16.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E772#FFFFFF#000000##000000
##F2E7721.001.2816.4516.45
#FFFFFF1.281.0021.0021.00
#00000016.4521.001.001.00
##00000016.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E067
Deuteranopia (green-blind)
#FCE678
Tritanopia (blue-blind)
#FFDACD
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #f2e772;
/* rgb */ color: rgb(242, 231, 114);
/* oklch */ color: oklch(91.4% 0.139 103.9);
Tailwind
colors: {
  custom: {
    50: '#f9ee9e',
    500: '#f2e772',
    950: '#000000',
  },
}
SCSS
$custom: #f2e772;
$custom-light: #f9ee9e;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e772",
  "rgb": {
    "r": 242,
    "g": 231,
    "b": 114
  },
  "hsl": {
    "h": 54.844,
    "s": 83.117,
    "l": 69.804
  },
  "oklch": {
    "l": 0.91372,
    "c": 0.13887,
    "h": 103.9
  },
  "luminance": 0.77244
}

Semantic roles & 50–950 ramp

primary
#F2E772
secondary
#3D49CC
accent
#19E006
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F2E772

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

Preview Lab → · Contrast checker → · Palette generator →

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