#F2E76A#F2E76A

#F2E76A is a very light, vivid yellow. Relative luminance 0.771; OKLCH L 91.3% C 0.146 H 104.3°. Best body text is #000000 at 16.41:1 contrast (WCAG AA passes).

Color values

HEX#F2E76A
RGBrgb(242, 231, 106)
HSLhsl(55, 84%, 68%)
HSVhsv(55, 56%, 95%)
CMYKcmyk(0%, 4.5%, 56.2%, 5.1%)
CIE-LABlab(90.35, -11.68, 61.00)
CIE-LCHlch(90.35, 62.11, 100.84°)
OKLaboklab(91.28% -0.036 0.1415)
OKLCHoklch(91.28% 0.146 104.3)
XYZxyz(67.7976, 77.0720, 24.9380)
Luminance0.7707 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E76A #6A75F2
analogous
#F2A36A #F2E76A #B9F26A
triadic
#F2E76A #6AF2E7 #E76AF2
tetradic
#F2E76A #6AF2A3 #6A75F2 #F26AB9
square
#F2E76A #6AF2A3 #6A75F2 #F26AB9
split-complementary
#F2E76A #6AB9F2 #A36AF2
monochromatic
#CFC012 #EDDE32 #F2E76A #F7F0A2 #FCF9DB

Accessibility & contrast

On white

1.28
#F2E76A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.41
#F2E76A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E76A
16.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E76A#FFFFFF#000000##000000
##F2E76A1.001.2816.4116.41
#FFFFFF1.281.0021.0021.00
#00000016.4121.001.001.00
##00000016.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9E05D
Deuteranopia (green-blind)
#FDE670
Tritanopia (blue-blind)
#FFD9CB
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #f2e76a;
/* rgb */ color: rgb(242, 231, 106);
/* oklch */ color: oklch(91.3% 0.146 104.3);
Tailwind
colors: {
  custom: {
    50: '#f9ee98',
    500: '#f2e76a',
    950: '#000000',
  },
}
SCSS
$custom: #f2e76a;
$custom-light: #f9ee98;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e76a",
  "rgb": {
    "r": 242,
    "g": 231,
    "b": 106
  },
  "hsl": {
    "h": 55.147,
    "s": 83.951,
    "l": 68.235
  },
  "oklch": {
    "l": 0.91282,
    "c": 0.14599,
    "h": 104.3
  },
  "luminance": 0.7707
}

Semantic roles & 50–950 ramp

primary
#F2E76A
secondary
#3642CB
accent
#17E005
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F2E76A

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

Preview Lab → · Contrast checker → · Palette generator →

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