#F2EA6C#F2EA6C

#F2EA6C is a very light, vivid yellow. Relative luminance 0.788; OKLCH L 91.9% C 0.147 H 105.6°. Best body text is #000000 at 16.76:1 contrast (WCAG AA passes).

Color values

HEX#F2EA6C
RGBrgb(242, 234, 108)
HSLhsl(56, 84%, 69%)
HSVhsv(56, 55%, 95%)
CMYKcmyk(0%, 3.3%, 55.4%, 5.1%)
CIE-LABlab(91.15, -13.01, 61.02)
CIE-LCHlch(91.15, 62.39, 102.04°)
OKLaboklab(91.92% -0.0396 0.1417)
OKLCHoklch(91.92% 0.147 105.6)
XYZxyz(68.7496, 78.8078, 25.7744)
Luminance0.7881 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EA6C #6C74F2
analogous
#F2A76C #F2EA6C #B7F26C
triadic
#F2EA6C #6CF2EA #EA6CF2
tetradic
#F2EA6C #6CF2A7 #6C74F2 #F26CB7
square
#F2EA6C #6CF2A7 #6C74F2 #F26CB7
split-complementary
#F2EA6C #6CB7F2 #A76CF2
monochromatic
#D1C612 #EDE234 #F2EA6C #F7F2A4 #FCFADC

Accessibility & contrast

On white

1.25
#F2EA6C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.76
#F2EA6C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EA6C
16.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EA6C#FFFFFF#000000##000000
##F2EA6C1.001.2516.7616.76
#FFFFFF1.251.0021.0021.00
#00000016.7621.001.001.00
##00000016.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE25F
Deuteranopia (green-blind)
#FFE873
Tritanopia (blue-blind)
#FFDCCE
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #f2ea6c;
/* rgb */ color: rgb(242, 234, 108);
/* oklch */ color: oklch(91.9% 0.147 105.6);
Tailwind
colors: {
  custom: {
    50: '#f9f09a',
    500: '#f2ea6c',
    950: '#000000',
  },
}
SCSS
$custom: #f2ea6c;
$custom-light: #f9f09a;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ea6c",
  "rgb": {
    "r": 242,
    "g": 234,
    "b": 108
  },
  "hsl": {
    "h": 56.418,
    "s": 83.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.91918,
    "c": 0.14716,
    "h": 105.6
  },
  "luminance": 0.78806
}

Semantic roles & 50–950 ramp

primary
#F2EA6C
secondary
#3740CB
accent
#12E005
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160E
muted
#86857F

Preview Lab

Preview with #F2EA6C

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

Preview Lab → · Contrast checker → · Palette generator →

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