#F2D36B#F2D36B

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

Color values

HEX#F2D36B
RGBrgb(242, 211, 107)
HSLhsl(46, 84%, 68%)
HSVhsv(46, 56%, 95%)
CMYKcmyk(0%, 12.8%, 55.8%, 5.1%)
CIE-LABlab(85.27, -1.54, 54.71)
CIE-LCHlch(85.27, 54.73, 91.61°)
OKLaboklab(87.25% -0.0067 0.128)
OKLCHoklch(87.25% 0.128 93)
XYZxyz(62.5686, 66.5303, 23.4530)
Luminance0.6653 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D36B #6B8AF2
analogous
#F28F6B #F2D36B #CDF26B
triadic
#F2D36B #6BF2D3 #D36BF2
tetradic
#F2D36B #6BF28F #6B8AF2 #F26BCD
square
#F2D36B #6BF28F #6B8AF2 #F26BCD
split-complementary
#F2D36B #6BCDF2 #8F6BF2
monochromatic
#D0A512 #EDC233 #F2D36B #F7E4A3 #FCF4DC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F2D36B#FFFFFF#000000##000000
##F2D36B1.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)
#E6D061
Deuteranopia (green-blind)
#EED96F
Tritanopia (blue-blind)
#FFC5BB
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #f2d36b;
/* rgb */ color: rgb(242, 211, 107);
/* oklch */ color: oklch(87.3% 0.128 93.0);
Tailwind
colors: {
  custom: {
    50: '#f9e098',
    500: '#f2d36b',
    950: '#000000',
  },
}
SCSS
$custom: #f2d36b;
$custom-light: #f9e098;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d36b",
  "rgb": {
    "r": 242,
    "g": 211,
    "b": 107
  },
  "hsl": {
    "h": 46.222,
    "s": 83.851,
    "l": 68.431
  },
  "oklch": {
    "l": 0.87253,
    "c": 0.12822,
    "h": 93
  },
  "luminance": 0.66527
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F2D36B

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

Preview Lab → · Contrast checker → · Palette generator →

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