#F2EB77#F2EB77

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

Color values

HEX#F2EB77
RGBrgb(242, 235, 119)
HSLhsl(57, 83%, 71%)
HSVhsv(57, 51%, 95%)
CMYKcmyk(0%, 2.9%, 50.8%, 5.1%)
CIE-LABlab(91.52, -12.64, 56.48)
CIE-LCHlch(91.52, 57.87, 102.62°)
OKLaboklab(92.25% -0.0374 0.1331)
OKLCHoklch(92.25% 0.138 105.7)
XYZxyz(69.6579, 79.6279, 29.1495)
Luminance0.7963 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EB77 #777EF2
analogous
#F2AD77 #F2EB77 #BBF277
triadic
#F2EB77 #77F2EB #EB77F2
tetradic
#F2EB77 #77F2AD #777EF2 #F277BB
square
#F2EB77 #77F2AD #777EF2 #F277BB
split-complementary
#F2EB77 #77BBF2 #AD77F2
monochromatic
#DACF15 #EDE33F #F2EB77 #F7F3AF #FCFBE3

Accessibility & contrast

On white

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

On black

16.93
#F2EB77 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EB77
16.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EB77#FFFFFF#000000##000000
##F2EB771.001.2416.9316.93
#FFFFFF1.241.0021.0021.00
#00000016.9321.001.001.00
##00000016.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE46C
Deuteranopia (green-blind)
#FFE97D
Tritanopia (blue-blind)
#FFDED1
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #f2eb77;
/* rgb */ color: rgb(242, 235, 119);
/* oklch */ color: oklch(92.2% 0.138 105.7);
Tailwind
colors: {
  custom: {
    50: '#f9f1a1',
    500: '#f2eb77',
    950: '#000000',
  },
}
SCSS
$custom: #f2eb77;
$custom-light: #f9f1a1;
$custom-dark: #000000;
JSON
{
  "hex": "#f2eb77",
  "rgb": {
    "r": 242,
    "g": 235,
    "b": 119
  },
  "hsl": {
    "h": 56.585,
    "s": 82.55,
    "l": 70.784
  },
  "oklch": {
    "l": 0.92249,
    "c": 0.1382,
    "h": 105.7
  },
  "luminance": 0.79626
}

Semantic roles & 50–950 ramp

primary
#F2EB77
secondary
#4149CC
accent
#13DF07
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160F
muted
#868580

Preview Lab

Preview with #F2EB77

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

Preview Lab → · Contrast checker → · Palette generator →

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