#F2EB76#F2EB76

#F2EB76 is a very light, vivid yellow. Relative luminance 0.796; OKLCH L 92.2% C 0.139 H 105.7°. Best body text is #000000 at 16.92:1 contrast (WCAG AA passes).

Color values

HEX#F2EB76
RGBrgb(242, 235, 118)
HSLhsl(57, 83%, 71%)
HSVhsv(57, 51%, 95%)
CMYKcmyk(0%, 2.9%, 51.2%, 5.1%)
CIE-LABlab(91.51, -12.72, 56.92)
CIE-LCHlch(91.51, 58.33, 102.60°)
OKLaboklab(92.24% -0.0377 0.1339)
OKLCHoklch(92.24% 0.139 105.7)
XYZxyz(69.5982, 79.6040, 28.8349)
Luminance0.7960 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EB76 #767DF2
analogous
#F2AD76 #F2EB76 #BBF276
triadic
#F2EB76 #76F2EB #EB76F2
tetradic
#F2EB76 #76F2AD #767DF2 #F276BB
square
#F2EB76 #76F2AD #767DF2 #F276BB
split-complementary
#F2EB76 #76BBF2 #AD76F2
monochromatic
#D9CE15 #EDE33E #F2EB76 #F7F3AE #FCFBE3

Accessibility & contrast

On white

1.24
#F2EB76 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.92
#F2EB76 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EB76
16.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EB76#FFFFFF#000000##000000
##F2EB761.001.2416.9216.92
#FFFFFF1.241.0021.0021.00
#00000016.9221.001.001.00
##00000016.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE46B
Deuteranopia (green-blind)
#FFE97C
Tritanopia (blue-blind)
#FFDED0
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #f2eb76;
/* rgb */ color: rgb(242, 235, 118);
/* oklch */ color: oklch(92.2% 0.139 105.7);
Tailwind
colors: {
  custom: {
    50: '#f9f1a0',
    500: '#f2eb76',
    950: '#000000',
  },
}
SCSS
$custom: #f2eb76;
$custom-light: #f9f1a0;
$custom-dark: #000000;
JSON
{
  "hex": "#f2eb76",
  "rgb": {
    "r": 242,
    "g": 235,
    "b": 118
  },
  "hsl": {
    "h": 56.613,
    "s": 82.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.92237,
    "c": 0.13913,
    "h": 105.7
  },
  "luminance": 0.79602
}

Semantic roles & 50–950 ramp

primary
#F2EB76
secondary
#4048CC
accent
#13DF06
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160F
muted
#868580

Preview Lab

Preview with #F2EB76

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

Preview Lab → · Contrast checker → · Palette generator →

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