#F2D356#F2D356

#F2D356 is a very light, vivid yellow. Relative luminance 0.661; OKLCH L 87.0% C 0.145 H 95.2°. Best body text is #000000 at 14.23:1 contrast (WCAG AA passes).

Color values

HEX#F2D356
RGBrgb(242, 211, 86)
HSLhsl(48, 86%, 64%)
HSVhsv(48, 64%, 95%)
CMYKcmyk(0%, 12.8%, 64.5%, 5.1%)
CIE-LABlab(85.07, -2.95, 63.83)
CIE-LCHlch(85.07, 63.90, 92.65°)
OKLaboklab(87.03% -0.0132 0.1449)
OKLCHoklch(87.03% 0.146 95.2)
XYZxyz(61.5948, 66.1408, 18.3244)
Luminance0.6614 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D356 #5675F2
analogous
#F28556 #F2D356 #C3F256
triadic
#F2D356 #56F2D3 #D356F2
tetradic
#F2D356 #56F285 #5675F2 #F256C3
square
#F2D356 #56F285 #5675F2 #F256C3
split-complementary
#F2D356 #56C3F2 #8556F2
monochromatic
#BF9C0F #EEC41D #F2D356 #F6E28F #FBF1C8

Accessibility & contrast

On white

1.48
#F2D356 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.23
#F2D356 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D356
14.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D356#FFFFFF#000000##000000
##F2D3561.001.4814.2314.23
#FFFFFF1.481.0021.0021.00
#00000014.2321.001.001.00
##00000014.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CF47
Deuteranopia (green-blind)
#EFD95C
Tritanopia (blue-blind)
#FFC4B9
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #f2d356;
/* rgb */ color: rgb(242, 211, 86);
/* oklch */ color: oklch(87.0% 0.145 95.2);
Tailwind
colors: {
  custom: {
    50: '#fae08b',
    500: '#f2d356',
    950: '#000000',
  },
}
SCSS
$custom: #f2d356;
$custom-light: #fae08b;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d356",
  "rgb": {
    "r": 242,
    "g": 211,
    "b": 86
  },
  "hsl": {
    "h": 48.077,
    "s": 85.714,
    "l": 64.314
  },
  "oklch": {
    "l": 0.87033,
    "c": 0.1455,
    "h": 95.2
  },
  "luminance": 0.66138
}

Semantic roles & 50–950 ramp

primary
#F2D356
secondary
#2F4BBD
accent
#30E203
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #F2D356

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

Preview Lab → · Contrast checker → · Palette generator →

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