#F2E66C#F2E66C

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

Color values

HEX#F2E66C
RGBrgb(242, 230, 108)
HSLhsl(55, 84%, 69%)
HSVhsv(55, 55%, 95%)
CMYKcmyk(0%, 5%, 55.4%, 5.1%)
CIE-LABlab(90.12, -11.04, 59.84)
CIE-LCHlch(90.12, 60.85, 100.45°)
OKLaboklab(91.1% -0.0339 0.1392)
OKLCHoklch(91.1% 0.143 103.7)
XYZxyz(67.6237, 76.5559, 25.3991)
Luminance0.7655 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E66C #6C78F2
analogous
#F2A36C #F2E66C #BBF26C
triadic
#F2E66C #6CF2E6 #E66CF2
tetradic
#F2E66C #6CF2A3 #6C78F2 #F26CBB
square
#F2E66C #6CF2A3 #6C78F2 #F26CBB
split-complementary
#F2E66C #6CBBF2 #A36CF2
monochromatic
#D1C012 #EDDC34 #F2E66C #F7F0A4 #FCF9DC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F2E66C#FFFFFF#000000##000000
##F2E66C1.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)
#F8DF60
Deuteranopia (green-blind)
#FCE672
Tritanopia (blue-blind)
#FFD8CB
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #f2e66c;
/* rgb */ color: rgb(242, 230, 108);
/* oklch */ color: oklch(91.1% 0.143 103.7);
Tailwind
colors: {
  custom: {
    50: '#f9ed9a',
    500: '#f2e66c',
    950: '#000000',
  },
}
SCSS
$custom: #f2e66c;
$custom-light: #f9ed9a;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e66c",
  "rgb": {
    "r": 242,
    "g": 230,
    "b": 108
  },
  "hsl": {
    "h": 54.627,
    "s": 83.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.91099,
    "c": 0.1433,
    "h": 103.7
  },
  "luminance": 0.76554
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F2E66C

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

Preview Lab → · Contrast checker → · Palette generator →

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