#F2E357#F2E357

#F2E357 is a very light, vivid yellow. Relative luminance 0.745; OKLCH L 90.3% C 0.158 H 103.2°. Best body text is #000000 at 15.90:1 contrast (WCAG AA passes).

Color values

HEX#F2E357
RGBrgb(242, 227, 87)
HSLhsl(54, 86%, 65%)
HSVhsv(54, 64%, 95%)
CMYKcmyk(0%, 6.2%, 64%, 5.1%)
CIE-LABlab(89.16, -10.94, 67.76)
CIE-LCHlch(89.16, 68.63, 99.17°)
OKLaboklab(90.28% -0.0359 0.1533)
OKLCHoklch(90.28% 0.158 103.2)
XYZxyz(65.8099, 74.5061, 19.9296)
Luminance0.7450 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E357 #5766F2
analogous
#F29657 #F2E357 #B3F257
triadic
#F2E357 #57F2E3 #E357F2
tetradic
#F2E357 #57F296 #5766F2 #F257B3
square
#F2E357 #57F296 #5766F2 #F257B3
split-complementary
#F2E357 #57B3F2 #9657F2
monochromatic
#C0AF0F #EEDA1E #F2E357 #F6EC90 #FBF6C9

Accessibility & contrast

On white

1.32
#F2E357 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.90
#F2E357 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E357
15.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E357#FFFFFF#000000##000000
##F2E3571.001.3215.9015.90
#FFFFFF1.321.0021.0021.00
#00000015.9021.001.001.00
##00000015.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DC45
Deuteranopia (green-blind)
#FBE35F
Tritanopia (blue-blind)
#FFD4C6
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #f2e357;
/* rgb */ color: rgb(242, 227, 87);
/* oklch */ color: oklch(90.3% 0.158 103.2);
Tailwind
colors: {
  custom: {
    50: '#faeb8d',
    500: '#f2e357',
    950: '#000000',
  },
}
SCSS
$custom: #f2e357;
$custom-light: #faeb8d;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e357",
  "rgb": {
    "r": 242,
    "g": 227,
    "b": 87
  },
  "hsl": {
    "h": 54.194,
    "s": 85.635,
    "l": 64.51
  },
  "oklch": {
    "l": 0.90281,
    "c": 0.1575,
    "h": 103.2
  },
  "luminance": 0.74504
}

Semantic roles & 50–950 ramp

primary
#F2E357
secondary
#303DBE
accent
#19E203
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #F2E357

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

Preview Lab → · Contrast checker → · Palette generator →

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