#F2D56A#F2D56A

#F2D56A is a very light, vivid yellow. Relative luminance 0.675; OKLCH L 87.6% C 0.131 H 94.4°. Best body text is #000000 at 14.50:1 contrast (WCAG AA passes).

Color values

HEX#F2D56A
RGBrgb(242, 213, 106)
HSLhsl(47, 84%, 68%)
HSVhsv(47, 56%, 95%)
CMYKcmyk(0%, 12%, 56.2%, 5.1%)
CIE-LABlab(85.76, -2.63, 55.75)
CIE-LCHlch(85.76, 55.81, 92.71°)
OKLaboklab(87.64% -0.01 0.1302)
OKLCHoklch(87.64% 0.131 94.4)
XYZxyz(63.0162, 67.5093, 23.3442)
Luminance0.6751 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D56A #6A87F2
analogous
#F2916A #F2D56A #CBF26A
triadic
#F2D56A #6AF2D5 #D56AF2
tetradic
#F2D56A #6AF291 #6A87F2 #F26ACB
square
#F2D56A #6AF291 #6A87F2 #F26ACB
split-complementary
#F2D56A #6ACBF2 #916AF2
monochromatic
#CFA712 #EDC532 #F2D56A #F7E5A2 #FCF5DB

Accessibility & contrast

On white

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

On black

14.50
#F2D56A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D56A
14.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D56A#FFFFFF#000000##000000
##F2D56A1.001.4514.5014.50
#FFFFFF1.451.0021.0021.00
#00000014.5021.001.001.00
##00000014.5021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2d56a;
/* rgb */ color: rgb(242, 213, 106);
/* oklch */ color: oklch(87.6% 0.131 94.4);
Tailwind
colors: {
  custom: {
    50: '#f9e198',
    500: '#f2d56a',
    950: '#000000',
  },
}
SCSS
$custom: #f2d56a;
$custom-light: #f9e198;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d56a",
  "rgb": {
    "r": 242,
    "g": 213,
    "b": 106
  },
  "hsl": {
    "h": 47.206,
    "s": 83.951,
    "l": 68.235
  },
  "oklch": {
    "l": 0.8764,
    "c": 0.13056,
    "h": 94.4
  },
  "luminance": 0.67506
}

Semantic roles & 50–950 ramp

primary
#F2D56A
secondary
#3655CB
accent
#34E005
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F2D56A

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

Preview Lab → · Contrast checker → · Palette generator →

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