#F2D56E#F2D56E

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

Color values

HEX#F2D56E
RGBrgb(242, 213, 110)
HSLhsl(47, 84%, 69%)
HSVhsv(47, 55%, 95%)
CMYKcmyk(0%, 12%, 54.5%, 5.1%)
CIE-LABlab(85.80, -2.33, 53.93)
CIE-LCHlch(85.80, 53.98, 92.47°)
OKLaboklab(87.69% -0.0086 0.1267)
OKLCHoklch(87.69% 0.127 93.9)
XYZxyz(63.2291, 67.5944, 24.4653)
Luminance0.6759 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D56E #6E8BF2
analogous
#F2936E #F2D56E #CDF26E
triadic
#F2D56E #6EF2D5 #D56EF2
tetradic
#F2D56E #6EF293 #6E8BF2 #F26ECD
square
#F2D56E #6EF293 #6E8BF2 #F26ECD
split-complementary
#F2D56E #6ECDF2 #936EF2
monochromatic
#D3A913 #EDC536 #F2D56E #F7E5A6 #FCF6DE

Accessibility & contrast

On white

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

On black

14.52
#F2D56E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D56E
14.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D56E#FFFFFF#000000##000000
##F2D56E1.001.4514.5214.52
#FFFFFF1.451.0021.0021.00
#00000014.5221.001.001.00
##00000014.5221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2d56e;
/* rgb */ color: rgb(242, 213, 110);
/* oklch */ color: oklch(87.7% 0.127 93.9);
Tailwind
colors: {
  custom: {
    50: '#f9e19a',
    500: '#f2d56e',
    950: '#000000',
  },
}
SCSS
$custom: #f2d56e;
$custom-light: #f9e19a;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d56e",
  "rgb": {
    "r": 242,
    "g": 213,
    "b": 110
  },
  "hsl": {
    "h": 46.818,
    "s": 83.544,
    "l": 69.02
  },
  "oklch": {
    "l": 0.87688,
    "c": 0.12697,
    "h": 93.9
  },
  "luminance": 0.67592
}

Semantic roles & 50–950 ramp

primary
#F2D56E
secondary
#3959CB
accent
#36E006
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F2D56E

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

Preview Lab → · Contrast checker → · Palette generator →

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