#F2E975#F2E975

#F2E975 is a very light, vivid yellow. Relative luminance 0.784; OKLCH L 91.8% C 0.138 H 104.8°. Best body text is #000000 at 16.69:1 contrast (WCAG AA passes).

Color values

HEX#F2E975
RGBrgb(242, 233, 117)
HSLhsl(56, 83%, 70%)
HSVhsv(56, 52%, 95%)
CMYKcmyk(0%, 3.7%, 51.7%, 5.1%)
CIE-LABlab(90.98, -11.82, 56.76)
CIE-LCHlch(90.98, 57.98, 101.76°)
OKLaboklab(91.82% -0.0352 0.1335)
OKLCHoklch(91.82% 0.138 104.8)
XYZxyz(68.9697, 78.4416, 28.3338)
Luminance0.7844 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E975 #757EF2
analogous
#F2AA75 #F2E975 #BCF275
triadic
#F2E975 #75F2E9 #E975F2
tetradic
#F2E975 #75F2AA #757EF2 #F275BC
square
#F2E975 #75F2AA #757EF2 #F275BC
split-complementary
#F2E975 #75BCF2 #AA75F2
monochromatic
#D8CA14 #EDE03D #F2E975 #F7F2AD #FCFBE3

Accessibility & contrast

On white

1.26
#F2E975 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.69
#F2E975 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E975
16.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E975#FFFFFF#000000##000000
##F2E9751.001.2616.6916.69
#FFFFFF1.261.0021.0021.00
#00000016.6921.001.001.00
##00000016.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE26A
Deuteranopia (green-blind)
#FEE87B
Tritanopia (blue-blind)
#FFDCCF
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #f2e975;
/* rgb */ color: rgb(242, 233, 117);
/* oklch */ color: oklch(91.8% 0.138 104.8);
Tailwind
colors: {
  custom: {
    50: '#f9efa0',
    500: '#f2e975',
    950: '#000000',
  },
}
SCSS
$custom: #f2e975;
$custom-light: #f9efa0;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e975",
  "rgb": {
    "r": 242,
    "g": 233,
    "b": 117
  },
  "hsl": {
    "h": 55.68,
    "s": 82.781,
    "l": 70.392
  },
  "oklch": {
    "l": 0.91816,
    "c": 0.13805,
    "h": 104.8
  },
  "luminance": 0.78439
}

Semantic roles & 50–950 ramp

primary
#F2E975
secondary
#3F49CC
accent
#16DF06
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160F
muted
#868580

Preview Lab

Preview with #F2E975

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

Preview Lab → · Contrast checker → · Palette generator →

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