#F2EB7A#F2EB7A

#F2EB7A is a very light, vivid yellow. Relative luminance 0.797; OKLCH L 92.3% C 0.135 H 105.6°. Best body text is #000000 at 16.94:1 contrast (WCAG AA passes).

Color values

HEX#F2EB7A
RGBrgb(242, 235, 122)
HSLhsl(57, 82%, 71%)
HSVhsv(57, 50%, 95%)
CMYKcmyk(0%, 2.9%, 49.6%, 5.1%)
CIE-LABlab(91.55, -12.39, 55.13)
CIE-LCHlch(91.55, 56.50, 102.67°)
OKLaboklab(92.29% -0.0363 0.1304)
OKLCHoklch(92.29% 0.135 105.6)
XYZxyz(69.8409, 79.7011, 30.1134)
Luminance0.7970 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EB7A #7A81F2
analogous
#F2AF7A #F2EB7A #BDF27A
triadic
#F2EB7A #7AF2EB #EB7AF2
tetradic
#F2EB7A #7AF2AF #7A81F2 #F27ABD
square
#F2EB7A #7AF2AF #7A81F2 #F27ABD
split-complementary
#F2EB7A #7ABDF2 #AF7AF2
monochromatic
#DCD116 #EDE342 #F2EB7A #F7F3B2 #FCFBE3

Accessibility & contrast

On white

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

On black

16.94
#F2EB7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EB7A
16.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EB7A#FFFFFF#000000##000000
##F2EB7A1.001.2416.9416.94
#FFFFFF1.241.0021.0021.00
#00000016.9421.001.001.00
##00000016.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE470
Deuteranopia (green-blind)
#FFE97F
Tritanopia (blue-blind)
#FFDED1
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #f2eb7a;
/* rgb */ color: rgb(242, 235, 122);
/* oklch */ color: oklch(92.3% 0.135 105.6);
Tailwind
colors: {
  custom: {
    50: '#f8f1a3',
    500: '#f2eb7a',
    950: '#000000',
  },
}
SCSS
$custom: #f2eb7a;
$custom-light: #f8f1a3;
$custom-dark: #000000;
JSON
{
  "hex": "#f2eb7a",
  "rgb": {
    "r": 242,
    "g": 235,
    "b": 122
  },
  "hsl": {
    "h": 56.5,
    "s": 82.192,
    "l": 71.373
  },
  "oklch": {
    "l": 0.92286,
    "c": 0.13535,
    "h": 105.6
  },
  "luminance": 0.79699
}

Semantic roles & 50–950 ramp

primary
#F2EB7A
secondary
#444CCD
accent
#13DF07
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18160F
muted
#868580

Preview Lab

Preview with #F2EB7A

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

Preview Lab → · Contrast checker → · Palette generator →

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