#F2E76B#F2E76B

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

Color values

HEX#F2E76B
RGBrgb(242, 231, 107)
HSLhsl(55, 84%, 68%)
HSVhsv(55, 56%, 95%)
CMYKcmyk(0%, 4.5%, 55.8%, 5.1%)
CIE-LABlab(90.36, -11.60, 60.57)
CIE-LCHlch(90.36, 61.67, 100.85°)
OKLaboklab(91.29% -0.0356 0.1407)
OKLCHoklch(91.29% 0.145 104.2)
XYZxyz(67.8499, 77.0929, 25.2134)
Luminance0.7709 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E76B #6B76F2
analogous
#F2A36B #F2E76B #B9F26B
triadic
#F2E76B #6BF2E7 #E76BF2
tetradic
#F2E76B #6BF2A3 #6B76F2 #F26BB9
square
#F2E76B #6BF2A3 #6B76F2 #F26BB9
split-complementary
#F2E76B #6BB9F2 #A36BF2
monochromatic
#D0C112 #EDDE33 #F2E76B #F7F0A3 #FCF9DC

Accessibility & contrast

On white

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

On black

16.42
#F2E76B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E76B
16.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E76B#FFFFFF#000000##000000
##F2E76B1.001.2816.4216.42
#FFFFFF1.281.0021.0021.00
#00000016.4221.001.001.00
##00000016.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9E05E
Deuteranopia (green-blind)
#FDE671
Tritanopia (blue-blind)
#FFD9CC
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #f2e76b;
/* rgb */ color: rgb(242, 231, 107);
/* oklch */ color: oklch(91.3% 0.145 104.2);
Tailwind
colors: {
  custom: {
    50: '#f9ee99',
    500: '#f2e76b',
    950: '#000000',
  },
}
SCSS
$custom: #f2e76b;
$custom-light: #f9ee99;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e76b",
  "rgb": {
    "r": 242,
    "g": 231,
    "b": 107
  },
  "hsl": {
    "h": 55.111,
    "s": 83.851,
    "l": 68.431
  },
  "oklch": {
    "l": 0.91293,
    "c": 0.14513,
    "h": 104.2
  },
  "luminance": 0.77091
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F2E76B

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

Preview Lab → · Contrast checker → · Palette generator →

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