#F2D56C#F2D56C

#F2D56C is a very light, vivid yellow. Relative luminance 0.675; OKLCH L 87.7% C 0.129 H 94.2°. Best body text is #000000 at 14.51:1 contrast (WCAG AA passes).

Color values

HEX#F2D56C
RGBrgb(242, 213, 108)
HSLhsl(47, 84%, 69%)
HSVhsv(47, 55%, 95%)
CMYKcmyk(0%, 12%, 55.4%, 5.1%)
CIE-LABlab(85.78, -2.48, 54.84)
CIE-LCHlch(85.78, 54.90, 92.59°)
OKLaboklab(87.66% -0.0093 0.1284)
OKLCHoklch(87.66% 0.129 94.2)
XYZxyz(63.1215, 67.5514, 23.8983)
Luminance0.6755 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D56C #6C89F2
analogous
#F2926C #F2D56C #CCF26C
triadic
#F2D56C #6CF2D5 #D56CF2
tetradic
#F2D56C #6CF292 #6C89F2 #F26CCC
square
#F2D56C #6CF292 #6C89F2 #F26CCC
split-complementary
#F2D56C #6CCCF2 #926CF2
monochromatic
#D1A812 #EDC534 #F2D56C #F7E5A4 #FCF5DC

Accessibility & contrast

On white

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

On black

14.51
#F2D56C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D56C
14.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D56C#FFFFFF#000000##000000
##F2D56C1.001.4514.5114.51
#FFFFFF1.451.0021.0021.00
#00000014.5121.001.001.00
##00000014.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D162
Deuteranopia (green-blind)
#EFDA70
Tritanopia (blue-blind)
#FFC7BD
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #f2d56c;
/* rgb */ color: rgb(242, 213, 108);
/* oklch */ color: oklch(87.7% 0.129 94.2);
Tailwind
colors: {
  custom: {
    50: '#f9e199',
    500: '#f2d56c',
    950: '#000000',
  },
}
SCSS
$custom: #f2d56c;
$custom-light: #f9e199;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d56c",
  "rgb": {
    "r": 242,
    "g": 213,
    "b": 108
  },
  "hsl": {
    "h": 47.015,
    "s": 83.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.87664,
    "c": 0.12878,
    "h": 94.2
  },
  "luminance": 0.67548
}

Semantic roles & 50–950 ramp

primary
#F2D56C
secondary
#3757CB
accent
#35E005
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F2D56C

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

Preview Lab → · Contrast checker → · Palette generator →

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