#F2E36B#F2E36B

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

Color values

HEX#F2E36B
RGBrgb(242, 227, 107)
HSLhsl(53, 84%, 68%)
HSVhsv(53, 56%, 95%)
CMYKcmyk(0%, 6.2%, 55.8%, 5.1%)
CIE-LABlab(89.34, -9.62, 59.40)
CIE-LCHlch(89.34, 60.17, 99.20°)
OKLaboklab(90.48% -0.03 0.1382)
OKLCHoklch(90.48% 0.141 102.2)
XYZxyz(66.7431, 74.8794, 24.8445)
Luminance0.7488 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E36B #6B7AF2
analogous
#F29F6B #F2E36B #BDF26B
triadic
#F2E36B #6BF2E3 #E36BF2
tetradic
#F2E36B #6BF29F #6B7AF2 #F26BBD
square
#F2E36B #6BF29F #6B7AF2 #F26BBD
split-complementary
#F2E36B #6BBDF2 #9F6BF2
monochromatic
#D0BB12 #EDD833 #F2E36B #F7EEA3 #FCF8DC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F2E36B#FFFFFF#000000##000000
##F2E36B1.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)
#F5DD5F
Deuteranopia (green-blind)
#FAE471
Tritanopia (blue-blind)
#FFD5C8
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #f2e36b;
/* rgb */ color: rgb(242, 227, 107);
/* oklch */ color: oklch(90.5% 0.141 102.2);
Tailwind
colors: {
  custom: {
    50: '#f9eb99',
    500: '#f2e36b',
    950: '#000000',
  },
}
SCSS
$custom: #f2e36b;
$custom-light: #f9eb99;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e36b",
  "rgb": {
    "r": 242,
    "g": 227,
    "b": 107
  },
  "hsl": {
    "h": 53.333,
    "s": 83.851,
    "l": 68.431
  },
  "oklch": {
    "l": 0.90476,
    "c": 0.14137,
    "h": 102.2
  },
  "luminance": 0.74877
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F2E36B

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

Preview Lab → · Contrast checker → · Palette generator →

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