#F2E36C#F2E36C

#F2E36C is a very light, vivid yellow. Relative luminance 0.749; OKLCH L 90.5% C 0.140 H 102.2°. Best body text is #000000 at 15.98:1 contrast (WCAG AA passes).

Color values

HEX#F2E36C
RGBrgb(242, 227, 108)
HSLhsl(53, 84%, 69%)
HSVhsv(53, 55%, 95%)
CMYKcmyk(0%, 6.2%, 55.4%, 5.1%)
CIE-LABlab(89.35, -9.54, 58.96)
CIE-LCHlch(89.35, 59.73, 99.19°)
OKLaboklab(90.49% -0.0296 0.1373)
OKLCHoklch(90.49% 0.14 102.2)
XYZxyz(66.7960, 74.9006, 25.1232)
Luminance0.7490 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E36C #6C7BF2
analogous
#F2A06C #F2E36C #BEF26C
triadic
#F2E36C #6CF2E3 #E36CF2
tetradic
#F2E36C #6CF2A0 #6C7BF2 #F26CBE
square
#F2E36C #6CF2A0 #6C7BF2 #F26CBE
split-complementary
#F2E36C #6CBEF2 #A06CF2
monochromatic
#D1BC12 #EDD834 #F2E36C #F7EEA4 #FCF8DC

Accessibility & contrast

On white

1.31
#F2E36C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.98
#F2E36C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E36C
15.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E36C#FFFFFF#000000##000000
##F2E36C1.001.3115.9815.98
#FFFFFF1.311.0021.0021.00
#00000015.9821.001.001.00
##00000015.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DD60
Deuteranopia (green-blind)
#FAE472
Tritanopia (blue-blind)
#FFD5C9
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #f2e36c;
/* rgb */ color: rgb(242, 227, 108);
/* oklch */ color: oklch(90.5% 0.140 102.2);
Tailwind
colors: {
  custom: {
    50: '#f9eb9a',
    500: '#f2e36c',
    950: '#000000',
  },
}
SCSS
$custom: #f2e36c;
$custom-light: #f9eb9a;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e36c",
  "rgb": {
    "r": 242,
    "g": 227,
    "b": 108
  },
  "hsl": {
    "h": 53.284,
    "s": 83.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.90487,
    "c": 0.14049,
    "h": 102.2
  },
  "luminance": 0.74898
}

Semantic roles & 50–950 ramp

primary
#F2E36C
secondary
#3748CB
accent
#1EE005
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F2E36C

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

Preview Lab → · Contrast checker → · Palette generator →

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