#F2E774#F2E774

#F2E774 is a very light, vivid yellow. Relative luminance 0.773; OKLCH L 91.4% C 0.137 H 103.8°. Best body text is #000000 at 16.46:1 contrast (WCAG AA passes).

Color values

HEX#F2E774
RGBrgb(242, 231, 116)
HSLhsl(55, 83%, 70%)
HSVhsv(55, 52%, 95%)
CMYKcmyk(0%, 4.5%, 52.1%, 5.1%)
CIE-LABlab(90.46, -10.91, 56.61)
CIE-LCHlch(90.46, 57.65, 100.91°)
OKLaboklab(91.4% -0.0327 0.1331)
OKLCHoklch(91.4% 0.137 103.8)
XYZxyz(68.3483, 77.2922, 27.8382)
Luminance0.7729 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E774 #747FF2
analogous
#F2A874 #F2E774 #BEF274
triadic
#F2E774 #74F2E7 #E774F2
tetradic
#F2E774 #74F2A8 #747FF2 #F274BE
square
#F2E774 #74F2A8 #747FF2 #F274BE
split-complementary
#F2E774 #74BEF2 #A874F2
monochromatic
#D7C614 #EDDD3C #F2E774 #F7F1AC #FCFAE3

Accessibility & contrast

On white

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

On black

16.46
#F2E774 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E774
16.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E774#FFFFFF#000000##000000
##F2E7741.001.2816.4616.46
#FFFFFF1.281.0021.0021.00
#00000016.4621.001.001.00
##00000016.4621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2e774;
/* rgb */ color: rgb(242, 231, 116);
/* oklch */ color: oklch(91.4% 0.137 103.8);
Tailwind
colors: {
  custom: {
    50: '#f9ee9f',
    500: '#f2e774',
    950: '#000000',
  },
}
SCSS
$custom: #f2e774;
$custom-light: #f9ee9f;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e774",
  "rgb": {
    "r": 242,
    "g": 231,
    "b": 116
  },
  "hsl": {
    "h": 54.762,
    "s": 82.895,
    "l": 70.196
  },
  "oklch": {
    "l": 0.91395,
    "c": 0.13702,
    "h": 103.8
  },
  "luminance": 0.7729
}

Semantic roles & 50–950 ramp

primary
#F2E774
secondary
#3E4BCC
accent
#19DF06
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F2E774

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

Preview Lab → · Contrast checker → · Palette generator →

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