#F2E75D#F2E75D

#F2E75D is a very light, vivid yellow. Relative luminance 0.768; OKLCH L 91.2% C 0.157 H 104.8°. Best body text is #000000 at 16.36:1 contrast (WCAG AA passes).

Color values

HEX#F2E75D
RGBrgb(242, 231, 93)
HSLhsl(56, 85%, 66%)
HSVhsv(56, 62%, 95%)
CMYKcmyk(0%, 4.5%, 61.6%, 5.1%)
CIE-LABlab(90.24, -12.56, 66.45)
CIE-LCHlch(90.24, 67.63, 100.70°)
OKLaboklab(91.15% -0.0399 0.1515)
OKLCHoklch(91.15% 0.157 104.8)
XYZxyz(67.1721, 76.8218, 21.6436)
Luminance0.7682 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E75D #5D68F2
analogous
#F29C5D #F2E75D #B3F25D
triadic
#F2E75D #5DF2E7 #E75DF2
tetradic
#F2E75D #5DF29C #5D68F2 #F25DB3
square
#F2E75D #5DF29C #5D68F2 #F25DB3
split-complementary
#F2E75D #5DB3F2 #9C5DF2
monochromatic
#C5B710 #EDDF24 #F2E75D #F7EF96 #FBF8CE

Accessibility & contrast

On white

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

On black

16.36
#F2E75D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E75D
16.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E75D#FFFFFF#000000##000000
##F2E75D1.001.2816.3616.36
#FFFFFF1.281.0021.0021.00
#00000016.3621.001.001.00
##00000016.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FADF4D
Deuteranopia (green-blind)
#FEE665
Tritanopia (blue-blind)
#FFD9CA
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #f2e75d;
/* rgb */ color: rgb(242, 231, 93);
/* oklch */ color: oklch(91.2% 0.157 104.8);
Tailwind
colors: {
  custom: {
    50: '#faee91',
    500: '#f2e75d',
    950: '#000000',
  },
}
SCSS
$custom: #f2e75d;
$custom-light: #faee91;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e75d",
  "rgb": {
    "r": 242,
    "g": 231,
    "b": 93
  },
  "hsl": {
    "h": 55.57,
    "s": 85.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.91153,
    "c": 0.15661,
    "h": 104.8
  },
  "luminance": 0.76819
}

Semantic roles & 50–950 ramp

primary
#F2E75D
secondary
#313CC2
accent
#14E204
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #F2E75D

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

Preview Lab → · Contrast checker → · Palette generator →

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