#F2E77A#F2E77A

#F2E77A is a very light, vivid yellow. Relative luminance 0.774; OKLCH L 91.5% C 0.131 H 103.5°. Best body text is #000000 at 16.49:1 contrast (WCAG AA passes).

Color values

HEX#F2E77A
RGBrgb(242, 231, 122)
HSLhsl(55, 82%, 71%)
HSVhsv(55, 50%, 95%)
CMYKcmyk(0%, 4.5%, 49.6%, 5.1%)
CIE-LABlab(90.52, -10.41, 53.90)
CIE-LCHlch(90.52, 54.90, 100.93°)
OKLaboklab(91.47% -0.0306 0.1277)
OKLCHoklch(91.47% 0.131 103.5)
XYZxyz(68.7086, 77.4364, 29.7360)
Luminance0.7743 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E77A #7A85F2
analogous
#F2AB7A #F2E77A #C1F27A
triadic
#F2E77A #7AF2E7 #E77AF2
tetradic
#F2E77A #7AF2AB #7A85F2 #F27AC1
square
#F2E77A #7AF2AB #7A85F2 #F27AC1
split-complementary
#F2E77A #7AC1F2 #AB7AF2
monochromatic
#DCCA16 #EDDD42 #F2E77A #F7F1B2 #FCFAE3

Accessibility & contrast

On white

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

On black

16.49
#F2E77A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E77A
16.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E77A#FFFFFF#000000##000000
##F2E77A1.001.2716.4916.49
#FFFFFF1.271.0021.0021.00
#00000016.4921.001.001.00
##00000016.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E170
Deuteranopia (green-blind)
#FCE77F
Tritanopia (blue-blind)
#FFDACE
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #f2e77a;
/* rgb */ color: rgb(242, 231, 122);
/* oklch */ color: oklch(91.5% 0.131 103.5);
Tailwind
colors: {
  custom: {
    50: '#f8eea3',
    500: '#f2e77a',
    950: '#000000',
  },
}
SCSS
$custom: #f2e77a;
$custom-light: #f8eea3;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e77a",
  "rgb": {
    "r": 242,
    "g": 231,
    "b": 122
  },
  "hsl": {
    "h": 54.5,
    "s": 82.192,
    "l": 71.373
  },
  "oklch": {
    "l": 0.91469,
    "c": 0.13133,
    "h": 103.5
  },
  "luminance": 0.77434
}

Semantic roles & 50–950 ramp

primary
#F2E77A
secondary
#4450CD
accent
#1BDF07
background
#FFFEFC
surface
#FFFDF6
border
#D7D5D0
text
#18160F
muted
#868480

Preview Lab

Preview with #F2E77A

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

Preview Lab → · Contrast checker → · Palette generator →

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