#F2E957#F2E957

#F2E957 is a very light, vivid yellow. Relative luminance 0.778; OKLCH L 91.5% C 0.163 H 105.8°. Best body text is #000000 at 16.57:1 contrast (WCAG AA passes).

Color values

HEX#F2E957
RGBrgb(242, 233, 87)
HSLhsl(57, 86%, 65%)
HSVhsv(57, 64%, 95%)
CMYKcmyk(0%, 3.7%, 64%, 5.1%)
CIE-LABlab(90.71, -13.91, 69.38)
CIE-LCHlch(90.71, 70.76, 101.33°)
OKLaboklab(91.51% -0.0443 0.1568)
OKLCHoklch(91.51% 0.163 105.8)
XYZxyz(67.4796, 77.8455, 20.4861)
Luminance0.7784 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E957 #5760F2
analogous
#F29C57 #F2E957 #AEF257
triadic
#F2E957 #57F2E9 #E957F2
tetradic
#F2E957 #57F29C #5760F2 #F257AE
square
#F2E957 #57F29C #5760F2 #F257AE
split-complementary
#F2E957 #57AEF2 #9C57F2
monochromatic
#C0B50F #EEE21E #F2E957 #F6F090 #FBF8C9

Accessibility & contrast

On white

1.27
#F2E957 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.57
#F2E957 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E957
16.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E957#FFFFFF#000000##000000
##F2E9571.001.2716.5716.57
#FFFFFF1.271.0021.0021.00
#00000016.5721.001.001.00
##00000016.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE144
Deuteranopia (green-blind)
#FFE760
Tritanopia (blue-blind)
#FFDACB
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #f2e957;
/* rgb */ color: rgb(242, 233, 87);
/* oklch */ color: oklch(91.5% 0.163 105.8);
Tailwind
colors: {
  custom: {
    50: '#faef8d',
    500: '#f2e957',
    950: '#000000',
  },
}
SCSS
$custom: #f2e957;
$custom-light: #faef8d;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e957",
  "rgb": {
    "r": 242,
    "g": 233,
    "b": 87
  },
  "hsl": {
    "h": 56.516,
    "s": 85.635,
    "l": 64.51
  },
  "oklch": {
    "l": 0.91512,
    "c": 0.16293,
    "h": 105.8
  },
  "luminance": 0.77843
}

Semantic roles & 50–950 ramp

primary
#F2E957
secondary
#3038BE
accent
#10E203
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18160D
muted
#86857F

Preview Lab

Preview with #F2E957

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

Preview Lab → · Contrast checker → · Palette generator →

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