#F2EF7E#F2EF7E

#F2EF7E is a very light, vivid yellow. Relative luminance 0.821; OKLCH L 93.2% C 0.136 H 107.4°. Best body text is #000000 at 17.42:1 contrast (WCAG AA passes).

Color values

HEX#F2EF7E
RGBrgb(242, 239, 126)
HSLhsl(58, 82%, 72%)
HSVhsv(58, 48%, 95%)
CMYKcmyk(0%, 1.2%, 47.9%, 5.1%)
CIE-LABlab(92.63, -14.01, 54.55)
CIE-LCHlch(92.63, 56.32, 104.40°)
OKLaboklab(93.16% -0.0406 0.1295)
OKLCHoklch(93.16% 0.136 107.4)
XYZxyz(71.2520, 82.1184, 31.8317)
Luminance0.8212 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EF7E #7E81F2
analogous
#F2B57E #F2EF7E #BBF27E
triadic
#F2EF7E #7EF2EF #EF7EF2
tetradic
#F2EF7E #7EF2B5 #7E81F2 #F27EBB
square
#F2EF7E #7EF2B5 #7E81F2 #F27EBB
split-complementary
#F2EF7E #7EBBF2 #B57EF2
monochromatic
#DFDA16 #ECE846 #F2EF7E #F8F6B6 #FCFCE3

Accessibility & contrast

On white

1.21
#F2EF7E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.42
#F2EF7E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EF7E
17.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EF7E#FFFFFF#000000##000000
##F2EF7E1.001.2117.4217.42
#FFFFFF1.211.0021.0021.00
#00000017.4221.001.001.00
##00000017.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE774
Deuteranopia (green-blind)
#FFEC83
Tritanopia (blue-blind)
#FFE3D5
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #f2ef7e;
/* rgb */ color: rgb(242, 239, 126);
/* oklch */ color: oklch(93.2% 0.136 107.4);
Tailwind
colors: {
  custom: {
    50: '#f8f4a6',
    500: '#f2ef7e',
    950: '#000000',
  },
}
SCSS
$custom: #f2ef7e;
$custom-light: #f8f4a6;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ef7e",
  "rgb": {
    "r": 242,
    "g": 239,
    "b": 126
  },
  "hsl": {
    "h": 58.448,
    "s": 81.69,
    "l": 72.157
  },
  "oklch": {
    "l": 0.93157,
    "c": 0.13566,
    "h": 107.4
  },
  "luminance": 0.82117
}

Semantic roles & 50–950 ramp

primary
#F2EF7E
secondary
#474BCD
accent
#0DDE07
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#17170F
muted
#858580

Preview Lab

Preview with #F2EF7E

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

Preview Lab → · Contrast checker → · Palette generator →

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