#F2E36F#F2E36F

#F2E36F is a very light, vivid yellow. Relative luminance 0.750; OKLCH L 90.5% C 0.138 H 102.0°. Best body text is #000000 at 15.99:1 contrast (WCAG AA passes).

Color values

HEX#F2E36F
RGBrgb(242, 227, 111)
HSLhsl(53, 83%, 69%)
HSVhsv(53, 54%, 95%)
CMYKcmyk(0%, 6.2%, 54.1%, 5.1%)
CIE-LABlab(89.38, -9.31, 57.64)
CIE-LCHlch(89.38, 58.39, 99.18°)
OKLaboklab(90.52% -0.0287 0.1348)
OKLCHoklch(90.52% 0.138 102)
XYZxyz(66.9585, 74.9655, 25.9786)
Luminance0.7496 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E36F #6F7EF2
analogous
#F2A26F #F2E36F #C0F26F
triadic
#F2E36F #6FF2E3 #E36FF2
tetradic
#F2E36F #6FF2A2 #6F7EF2 #F26FC0
square
#F2E36F #6FF2A2 #6F7EF2 #F26FC0
split-complementary
#F2E36F #6FC0F2 #A26FF2
monochromatic
#D4BD13 #EDD837 #F2E36F #F7EEA7 #FCF9DF

Accessibility & contrast

On white

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

On black

15.99
#F2E36F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E36F
15.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E36F#FFFFFF#000000##000000
##F2E36F1.001.3115.9915.99
#FFFFFF1.311.0021.0021.00
#00000015.9921.001.001.00
##00000015.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DD64
Deuteranopia (green-blind)
#F9E475
Tritanopia (blue-blind)
#FFD5C9
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #f2e36f;
/* rgb */ color: rgb(242, 227, 111);
/* oklch */ color: oklch(90.5% 0.138 102.0);
Tailwind
colors: {
  custom: {
    50: '#f9eb9b',
    500: '#f2e36f',
    950: '#000000',
  },
}
SCSS
$custom: #f2e36f;
$custom-light: #f9eb9b;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e36f",
  "rgb": {
    "r": 242,
    "g": 227,
    "b": 111
  },
  "hsl": {
    "h": 53.13,
    "s": 83.439,
    "l": 69.216
  },
  "oklch": {
    "l": 0.90521,
    "c": 0.1378,
    "h": 102
  },
  "luminance": 0.74963
}

Semantic roles & 50–950 ramp

primary
#F2E36F
secondary
#3A4BCB
accent
#1FE006
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F2E36F

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

Preview Lab → · Contrast checker → · Palette generator →

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