#F2D557#F2D557

#F2D557 is a very light, vivid yellow. Relative luminance 0.672; OKLCH L 87.4% C 0.146 H 96.2°. Best body text is #000000 at 14.43:1 contrast (WCAG AA passes).

Color values

HEX#F2D557
RGBrgb(242, 213, 87)
HSLhsl(49, 86%, 65%)
HSVhsv(49, 64%, 95%)
CMYKcmyk(0%, 12%, 64%, 5.1%)
CIE-LABlab(85.58, -3.91, 63.96)
CIE-LCHlch(85.58, 64.08, 93.50°)
OKLaboklab(87.44% -0.0159 0.1453)
OKLCHoklch(87.44% 0.146 96.2)
XYZxyz(62.1353, 67.1569, 18.7047)
Luminance0.6715 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D557 #5774F2
analogous
#F28857 #F2D557 #C2F257
triadic
#F2D557 #57F2D5 #D557F2
tetradic
#F2D557 #57F288 #5774F2 #F257C2
square
#F2D557 #57F288 #5774F2 #F257C2
split-complementary
#F2D557 #57C2F2 #8857F2
monochromatic
#C09F0F #EEC71E #F2D557 #F6E390 #FBF1C9

Accessibility & contrast

On white

1.46
#F2D557 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.43
#F2D557 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D557
14.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D557#FFFFFF#000000##000000
##F2D5571.001.4614.4314.43
#FFFFFF1.461.0021.0021.00
#00000014.4321.001.001.00
##00000014.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D148
Deuteranopia (green-blind)
#F1DA5D
Tritanopia (blue-blind)
#FFC6BA
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #f2d557;
/* rgb */ color: rgb(242, 213, 87);
/* oklch */ color: oklch(87.4% 0.146 96.2);
Tailwind
colors: {
  custom: {
    50: '#fae18c',
    500: '#f2d557',
    950: '#000000',
  },
}
SCSS
$custom: #f2d557;
$custom-light: #fae18c;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d557",
  "rgb": {
    "r": 242,
    "g": 213,
    "b": 87
  },
  "hsl": {
    "h": 48.774,
    "s": 85.635,
    "l": 64.51
  },
  "oklch": {
    "l": 0.87443,
    "c": 0.14618,
    "h": 96.2
  },
  "luminance": 0.67154
}

Semantic roles & 50–950 ramp

primary
#F2D557
secondary
#304ABE
accent
#2DE203
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #F2D557

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

Preview Lab → · Contrast checker → · Palette generator →

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