#F2EB7E#F2EB7E

#F2EB7E is a very light, vivid yellow. Relative luminance 0.798; OKLCH L 92.3% C 0.131 H 105.4°. Best body text is #000000 at 16.96:1 contrast (WCAG AA passes).

Color values

HEX#F2EB7E
RGBrgb(242, 235, 126)
HSLhsl(56, 82%, 72%)
HSVhsv(56, 48%, 95%)
CMYKcmyk(0%, 2.9%, 47.9%, 5.1%)
CIE-LABlab(91.60, -12.04, 53.31)
CIE-LCHlch(91.60, 54.65, 102.73°)
OKLaboklab(92.34% -0.0349 0.1267)
OKLCHoklch(92.34% 0.131 105.4)
XYZxyz(70.0939, 79.8022, 31.4457)
Luminance0.7980 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EB7E #7E85F2
analogous
#F2B17E #F2EB7E #BFF27E
triadic
#F2EB7E #7EF2EB #EB7EF2
tetradic
#F2EB7E #7EF2B1 #7E85F2 #F27EBF
square
#F2EB7E #7EF2B1 #7E85F2 #F27EBF
split-complementary
#F2EB7E #7EBFF2 #B17EF2
monochromatic
#DFD316 #ECE246 #F2EB7E #F8F4B6 #FCFBE3

Accessibility & contrast

On white

1.24
#F2EB7E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.96
#F2EB7E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EB7E
16.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EB7E#FFFFFF#000000##000000
##F2EB7E1.001.2416.9616.96
#FFFFFF1.241.0021.0021.00
#00000016.9621.001.001.00
##00000016.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE474
Deuteranopia (green-blind)
#FEE983
Tritanopia (blue-blind)
#FFDFD2
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #f2eb7e;
/* rgb */ color: rgb(242, 235, 126);
/* oklch */ color: oklch(92.3% 0.131 105.4);
Tailwind
colors: {
  custom: {
    50: '#f8f1a6',
    500: '#f2eb7e',
    950: '#000000',
  },
}
SCSS
$custom: #f2eb7e;
$custom-light: #f8f1a6;
$custom-dark: #000000;
JSON
{
  "hex": "#f2eb7e",
  "rgb": {
    "r": 242,
    "g": 235,
    "b": 126
  },
  "hsl": {
    "h": 56.379,
    "s": 81.69,
    "l": 72.157
  },
  "oklch": {
    "l": 0.92337,
    "c": 0.13146,
    "h": 105.4
  },
  "luminance": 0.798
}

Semantic roles & 50–950 ramp

primary
#F2EB7E
secondary
#474FCD
accent
#14DE07
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#17160F
muted
#858580

Preview Lab

Preview with #F2EB7E

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

Preview Lab → · Contrast checker → · Palette generator →

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