#F2E164#F2E164

#F2E164 is a very light, vivid yellow. Relative luminance 0.736; OKLCH L 90.0% C 0.146 H 101.6°. Best body text is #000000 at 15.73:1 contrast (WCAG AA passes).

Color values

HEX#F2E164
RGBrgb(242, 225, 100)
HSLhsl(53, 85%, 67%)
HSVhsv(53, 59%, 95%)
CMYKcmyk(0%, 7%, 58.7%, 5.1%)
CIE-LABlab(88.76, -9.12, 61.85)
CIE-LCHlch(88.76, 62.52, 98.39°)
OKLaboklab(90% -0.0293 0.1426)
OKLCHoklch(90% 0.146 101.6)
XYZxyz(65.8458, 73.6503, 22.8016)
Luminance0.7365 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E164 #6475F2
analogous
#F29A64 #F2E164 #BCF264
triadic
#F2E164 #64F2E1 #E164F2
tetradic
#F2E164 #64F29A #6475F2 #F264BC
square
#F2E164 #64F29A #6475F2 #F264BC
split-complementary
#F2E164 #64BCF2 #9A64F2
monochromatic
#CBB411 #EDD62C #F2E164 #F7EC9C #FBF7D5

Accessibility & contrast

On white

1.34
#F2E164 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.73
#F2E164 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E164
15.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E164#FFFFFF#000000##000000
##F2E1641.001.3415.7315.73
#FFFFFF1.341.0021.0021.00
#00000015.7321.001.001.00
##00000015.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DB57
Deuteranopia (green-blind)
#F9E26A
Tritanopia (blue-blind)
#FFD3C6
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #f2e164;
/* rgb */ color: rgb(242, 225, 100);
/* oklch */ color: oklch(90.0% 0.146 101.6);
Tailwind
colors: {
  custom: {
    50: '#f9ea94',
    500: '#f2e164',
    950: '#000000',
  },
}
SCSS
$custom: #f2e164;
$custom-light: #f9ea94;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e164",
  "rgb": {
    "r": 242,
    "g": 225,
    "b": 100
  },
  "hsl": {
    "h": 52.817,
    "s": 84.524,
    "l": 67.059
  },
  "oklch": {
    "l": 0.89995,
    "c": 0.14556,
    "h": 101.6
  },
  "luminance": 0.73648
}

Semantic roles & 50–950 ramp

primary
#F2E164
secondary
#3345C7
accent
#1FE105
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160D
muted
#86847F

Preview Lab

Preview with #F2E164

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

Preview Lab → · Contrast checker → · Palette generator →

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