#F2E16A#F2E16A

#F2E16A is a very light, vivid yellow. Relative luminance 0.738; OKLCH L 90.1% C 0.140 H 101.3°. Best body text is #000000 at 15.75:1 contrast (WCAG AA passes).

Color values

HEX#F2E16A
RGBrgb(242, 225, 106)
HSLhsl(53, 84%, 68%)
HSVhsv(53, 56%, 95%)
CMYKcmyk(0%, 7%, 56.2%, 5.1%)
CIE-LABlab(88.81, -8.69, 59.25)
CIE-LCHlch(88.81, 59.89, 98.35°)
OKLaboklab(90.06% -0.0274 0.1377)
OKLCHoklch(90.06% 0.14 101.3)
XYZxyz(66.1470, 73.7708, 24.3878)
Luminance0.7377 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E16A #6A7BF2
analogous
#F29D6A #F2E16A #BFF26A
triadic
#F2E16A #6AF2E1 #E16AF2
tetradic
#F2E16A #6AF29D #6A7BF2 #F26ABF
square
#F2E16A #6AF29D #6A7BF2 #F26ABF
split-complementary
#F2E16A #6ABFF2 #9D6AF2
monochromatic
#CFB812 #EDD632 #F2E16A #F7ECA2 #FCF8DB

Accessibility & contrast

On white

1.33
#F2E16A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.75
#F2E16A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E16A
15.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E16A#FFFFFF#000000##000000
##F2E16A1.001.3315.7515.75
#FFFFFF1.331.0021.0021.00
#00000015.7521.001.001.00
##00000015.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DB5E
Deuteranopia (green-blind)
#F8E270
Tritanopia (blue-blind)
#FFD3C7
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #f2e16a;
/* rgb */ color: rgb(242, 225, 106);
/* oklch */ color: oklch(90.1% 0.140 101.3);
Tailwind
colors: {
  custom: {
    50: '#f9ea98',
    500: '#f2e16a',
    950: '#000000',
  },
}
SCSS
$custom: #f2e16a;
$custom-light: #f9ea98;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e16a",
  "rgb": {
    "r": 242,
    "g": 225,
    "b": 106
  },
  "hsl": {
    "h": 52.5,
    "s": 83.951,
    "l": 68.235
  },
  "oklch": {
    "l": 0.90058,
    "c": 0.14044,
    "h": 101.3
  },
  "luminance": 0.73768
}

Semantic roles & 50–950 ramp

primary
#F2E16A
secondary
#3648CB
accent
#21E005
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F2E16A

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

Preview Lab → · Contrast checker → · Palette generator →

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