#F2E367#F2E367

#F2E367 is a very light, vivid yellow. Relative luminance 0.748; OKLCH L 90.4% C 0.145 H 102.5°. Best body text is #000000 at 15.96:1 contrast (WCAG AA passes).

Color values

HEX#F2E367
RGBrgb(242, 227, 103)
HSLhsl(54, 84%, 68%)
HSVhsv(54, 57%, 95%)
CMYKcmyk(0%, 6.2%, 57.4%, 5.1%)
CIE-LABlab(89.30, -9.91, 61.14)
CIE-LCHlch(89.30, 61.93, 99.21°)
OKLaboklab(90.43% -0.0312 0.1414)
OKLCHoklch(90.43% 0.145 102.5)
XYZxyz(66.5375, 74.7972, 23.7617)
Luminance0.7480 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E367 #6776F2
analogous
#F29D67 #F2E367 #BCF267
triadic
#F2E367 #67F2E3 #E367F2
tetradic
#F2E367 #67F29D #6776F2 #F267BC
square
#F2E367 #67F29D #6776F2 #F267BC
split-complementary
#F2E367 #67BCF2 #9D67F2
monochromatic
#CDB912 #EDD92F #F2E367 #F7ED9F #FCF8D8

Accessibility & contrast

On white

1.32
#F2E367 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.96
#F2E367 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E367
15.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E367#FFFFFF#000000##000000
##F2E3671.001.3215.9615.96
#FFFFFF1.321.0021.0021.00
#00000015.9621.001.001.00
##00000015.9621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2e367;
/* rgb */ color: rgb(242, 227, 103);
/* oklch */ color: oklch(90.4% 0.145 102.5);
Tailwind
colors: {
  custom: {
    50: '#f9eb96',
    500: '#f2e367',
    950: '#000000',
  },
}
SCSS
$custom: #f2e367;
$custom-light: #f9eb96;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e367",
  "rgb": {
    "r": 242,
    "g": 227,
    "b": 103
  },
  "hsl": {
    "h": 53.525,
    "s": 84.242,
    "l": 67.647
  },
  "oklch": {
    "l": 0.90433,
    "c": 0.14484,
    "h": 102.5
  },
  "luminance": 0.74795
}

Semantic roles & 50–950 ramp

primary
#F2E367
secondary
#3444C9
accent
#1DE105
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F2E367

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

Preview Lab → · Contrast checker → · Palette generator →

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