#F2EB74#F2EB74

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

Color values

HEX#F2EB74
RGBrgb(242, 235, 116)
HSLhsl(57, 83%, 70%)
HSVhsv(57, 52%, 95%)
CMYKcmyk(0%, 2.9%, 52.1%, 5.1%)
CIE-LABlab(91.49, -12.89, 57.81)
CIE-LCHlch(91.49, 59.23, 102.57°)
OKLaboklab(92.21% -0.0384 0.1357)
OKLCHoklch(92.21% 0.141 105.8)
XYZxyz(69.4806, 79.5569, 28.2156)
Luminance0.7955 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EB74 #747BF2
analogous
#F2AC74 #F2EB74 #BAF274
triadic
#F2EB74 #74F2EB #EB74F2
tetradic
#F2EB74 #74F2AC #747BF2 #F274BA
square
#F2EB74 #74F2AC #747BF2 #F274BA
split-complementary
#F2EB74 #74BAF2 #AC74F2
monochromatic
#D7CD14 #EDE33C #F2EB74 #F7F3AC #FCFBE3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F2EB74#FFFFFF#000000##000000
##F2EB741.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)
#FCE469
Deuteranopia (green-blind)
#FFE97A
Tritanopia (blue-blind)
#FFDED0
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #f2eb74;
/* rgb */ color: rgb(242, 235, 116);
/* oklch */ color: oklch(92.2% 0.141 105.8);
Tailwind
colors: {
  custom: {
    50: '#f9f19f',
    500: '#f2eb74',
    950: '#000000',
  },
}
SCSS
$custom: #f2eb74;
$custom-light: #f9f19f;
$custom-dark: #000000;
JSON
{
  "hex": "#f2eb74",
  "rgb": {
    "r": 242,
    "g": 235,
    "b": 116
  },
  "hsl": {
    "h": 56.667,
    "s": 82.895,
    "l": 70.196
  },
  "oklch": {
    "l": 0.92214,
    "c": 0.14099,
    "h": 105.8
  },
  "luminance": 0.79555
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F2EB74

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

Preview Lab → · Contrast checker → · Palette generator →

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