#F2E66B#F2E66B

#F2E66B is a very light, vivid yellow. Relative luminance 0.765; OKLCH L 91.1% C 0.144 H 103.7°. Best body text is #000000 at 16.31:1 contrast (WCAG AA passes).

Color values

HEX#F2E66B
RGBrgb(242, 230, 107)
HSLhsl(55, 84%, 68%)
HSVhsv(55, 56%, 95%)
CMYKcmyk(0%, 5%, 55.8%, 5.1%)
CIE-LABlab(90.11, -11.11, 60.28)
CIE-LCHlch(90.11, 61.29, 100.44°)
OKLaboklab(91.09% -0.0342 0.1401)
OKLCHoklch(91.09% 0.144 103.7)
XYZxyz(67.5708, 76.5347, 25.1204)
Luminance0.7653 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E66B #6B77F2
analogous
#F2A26B #F2E66B #BAF26B
triadic
#F2E66B #6BF2E6 #E66BF2
tetradic
#F2E66B #6BF2A2 #6B77F2 #F26BBA
square
#F2E66B #6BF2A2 #6B77F2 #F26BBA
split-complementary
#F2E66B #6BBAF2 #A26BF2
monochromatic
#D0BF12 #EDDC33 #F2E66B #F7F0A3 #FCF9DC

Accessibility & contrast

On white

1.29
#F2E66B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.31
#F2E66B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E66B
16.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E66B#FFFFFF#000000##000000
##F2E66B1.001.2916.3116.31
#FFFFFF1.291.0021.0021.00
#00000016.3121.001.001.00
##00000016.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8DF5E
Deuteranopia (green-blind)
#FCE671
Tritanopia (blue-blind)
#FFD8CB
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #f2e66b;
/* rgb */ color: rgb(242, 230, 107);
/* oklch */ color: oklch(91.1% 0.144 103.7);
Tailwind
colors: {
  custom: {
    50: '#f9ed99',
    500: '#f2e66b',
    950: '#000000',
  },
}
SCSS
$custom: #f2e66b;
$custom-light: #f9ed99;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e66b",
  "rgb": {
    "r": 242,
    "g": 230,
    "b": 107
  },
  "hsl": {
    "h": 54.667,
    "s": 83.851,
    "l": 68.431
  },
  "oklch": {
    "l": 0.91088,
    "c": 0.14417,
    "h": 103.7
  },
  "luminance": 0.76532
}

Semantic roles & 50–950 ramp

primary
#F2E66B
secondary
#3644CB
accent
#19E005
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F2E66B

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

Preview Lab → · Contrast checker → · Palette generator →

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