#F2E566#F2E566

#F2E566 is a very light, vivid yellow. Relative luminance 0.759; OKLCH L 90.8% C 0.148 H 103.5°. Best body text is #000000 at 16.18:1 contrast (WCAG AA passes).

Color values

HEX#F2E566
RGBrgb(242, 229, 102)
HSLhsl(54, 84%, 67%)
HSVhsv(54, 58%, 95%)
CMYKcmyk(0%, 5.4%, 57.9%, 5.1%)
CIE-LABlab(89.80, -10.97, 62.14)
CIE-LCHlch(89.80, 63.10, 100.01°)
OKLaboklab(90.83% -0.0344 0.1435)
OKLCHoklch(90.83% 0.148 103.5)
XYZxyz(67.0378, 75.8776, 23.6824)
Luminance0.7588 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E566 #6673F2
analogous
#F29F66 #F2E566 #B9F266
triadic
#F2E566 #66F2E5 #E566F2
tetradic
#F2E566 #66F29F #6673F2 #F266B9
square
#F2E566 #66F29F #6673F2 #F266B9
split-complementary
#F2E566 #66B9F2 #9F66F2
monochromatic
#CCBB11 #EDDB2E #F2E566 #F7EF9E #FCF8D7

Accessibility & contrast

On white

1.30
#F2E566 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.18
#F2E566 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E566
16.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E566#FFFFFF#000000##000000
##F2E5661.001.3016.1816.18
#FFFFFF1.301.0021.0021.00
#00000016.1821.001.001.00
##00000016.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7DE58
Deuteranopia (green-blind)
#FCE56D
Tritanopia (blue-blind)
#FFD7C9
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #f2e566;
/* rgb */ color: rgb(242, 229, 102);
/* oklch */ color: oklch(90.8% 0.148 103.5);
Tailwind
colors: {
  custom: {
    50: '#f9ed96',
    500: '#f2e566',
    950: '#000000',
  },
}
SCSS
$custom: #f2e566;
$custom-light: #f9ed96;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e566",
  "rgb": {
    "r": 242,
    "g": 229,
    "b": 102
  },
  "hsl": {
    "h": 54.429,
    "s": 84.337,
    "l": 67.451
  },
  "oklch": {
    "l": 0.90831,
    "c": 0.14751,
    "h": 103.5
  },
  "luminance": 0.75875
}

Semantic roles & 50–950 ramp

primary
#F2E566
secondary
#3441C9
accent
#19E105
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F2E566

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

Preview Lab → · Contrast checker → · Palette generator →

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