#F2E14E#F2E14E

#F2E14E is a very light, vivid yellow. Relative luminance 0.733; OKLCH L 89.8% C 0.162 H 102.6°. Best body text is #000000 at 15.66:1 contrast (WCAG AA passes).

Color values

HEX#F2E14E
RGBrgb(242, 225, 78)
HSLhsl(54, 86%, 63%)
HSVhsv(54, 68%, 95%)
CMYKcmyk(0%, 7%, 67.8%, 5.1%)
CIE-LABlab(88.58, -10.44, 70.69)
CIE-LCHlch(88.58, 71.45, 98.40°)
OKLaboklab(89.8% -0.0355 0.1581)
OKLCHoklch(89.8% 0.162 102.6)
XYZxyz(64.9210, 73.2804, 17.9311)
Luminance0.7328 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E14E #4E5FF2
analogous
#F28F4E #F2E14E #B1F24E
triadic
#F2E14E #4EF2E1 #E14EF2
tetradic
#F2E14E #4EF28F #4E5FF2 #F24EB1
square
#F2E14E #4EF28F #4E5FF2 #F24EB1
split-complementary
#F2E14E #4EB1F2 #8F4EF2
monochromatic
#B8A60E #EED715 #F2E14E #F6EB87 #FAF4C0

Accessibility & contrast

On white

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

On black

15.66
#F2E14E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E14E
15.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E14E#FFFFFF#000000##000000
##F2E14E1.001.3415.6615.66
#FFFFFF1.341.0021.0021.00
#00000015.6621.001.001.00
##00000015.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DA39
Deuteranopia (green-blind)
#FAE257
Tritanopia (blue-blind)
#FFD2C3
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #f2e14e;
/* rgb */ color: rgb(242, 225, 78);
/* oklch */ color: oklch(89.8% 0.162 102.6);
Tailwind
colors: {
  custom: {
    50: '#faea87',
    500: '#f2e14e',
    950: '#000000',
  },
}
SCSS
$custom: #f2e14e;
$custom-light: #faea87;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e14e",
  "rgb": {
    "r": 242,
    "g": 225,
    "b": 78
  },
  "hsl": {
    "h": 53.78,
    "s": 86.316,
    "l": 62.745
  },
  "oklch": {
    "l": 0.89799,
    "c": 0.16206,
    "h": 102.6
  },
  "luminance": 0.73278
}

Semantic roles & 50–950 ramp

primary
#F2E14E
secondary
#2D3BB7
accent
#1AE303
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18160C
muted
#86847F

Preview Lab

Preview with #F2E14E

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

Preview Lab → · Contrast checker → · Palette generator →

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