#F2EB78#F2EB78

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

Color values

HEX#F2EB78
RGBrgb(242, 235, 120)
HSLhsl(57, 82%, 71%)
HSVhsv(57, 50%, 95%)
CMYKcmyk(0%, 2.9%, 50.4%, 5.1%)
CIE-LABlab(91.53, -12.56, 56.03)
CIE-LCHlch(91.53, 57.42, 102.63°)
OKLaboklab(92.26% -0.037 0.1322)
OKLCHoklch(92.26% 0.137 105.6)
XYZxyz(69.7183, 79.6520, 29.4675)
Luminance0.7965 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EB78 #787FF2
analogous
#F2AE78 #F2EB78 #BCF278
triadic
#F2EB78 #78F2EB #EB78F2
tetradic
#F2EB78 #78F2AE #787FF2 #F278BC
square
#F2EB78 #78F2AE #787FF2 #F278BC
split-complementary
#F2EB78 #78BCF2 #AE78F2
monochromatic
#DBCF15 #EDE340 #F2EB78 #F7F3B0 #FCFBE3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F2EB78#FFFFFF#000000##000000
##F2EB781.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)
#FCE46D
Deuteranopia (green-blind)
#FFE97E
Tritanopia (blue-blind)
#FFDED1
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #f2eb78;
/* rgb */ color: rgb(242, 235, 120);
/* oklch */ color: oklch(92.3% 0.137 105.6);
Tailwind
colors: {
  custom: {
    50: '#f8f1a2',
    500: '#f2eb78',
    950: '#000000',
  },
}
SCSS
$custom: #f2eb78;
$custom-light: #f8f1a2;
$custom-dark: #000000;
JSON
{
  "hex": "#f2eb78",
  "rgb": {
    "r": 242,
    "g": 235,
    "b": 120
  },
  "hsl": {
    "h": 56.557,
    "s": 82.432,
    "l": 70.98
  },
  "oklch": {
    "l": 0.92261,
    "c": 0.13725,
    "h": 105.6
  },
  "luminance": 0.7965
}

Semantic roles & 50–950 ramp

primary
#F2EB78
secondary
#424ACC
accent
#13DF07
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160F
muted
#868580

Preview Lab

Preview with #F2EB78

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

Preview Lab → · Contrast checker → · Palette generator →

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