#F2D56D#F2D56D

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

Color values

HEX#F2D56D
RGBrgb(242, 213, 109)
HSLhsl(47, 84%, 69%)
HSVhsv(47, 55%, 95%)
CMYKcmyk(0%, 12%, 55%, 5.1%)
CIE-LABlab(85.79, -2.41, 54.39)
CIE-LCHlch(85.79, 54.44, 92.53°)
OKLaboklab(87.68% -0.009 0.1276)
OKLCHoklch(87.68% 0.128 94)
XYZxyz(63.1750, 67.5728, 24.1802)
Luminance0.6757 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D56D #6D8AF2
analogous
#F2936D #F2D56D #CDF26D
triadic
#F2D56D #6DF2D5 #D56DF2
tetradic
#F2D56D #6DF293 #6D8AF2 #F26DCD
square
#F2D56D #6DF293 #6D8AF2 #F26DCD
split-complementary
#F2D56D #6DCDF2 #936DF2
monochromatic
#D2A813 #EDC535 #F2D56D #F7E5A5 #FCF5DD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F2D56D#FFFFFF#000000##000000
##F2D56D1.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)
#E8D163
Deuteranopia (green-blind)
#EFDA71
Tritanopia (blue-blind)
#FFC7BD
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #f2d56d;
/* rgb */ color: rgb(242, 213, 109);
/* oklch */ color: oklch(87.7% 0.128 94.0);
Tailwind
colors: {
  custom: {
    50: '#f9e199',
    500: '#f2d56d',
    950: '#000000',
  },
}
SCSS
$custom: #f2d56d;
$custom-light: #f9e199;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d56d",
  "rgb": {
    "r": 242,
    "g": 213,
    "b": 109
  },
  "hsl": {
    "h": 46.917,
    "s": 83.648,
    "l": 68.824
  },
  "oklch": {
    "l": 0.87676,
    "c": 0.12788,
    "h": 94
  },
  "luminance": 0.6757
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F2D56D

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

Preview Lab → · Contrast checker → · Palette generator →

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