#F2E865#F2E865

#F2E865 is a very light, vivid yellow. Relative luminance 0.775; OKLCH L 91.4% C 0.151 H 104.9°. Best body text is #000000 at 16.51:1 contrast (WCAG AA passes).

Color values

HEX#F2E865
RGBrgb(242, 232, 101)
HSLhsl(56, 84%, 67%)
HSVhsv(56, 58%, 95%)
CMYKcmyk(0%, 4.1%, 58.3%, 5.1%)
CIE-LABlab(90.57, -12.53, 63.42)
CIE-LCHlch(90.57, 64.65, 101.17°)
OKLaboklab(91.44% -0.0389 0.1461)
OKLCHoklch(91.44% 0.151 104.9)
XYZxyz(67.8258, 77.5323, 23.7018)
Luminance0.7753 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E865 #656FF2
analogous
#F2A265 #F2E865 #B5F265
triadic
#F2E865 #65F2E8 #E865F2
tetradic
#F2E865 #65F2A2 #656FF2 #F265B5
square
#F2E865 #65F2A2 #656FF2 #F265B5
split-complementary
#F2E865 #65B5F2 #A265F2
monochromatic
#CBBE11 #EDE02D #F2E865 #F7F09D #FCF9D6

Accessibility & contrast

On white

1.27
#F2E865 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.51
#F2E865 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E865
16.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E865#FFFFFF#000000##000000
##F2E8651.001.2716.5116.51
#FFFFFF1.271.0021.0021.00
#00000016.5121.001.001.00
##00000016.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE057
Deuteranopia (green-blind)
#FEE76C
Tritanopia (blue-blind)
#FFDACC
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #f2e865;
/* rgb */ color: rgb(242, 232, 101);
/* oklch */ color: oklch(91.4% 0.151 104.9);
Tailwind
colors: {
  custom: {
    50: '#f9ef95',
    500: '#f2e865',
    950: '#000000',
  },
}
SCSS
$custom: #f2e865;
$custom-light: #f9ef95;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e865",
  "rgb": {
    "r": 242,
    "g": 232,
    "b": 101
  },
  "hsl": {
    "h": 55.745,
    "s": 84.431,
    "l": 67.255
  },
  "oklch": {
    "l": 0.91435,
    "c": 0.15117,
    "h": 104.9
  },
  "luminance": 0.7753
}

Semantic roles & 50–950 ramp

primary
#F2E865
secondary
#333EC8
accent
#14E105
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160E
muted
#86857F

Preview Lab

Preview with #F2E865

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

Preview Lab → · Contrast checker → · Palette generator →

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