#F2EF5E#F2EF5E

#F2EF5E is a very light, vivid yellow. Relative luminance 0.814; OKLCH L 92.8% C 0.164 H 108.1°. Best body text is #000000 at 17.28:1 contrast (WCAG AA passes).

Color values

HEX#F2EF5E
RGBrgb(242, 239, 94)
HSLhsl(59, 85%, 66%)
HSVhsv(59, 61%, 95%)
CMYKcmyk(0%, 1.2%, 61.2%, 5.1%)
CIE-LABlab(92.32, -16.42, 68.27)
CIE-LCHlch(92.32, 70.21, 103.52°)
OKLaboklab(92.81% -0.0507 0.1554)
OKLCHoklch(92.81% 0.164 108.1)
XYZxyz(69.5071, 81.4205, 22.6418)
Luminance0.8142 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EF5E #5E61F2
analogous
#F2A55E #F2EF5E #ABF25E
triadic
#F2EF5E #5EF2EF #EF5EF2
tetradic
#F2EF5E #5EF2A5 #5E61F2 #F25EAB
square
#F2EF5E #5EF2A5 #5E61F2 #F25EAB
split-complementary
#F2EF5E #5EABF2 #A55EF2
monochromatic
#C6C210 #EDE925 #F2EF5E #F7F597 #FBFACF

Accessibility & contrast

On white

1.22
#F2EF5E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.28
#F2EF5E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EF5E
17.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EF5E#FFFFFF#000000##000000
##F2EF5E1.001.2217.2817.28
#FFFFFF1.221.0021.0021.00
#00000017.2821.001.001.00
##00000017.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE64C
Deuteranopia (green-blind)
#FFEB67
Tritanopia (blue-blind)
#FFE1D1
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #f2ef5e;
/* rgb */ color: rgb(242, 239, 94);
/* oklch */ color: oklch(92.8% 0.164 108.1);
Tailwind
colors: {
  custom: {
    50: '#f9f492',
    500: '#f2ef5e',
    950: '#000000',
  },
}
SCSS
$custom: #f2ef5e;
$custom-light: #f9f492;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ef5e",
  "rgb": {
    "r": 242,
    "g": 239,
    "b": 94
  },
  "hsl": {
    "h": 58.784,
    "s": 85.057,
    "l": 65.882
  },
  "oklch": {
    "l": 0.92812,
    "c": 0.1635,
    "h": 108.1
  },
  "luminance": 0.81418
}

Semantic roles & 50–950 ramp

primary
#F2EF5E
secondary
#3134C3
accent
#08E204
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F2EF5E

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

Preview Lab → · Contrast checker → · Palette generator →

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