#F2E775#F2E775

#F2E775 is a very light, vivid yellow. Relative luminance 0.773; OKLCH L 91.4% C 0.136 H 103.8°. Best body text is #000000 at 16.46:1 contrast (WCAG AA passes).

Color values

HEX#F2E775
RGBrgb(242, 231, 117)
HSLhsl(55, 83%, 70%)
HSVhsv(55, 52%, 95%)
CMYKcmyk(0%, 4.5%, 51.7%, 5.1%)
CIE-LABlab(90.47, -10.83, 56.16)
CIE-LCHlch(90.47, 57.19, 100.91°)
OKLaboklab(91.41% -0.0324 0.1322)
OKLCHoklch(91.41% 0.136 103.8)
XYZxyz(68.4067, 77.3156, 28.1462)
Luminance0.7731 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E775 #7580F2
analogous
#F2A875 #F2E775 #BEF275
triadic
#F2E775 #75F2E7 #E775F2
tetradic
#F2E775 #75F2A8 #7580F2 #F275BE
square
#F2E775 #75F2A8 #7580F2 #F275BE
split-complementary
#F2E775 #75BEF2 #A875F2
monochromatic
#D8C714 #EDDD3D #F2E775 #F7F1AD #FCFAE3

Accessibility & contrast

On white

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

On black

16.46
#F2E775 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E775
16.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E775#FFFFFF#000000##000000
##F2E7751.001.2816.4616.46
#FFFFFF1.281.0021.0021.00
#00000016.4621.001.001.00
##00000016.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E06A
Deuteranopia (green-blind)
#FCE67A
Tritanopia (blue-blind)
#FFDACD
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #f2e775;
/* rgb */ color: rgb(242, 231, 117);
/* oklch */ color: oklch(91.4% 0.136 103.8);
Tailwind
colors: {
  custom: {
    50: '#f9eea0',
    500: '#f2e775',
    950: '#000000',
  },
}
SCSS
$custom: #f2e775;
$custom-light: #f9eea0;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e775",
  "rgb": {
    "r": 242,
    "g": 231,
    "b": 117
  },
  "hsl": {
    "h": 54.72,
    "s": 82.781,
    "l": 70.392
  },
  "oklch": {
    "l": 0.91407,
    "c": 0.13608,
    "h": 103.8
  },
  "luminance": 0.77313
}

Semantic roles & 50–950 ramp

primary
#F2E775
secondary
#3F4CCC
accent
#19DF06
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F2E775

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

Preview Lab → · Contrast checker → · Palette generator →

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