#F2D556#F2D556

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

Color values

HEX#F2D556
RGBrgb(242, 213, 86)
HSLhsl(49, 86%, 64%)
HSVhsv(49, 64%, 95%)
CMYKcmyk(0%, 12%, 64.5%, 5.1%)
CIE-LABlab(85.57, -3.97, 64.37)
CIE-LCHlch(85.57, 64.50, 93.53°)
OKLaboklab(87.43% -0.0161 0.146)
OKLCHoklch(87.43% 0.147 96.3)
XYZxyz(62.0947, 67.1407, 18.4910)
Luminance0.6714 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D556 #5673F2
analogous
#F28756 #F2D556 #C1F256
triadic
#F2D556 #56F2D5 #D556F2
tetradic
#F2D556 #56F287 #5673F2 #F256C1
square
#F2D556 #56F287 #5673F2 #F256C1
split-complementary
#F2D556 #56C1F2 #8756F2
monochromatic
#BF9E0F #EEC71D #F2D556 #F6E38F #FBF1C8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F2D556#FFFFFF#000000##000000
##F2D5561.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)
#E9D047
Deuteranopia (green-blind)
#F1DA5D
Tritanopia (blue-blind)
#FFC6BA
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #f2d556;
/* rgb */ color: rgb(242, 213, 86);
/* oklch */ color: oklch(87.4% 0.147 96.3);
Tailwind
colors: {
  custom: {
    50: '#fae18b',
    500: '#f2d556',
    950: '#000000',
  },
}
SCSS
$custom: #f2d556;
$custom-light: #fae18b;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d556",
  "rgb": {
    "r": 242,
    "g": 213,
    "b": 86
  },
  "hsl": {
    "h": 48.846,
    "s": 85.714,
    "l": 64.314
  },
  "oklch": {
    "l": 0.87434,
    "c": 0.14693,
    "h": 96.3
  },
  "luminance": 0.67138
}

Semantic roles & 50–950 ramp

primary
#F2D556
secondary
#2F4ABD
accent
#2DE203
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #F2D556

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

Preview Lab → · Contrast checker → · Palette generator →

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