#F2E780#F2E780

#F2E780 is a very light, vivid yellow. Relative luminance 0.776; OKLCH L 91.5% C 0.125 H 103.1°. Best body text is #000000 at 16.52:1 contrast (WCAG AA passes).

Color values

HEX#F2E780
RGBrgb(242, 231, 128)
HSLhsl(54, 81%, 73%)
HSVhsv(54, 47%, 95%)
CMYKcmyk(0%, 4.5%, 47.1%, 5.1%)
CIE-LABlab(90.59, -9.88, 51.15)
CIE-LCHlch(90.59, 52.09, 100.93°)
OKLaboklab(91.55% -0.0285 0.1221)
OKLCHoklch(91.55% 0.125 103.1)
XYZxyz(69.0919, 77.5897, 31.7547)
Luminance0.7759 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E780 #808BF2
analogous
#F2AE80 #F2E780 #C4F280
triadic
#F2E780 #80F2E7 #E780F2
tetradic
#F2E780 #80F2AE #808BF2 #F280C4
square
#F2E780 #80F2AE #808BF2 #F280C4
split-complementary
#F2E780 #80C4F2 #AE80F2
monochromatic
#E1CD17 #ECDD48 #F2E780 #F8F1B8 #FCFAE3

Accessibility & contrast

On white

1.27
#F2E780 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.52
#F2E780 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E780
16.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E780#FFFFFF#000000##000000
##F2E7801.001.2716.5216.52
#FFFFFF1.271.0021.0021.00
#00000016.5221.001.001.00
##00000016.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7E177
Deuteranopia (green-blind)
#FBE785
Tritanopia (blue-blind)
#FFDBCF
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #f2e780;
/* rgb */ color: rgb(242, 231, 128);
/* oklch */ color: oklch(91.5% 0.125 103.1);
Tailwind
colors: {
  custom: {
    50: '#f8eea7',
    500: '#f2e780',
    950: '#000000',
  },
}
SCSS
$custom: #f2e780;
$custom-light: #f8eea7;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e780",
  "rgb": {
    "r": 242,
    "g": 231,
    "b": 128
  },
  "hsl": {
    "h": 54.211,
    "s": 81.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.91548,
    "c": 0.12541,
    "h": 103.1
  },
  "luminance": 0.77588
}

Semantic roles & 50–950 ramp

primary
#F2E780
secondary
#4956CD
accent
#1CDE08
background
#FFFEFC
surface
#FFFDF6
border
#D7D5D0
text
#171610
muted
#858480

Preview Lab

Preview with #F2E780

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

Preview Lab → · Contrast checker → · Palette generator →

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