#F2E477#F2E477

#F2E477 is a very light, vivid yellow. Relative luminance 0.757; OKLCH L 90.8% C 0.131 H 102.0°. Best body text is #000000 at 16.14:1 contrast (WCAG AA passes).

Color values

HEX#F2E477
RGBrgb(242, 228, 119)
HSLhsl(53, 83%, 71%)
HSVhsv(53, 51%, 95%)
CMYKcmyk(0%, 5.8%, 50.8%, 5.1%)
CIE-LABlab(89.72, -9.17, 54.35)
CIE-LCHlch(89.72, 55.11, 99.58°)
OKLaboklab(90.82% -0.0274 0.1284)
OKLCHoklch(90.82% 0.131 102)
XYZxyz(67.6931, 75.6983, 28.4946)
Luminance0.7570 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E477 #7785F2
analogous
#F2A677 #F2E477 #C2F277
triadic
#F2E477 #77F2E4 #E477F2
tetradic
#F2E477 #77F2A6 #7785F2 #F277C2
square
#F2E477 #77F2A6 #7785F2 #F277C2
split-complementary
#F2E477 #77C2F2 #A677F2
monochromatic
#DAC315 #EDD93F #F2E477 #F7EFAF #FCF9E3

Accessibility & contrast

On white

1.30
#F2E477 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.14
#F2E477 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E477
16.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E477#FFFFFF#000000##000000
##F2E4771.001.3016.1416.14
#FFFFFF1.301.0021.0021.00
#00000016.1421.001.001.00
##00000016.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DE6D
Deuteranopia (green-blind)
#FAE47C
Tritanopia (blue-blind)
#FFD7CB
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #f2e477;
/* rgb */ color: rgb(242, 228, 119);
/* oklch */ color: oklch(90.8% 0.131 102.0);
Tailwind
colors: {
  custom: {
    50: '#f9eca1',
    500: '#f2e477',
    950: '#000000',
  },
}
SCSS
$custom: #f2e477;
$custom-light: #f9eca1;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e477",
  "rgb": {
    "r": 242,
    "g": 228,
    "b": 119
  },
  "hsl": {
    "h": 53.171,
    "s": 82.55,
    "l": 70.784
  },
  "oklch": {
    "l": 0.90821,
    "c": 0.1313,
    "h": 102
  },
  "luminance": 0.75696
}

Semantic roles & 50–950 ramp

primary
#F2E477
secondary
#4151CC
accent
#1FDF07
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F2E477

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

Preview Lab → · Contrast checker → · Palette generator →

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