#F2E66A#F2E66A

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

Color values

HEX#F2E66A
RGBrgb(242, 230, 106)
HSLhsl(55, 84%, 68%)
HSVhsv(55, 56%, 95%)
CMYKcmyk(0%, 5%, 56.2%, 5.1%)
CIE-LABlab(90.10, -11.18, 60.71)
CIE-LCHlch(90.10, 61.73, 100.44°)
OKLaboklab(91.08% -0.0345 0.1409)
OKLCHoklch(91.08% 0.145 103.8)
XYZxyz(67.5185, 76.5138, 24.8449)
Luminance0.7651 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E66A #6A76F2
analogous
#F2A26A #F2E66A #BAF26A
triadic
#F2E66A #6AF2E6 #E66AF2
tetradic
#F2E66A #6AF2A2 #6A76F2 #F26ABA
square
#F2E66A #6AF2A2 #6A76F2 #F26ABA
split-complementary
#F2E66A #6ABAF2 #A26AF2
monochromatic
#CFBF12 #EDDD32 #F2E66A #F7EFA2 #FCF9DB

Accessibility & contrast

On white

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

On black

16.30
#F2E66A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E66A
16.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E66A#FFFFFF#000000##000000
##F2E66A1.001.2916.3016.30
#FFFFFF1.291.0021.0021.00
#00000016.3021.001.001.00
##00000016.3021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2e66a;
/* rgb */ color: rgb(242, 230, 106);
/* oklch */ color: oklch(91.1% 0.145 103.8);
Tailwind
colors: {
  custom: {
    50: '#f9ed98',
    500: '#f2e66a',
    950: '#000000',
  },
}
SCSS
$custom: #f2e66a;
$custom-light: #f9ed98;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e66a",
  "rgb": {
    "r": 242,
    "g": 230,
    "b": 106
  },
  "hsl": {
    "h": 54.706,
    "s": 83.951,
    "l": 68.235
  },
  "oklch": {
    "l": 0.91078,
    "c": 0.14505,
    "h": 103.8
  },
  "luminance": 0.76511
}

Semantic roles & 50–950 ramp

primary
#F2E66A
secondary
#3643CB
accent
#18E005
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F2E66A

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

Preview Lab → · Contrast checker → · Palette generator →

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