#F2E167#F2E167

#F2E167 is a very light, vivid yellow. Relative luminance 0.737; OKLCH L 90.0% C 0.143 H 101.4°. Best body text is #000000 at 15.74:1 contrast (WCAG AA passes).

Color values

HEX#F2E167
RGBrgb(242, 225, 103)
HSLhsl(53, 84%, 68%)
HSVhsv(53, 57%, 95%)
CMYKcmyk(0%, 7%, 57.4%, 5.1%)
CIE-LABlab(88.78, -8.91, 60.56)
CIE-LCHlch(88.78, 61.21, 98.37°)
OKLaboklab(90.03% -0.0284 0.1402)
OKLCHoklch(90.03% 0.143 101.4)
XYZxyz(65.9937, 73.7095, 23.5805)
Luminance0.7371 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E167 #6778F2
analogous
#F29C67 #F2E167 #BDF267
triadic
#F2E167 #67F2E1 #E167F2
tetradic
#F2E167 #67F29C #6778F2 #F267BD
square
#F2E167 #67F29C #6778F2 #F267BD
split-complementary
#F2E167 #67BDF2 #9C67F2
monochromatic
#CDB612 #EDD62F #F2E167 #F7EC9F #FCF7D8

Accessibility & contrast

On white

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

On black

15.74
#F2E167 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E167
15.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E167#FFFFFF#000000##000000
##F2E1671.001.3315.7415.74
#FFFFFF1.331.0021.0021.00
#00000015.7421.001.001.00
##00000015.7421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2e167;
/* rgb */ color: rgb(242, 225, 103);
/* oklch */ color: oklch(90.0% 0.143 101.4);
Tailwind
colors: {
  custom: {
    50: '#f9ea96',
    500: '#f2e167',
    950: '#000000',
  },
}
SCSS
$custom: #f2e167;
$custom-light: #f9ea96;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e167",
  "rgb": {
    "r": 242,
    "g": 225,
    "b": 103
  },
  "hsl": {
    "h": 52.662,
    "s": 84.242,
    "l": 67.647
  },
  "oklch": {
    "l": 0.90026,
    "c": 0.14303,
    "h": 101.4
  },
  "luminance": 0.73707
}

Semantic roles & 50–950 ramp

primary
#F2E167
secondary
#3446C9
accent
#20E105
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F2E167

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

Preview Lab → · Contrast checker → · Palette generator →

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