#F2D558#F2D558

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

Color values

HEX#F2D558
RGBrgb(242, 213, 88)
HSLhsl(49, 86%, 65%)
HSVhsv(49, 64%, 95%)
CMYKcmyk(0%, 12%, 63.6%, 5.1%)
CIE-LABlab(85.59, -3.85, 63.55)
CIE-LCHlch(85.59, 63.67, 93.47°)
OKLaboklab(87.45% -0.0156 0.1446)
OKLCHoklch(87.45% 0.145 96.2)
XYZxyz(62.1765, 67.1734, 18.9214)
Luminance0.6717 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D558 #5875F2
analogous
#F28858 #F2D558 #C2F258
triadic
#F2D558 #58F2D5 #D558F2
tetradic
#F2D558 #58F288 #5875F2 #F258C2
square
#F2D558 #58F288 #5875F2 #F258C2
split-complementary
#F2D558 #58C2F2 #8858F2
monochromatic
#C19F0F #EEC71F #F2D558 #F6E391 #FBF2CA

Accessibility & contrast

On white

1.45
#F2D558 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##F2D558#FFFFFF#000000##000000
##F2D5581.001.4514.4314.43
#FFFFFF1.451.0021.0021.00
#00000014.4321.001.001.00
##00000014.4321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2d558;
/* rgb */ color: rgb(242, 213, 88);
/* oklch */ color: oklch(87.5% 0.145 96.2);
Tailwind
colors: {
  custom: {
    50: '#fae18c',
    500: '#f2d558',
    950: '#000000',
  },
}
SCSS
$custom: #f2d558;
$custom-light: #fae18c;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d558",
  "rgb": {
    "r": 242,
    "g": 213,
    "b": 88
  },
  "hsl": {
    "h": 48.701,
    "s": 85.556,
    "l": 64.706
  },
  "oklch": {
    "l": 0.87452,
    "c": 0.14543,
    "h": 96.2
  },
  "luminance": 0.6717
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F2D558

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

Preview Lab → · Contrast checker → · Palette generator →

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