#F2EB73#F2EB73

#F2EB73 is a very light, vivid yellow. Relative luminance 0.795; OKLCH L 92.2% C 0.142 H 105.8°. Best body text is #000000 at 16.91:1 contrast (WCAG AA passes).

Color values

HEX#F2EB73
RGBrgb(242, 235, 115)
HSLhsl(57, 83%, 70%)
HSVhsv(57, 52%, 95%)
CMYKcmyk(0%, 2.9%, 52.5%, 5.1%)
CIE-LABlab(91.48, -12.97, 58.25)
CIE-LCHlch(91.48, 59.68, 102.55°)
OKLaboklab(92.2% -0.0387 0.1365)
OKLCHoklch(92.2% 0.142 105.8)
XYZxyz(69.4227, 79.5338, 27.9109)
Luminance0.7953 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EB73 #737AF2
analogous
#F2AC73 #F2EB73 #B9F273
triadic
#F2EB73 #73F2EB #EB73F2
tetradic
#F2EB73 #73F2AC #737AF2 #F273B9
square
#F2EB73 #73F2AC #737AF2 #F273B9
split-complementary
#F2EB73 #73B9F2 #AC73F2
monochromatic
#D7CC14 #EDE33B #F2EB73 #F7F3AB #FCFBE3

Accessibility & contrast

On white

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

On black

16.91
#F2EB73 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EB73
16.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EB73#FFFFFF#000000##000000
##F2EB731.001.2416.9116.91
#FFFFFF1.241.0021.0021.00
#00000016.9121.001.001.00
##00000016.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE367
Deuteranopia (green-blind)
#FFE979
Tritanopia (blue-blind)
#FFDED0
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #f2eb73;
/* rgb */ color: rgb(242, 235, 115);
/* oklch */ color: oklch(92.2% 0.142 105.8);
Tailwind
colors: {
  custom: {
    50: '#f9f19e',
    500: '#f2eb73',
    950: '#000000',
  },
}
SCSS
$custom: #f2eb73;
$custom-light: #f9f19e;
$custom-dark: #000000;
JSON
{
  "hex": "#f2eb73",
  "rgb": {
    "r": 242,
    "g": 235,
    "b": 115
  },
  "hsl": {
    "h": 56.693,
    "s": 83.007,
    "l": 70
  },
  "oklch": {
    "l": 0.92202,
    "c": 0.14191,
    "h": 105.8
  },
  "luminance": 0.79532
}

Semantic roles & 50–950 ramp

primary
#F2EB73
secondary
#3D45CC
accent
#12DF06
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160F
muted
#868580

Preview Lab

Preview with #F2EB73

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

Preview Lab → · Contrast checker → · Palette generator →

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