#F2E267#F2E267

#F2E267 is a very light, vivid yellow. Relative luminance 0.742; OKLCH L 90.2% C 0.144 H 102.0°. Best body text is #000000 at 15.85:1 contrast (WCAG AA passes).

Color values

HEX#F2E267
RGBrgb(242, 226, 103)
HSLhsl(53, 84%, 68%)
HSVhsv(53, 57%, 95%)
CMYKcmyk(0%, 6.6%, 57.4%, 5.1%)
CIE-LABlab(89.04, -9.41, 60.85)
CIE-LCHlch(89.04, 61.57, 98.79°)
OKLaboklab(90.23% -0.0298 0.1408)
OKLCHoklch(90.23% 0.144 102)
XYZxyz(66.2648, 74.2517, 23.6708)
Luminance0.7425 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E267 #6777F2
analogous
#F29D67 #F2E267 #BCF267
triadic
#F2E267 #67F2E2 #E267F2
tetradic
#F2E267 #67F29D #6777F2 #F267BC
square
#F2E267 #67F29D #6777F2 #F267BC
split-complementary
#F2E267 #67BCF2 #9D67F2
monochromatic
#CDB712 #EDD72F #F2E267 #F7ED9F #FCF8D8

Accessibility & contrast

On white

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

On black

15.85
#F2E267 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E267
15.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E267#FFFFFF#000000##000000
##F2E2671.001.3215.8515.85
#FFFFFF1.321.0021.0021.00
#00000015.8521.001.001.00
##00000015.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DC5A
Deuteranopia (green-blind)
#F9E36D
Tritanopia (blue-blind)
#FFD4C7
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #f2e267;
/* rgb */ color: rgb(242, 226, 103);
/* oklch */ color: oklch(90.2% 0.144 102.0);
Tailwind
colors: {
  custom: {
    50: '#f9ea96',
    500: '#f2e267',
    950: '#000000',
  },
}
SCSS
$custom: #f2e267;
$custom-light: #f9ea96;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e267",
  "rgb": {
    "r": 242,
    "g": 226,
    "b": 103
  },
  "hsl": {
    "h": 53.094,
    "s": 84.242,
    "l": 67.647
  },
  "oklch": {
    "l": 0.9023,
    "c": 0.14393,
    "h": 102
  },
  "luminance": 0.74249
}

Semantic roles & 50–950 ramp

primary
#F2E267
secondary
#3445C9
accent
#1EE105
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F2E267

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

Preview Lab → · Contrast checker → · Palette generator →

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