#F2E457#F2E457

#F2E457 is a very light, vivid yellow. Relative luminance 0.751; OKLCH L 90.5% C 0.158 H 103.6°. Best body text is #000000 at 16.01:1 contrast (WCAG AA passes).

Color values

HEX#F2E457
RGBrgb(242, 228, 87)
HSLhsl(55, 86%, 65%)
HSVhsv(55, 64%, 95%)
CMYKcmyk(0%, 5.8%, 64%, 5.1%)
CIE-LABlab(89.42, -11.44, 68.03)
CIE-LCHlch(89.42, 68.98, 99.55°)
OKLaboklab(90.49% -0.0373 0.1539)
OKLCHoklch(90.49% 0.158 103.6)
XYZxyz(66.0842, 75.0547, 20.0210)
Luminance0.7505 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E457 #5765F2
analogous
#F29757 #F2E457 #B2F257
triadic
#F2E457 #57F2E4 #E457F2
tetradic
#F2E457 #57F297 #5765F2 #F257B2
square
#F2E457 #57F297 #5765F2 #F257B2
split-complementary
#F2E457 #57B2F2 #9757F2
monochromatic
#C0B00F #EEDB1E #F2E457 #F6ED90 #FBF6C9

Accessibility & contrast

On white

1.31
#F2E457 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.01
#F2E457 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E457
16.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E457#FFFFFF#000000##000000
##F2E4571.001.3116.0116.01
#FFFFFF1.311.0021.0021.00
#00000016.0121.001.001.00
##00000016.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7DD45
Deuteranopia (green-blind)
#FCE45F
Tritanopia (blue-blind)
#FFD5C7
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #f2e457;
/* rgb */ color: rgb(242, 228, 87);
/* oklch */ color: oklch(90.5% 0.158 103.6);
Tailwind
colors: {
  custom: {
    50: '#faec8d',
    500: '#f2e457',
    950: '#000000',
  },
}
SCSS
$custom: #f2e457;
$custom-light: #faec8d;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e457",
  "rgb": {
    "r": 242,
    "g": 228,
    "b": 87
  },
  "hsl": {
    "h": 54.581,
    "s": 85.635,
    "l": 64.51
  },
  "oklch": {
    "l": 0.90485,
    "c": 0.15838,
    "h": 103.6
  },
  "luminance": 0.75052
}

Semantic roles & 50–950 ramp

primary
#F2E457
secondary
#303CBE
accent
#17E203
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #F2E457

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

Preview Lab → · Contrast checker → · Palette generator →

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