#F2E36A#F2E36A

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

Color values

HEX#F2E36A
RGBrgb(242, 227, 106)
HSLhsl(53, 84%, 68%)
HSVhsv(53, 56%, 95%)
CMYKcmyk(0%, 6.2%, 56.2%, 5.1%)
CIE-LABlab(89.33, -9.69, 59.84)
CIE-LCHlch(89.33, 60.62, 99.20°)
OKLaboklab(90.46% -0.0303 0.139)
OKLCHoklch(90.46% 0.142 102.3)
XYZxyz(66.6908, 74.8585, 24.5690)
Luminance0.7486 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E36A #6A79F2
analogous
#F29F6A #F2E36A #BDF26A
triadic
#F2E36A #6AF2E3 #E36AF2
tetradic
#F2E36A #6AF29F #6A79F2 #F26ABD
square
#F2E36A #6AF29F #6A79F2 #F26ABD
split-complementary
#F2E36A #6ABDF2 #9F6AF2
monochromatic
#CFBB12 #EDD832 #F2E36A #F7EEA2 #FCF8DB

Accessibility & contrast

On white

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

On black

15.97
#F2E36A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E36A
15.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E36A#FFFFFF#000000##000000
##F2E36A1.001.3115.9715.97
#FFFFFF1.311.0021.0021.00
#00000015.9721.001.001.00
##00000015.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DD5E
Deuteranopia (green-blind)
#FAE470
Tritanopia (blue-blind)
#FFD5C8
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #f2e36a;
/* rgb */ color: rgb(242, 227, 106);
/* oklch */ color: oklch(90.5% 0.142 102.3);
Tailwind
colors: {
  custom: {
    50: '#f9eb98',
    500: '#f2e36a',
    950: '#000000',
  },
}
SCSS
$custom: #f2e36a;
$custom-light: #f9eb98;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e36a",
  "rgb": {
    "r": 242,
    "g": 227,
    "b": 106
  },
  "hsl": {
    "h": 53.382,
    "s": 83.951,
    "l": 68.235
  },
  "oklch": {
    "l": 0.90465,
    "c": 0.14225,
    "h": 102.3
  },
  "luminance": 0.74856
}

Semantic roles & 50–950 ramp

primary
#F2E36A
secondary
#3646CB
accent
#1DE005
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F2E36A

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

Preview Lab → · Contrast checker → · Palette generator →

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