#F2E377#F2E377

#F2E377 is a very light, vivid yellow. Relative luminance 0.751; OKLCH L 90.6% C 0.130 H 101.5°. Best body text is #000000 at 16.03:1 contrast (WCAG AA passes).

Color values

HEX#F2E377
RGBrgb(242, 227, 119)
HSLhsl(53, 83%, 71%)
HSVhsv(53, 51%, 95%)
CMYKcmyk(0%, 6.2%, 50.8%, 5.1%)
CIE-LABlab(89.46, -8.67, 54.04)
CIE-LCHlch(89.46, 54.73, 99.11°)
OKLaboklab(90.62% -0.026 0.1278)
OKLCHoklch(90.62% 0.13 101.5)
XYZxyz(67.4188, 75.1497, 28.4032)
Luminance0.7515 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E377 #7786F2
analogous
#F2A577 #F2E377 #C3F277
triadic
#F2E377 #77F2E3 #E377F2
tetradic
#F2E377 #77F2A5 #7786F2 #F277C3
square
#F2E377 #77F2A5 #7786F2 #F277C3
split-complementary
#F2E377 #77C3F2 #A577F2
monochromatic
#DAC215 #EDD73F #F2E377 #F7EFAF #FCF9E3

Accessibility & contrast

On white

1.31
#F2E377 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.03
#F2E377 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E377
16.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E377#FFFFFF#000000##000000
##F2E3771.001.3116.0316.03
#FFFFFF1.311.0021.0021.00
#00000016.0321.001.001.00
##00000016.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DD6D
Deuteranopia (green-blind)
#F9E47C
Tritanopia (blue-blind)
#FFD6CA
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #f2e377;
/* rgb */ color: rgb(242, 227, 119);
/* oklch */ color: oklch(90.6% 0.130 101.5);
Tailwind
colors: {
  custom: {
    50: '#f9eba1',
    500: '#f2e377',
    950: '#000000',
  },
}
SCSS
$custom: #f2e377;
$custom-light: #f9eba1;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e377",
  "rgb": {
    "r": 242,
    "g": 227,
    "b": 119
  },
  "hsl": {
    "h": 52.683,
    "s": 82.55,
    "l": 70.784
  },
  "oklch": {
    "l": 0.90618,
    "c": 0.13036,
    "h": 101.5
  },
  "luminance": 0.75147
}

Semantic roles & 50–950 ramp

primary
#F2E377
secondary
#4152CC
accent
#21DF07
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F2E377

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

Preview Lab → · Contrast checker → · Palette generator →

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