#F2D36C#F2D36C

#F2D36C is a very light, vivid yellow. Relative luminance 0.665; OKLCH L 87.3% C 0.127 H 92.9°. Best body text is #000000 at 14.31:1 contrast (WCAG AA passes).

Color values

HEX#F2D36C
RGBrgb(242, 211, 108)
HSLhsl(46, 84%, 69%)
HSVhsv(46, 55%, 95%)
CMYKcmyk(0%, 12.8%, 55.4%, 5.1%)
CIE-LABlab(85.28, -1.46, 54.25)
CIE-LCHlch(85.28, 54.27, 91.54°)
OKLaboklab(87.27% -0.0064 0.1272)
OKLCHoklch(87.27% 0.127 92.9)
XYZxyz(62.6215, 66.5515, 23.7317)
Luminance0.6655 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D36C #6C8BF2
analogous
#F2906C #F2D36C #CEF26C
triadic
#F2D36C #6CF2D3 #D36CF2
tetradic
#F2D36C #6CF290 #6C8BF2 #F26CCE
square
#F2D36C #6CF290 #6C8BF2 #F26CCE
split-complementary
#F2D36C #6CCEF2 #906CF2
monochromatic
#D1A512 #EDC234 #F2D36C #F7E4A4 #FCF5DC

Accessibility & contrast

On white

1.47
#F2D36C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.31
#F2D36C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D36C
14.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D36C#FFFFFF#000000##000000
##F2D36C1.001.4714.3114.31
#FFFFFF1.471.0021.0021.00
#00000014.3121.001.001.00
##00000014.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D062
Deuteranopia (green-blind)
#EED970
Tritanopia (blue-blind)
#FFC5BC
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #f2d36c;
/* rgb */ color: rgb(242, 211, 108);
/* oklch */ color: oklch(87.3% 0.127 92.9);
Tailwind
colors: {
  custom: {
    50: '#f9e099',
    500: '#f2d36c',
    950: '#000000',
  },
}
SCSS
$custom: #f2d36c;
$custom-light: #f9e099;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d36c",
  "rgb": {
    "r": 242,
    "g": 211,
    "b": 108
  },
  "hsl": {
    "h": 46.119,
    "s": 83.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.87265,
    "c": 0.12732,
    "h": 92.9
  },
  "luminance": 0.66548
}

Semantic roles & 50–950 ramp

primary
#F2D36C
secondary
#3759CB
accent
#38E005
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F2D36C

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

Preview Lab → · Contrast checker → · Palette generator →

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