#F2E677#F2E677

#F2E677 is a very light, vivid yellow. Relative luminance 0.768; OKLCH L 91.2% C 0.133 H 103.1°. Best body text is #000000 at 16.36:1 contrast (WCAG AA passes).

Color values

HEX#F2E677
RGBrgb(242, 230, 119)
HSLhsl(54, 83%, 71%)
HSVhsv(54, 51%, 95%)
CMYKcmyk(0%, 5%, 50.8%, 5.1%)
CIE-LABlab(90.23, -10.16, 54.96)
CIE-LCHlch(90.23, 55.89, 100.48°)
OKLaboklab(91.23% -0.0303 0.1297)
OKLCHoklch(91.23% 0.133 103.1)
XYZxyz(68.2465, 76.8050, 28.6791)
Luminance0.7680 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E677 #7783F2
analogous
#F2A877 #F2E677 #C0F277
triadic
#F2E677 #77F2E6 #E677F2
tetradic
#F2E677 #77F2A8 #7783F2 #F277C0
square
#F2E677 #77F2A8 #7783F2 #F277C0
split-complementary
#F2E677 #77C0F2 #A877F2
monochromatic
#DAC715 #EDDC3F #F2E677 #F7F0AF #FCFAE3

Accessibility & contrast

On white

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

On black

16.36
#F2E677 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E677
16.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E677#FFFFFF#000000##000000
##F2E6771.001.2816.3616.36
#FFFFFF1.281.0021.0021.00
#00000016.3621.001.001.00
##00000016.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7E06D
Deuteranopia (green-blind)
#FBE67C
Tritanopia (blue-blind)
#FFD9CD
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #f2e677;
/* rgb */ color: rgb(242, 230, 119);
/* oklch */ color: oklch(91.2% 0.133 103.1);
Tailwind
colors: {
  custom: {
    50: '#f9eda1',
    500: '#f2e677',
    950: '#000000',
  },
}
SCSS
$custom: #f2e677;
$custom-light: #f9eda1;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e677",
  "rgb": {
    "r": 242,
    "g": 230,
    "b": 119
  },
  "hsl": {
    "h": 54.146,
    "s": 82.55,
    "l": 70.784
  },
  "oklch": {
    "l": 0.91228,
    "c": 0.13322,
    "h": 103.1
  },
  "luminance": 0.76803
}

Semantic roles & 50–950 ramp

primary
#F2E677
secondary
#414FCC
accent
#1CDF07
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F2E677

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

Preview Lab → · Contrast checker → · Palette generator →

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