#F2EA6F#F2EA6F

#F2EA6F is a very light, vivid yellow. Relative luminance 0.789; OKLCH L 92.0% C 0.145 H 105.5°. Best body text is #000000 at 16.77:1 contrast (WCAG AA passes).

Color values

HEX#F2EA6F
RGBrgb(242, 234, 111)
HSLhsl(56, 83%, 69%)
HSVhsv(56, 54%, 95%)
CMYKcmyk(0%, 3.3%, 54.1%, 5.1%)
CIE-LABlab(91.18, -12.79, 59.71)
CIE-LCHlch(91.18, 61.07, 102.09°)
OKLaboklab(91.95% -0.0386 0.1393)
OKLCHoklch(91.95% 0.145 105.5)
XYZxyz(68.9121, 78.8727, 26.6298)
Luminance0.7887 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EA6F #6F77F2
analogous
#F2A96F #F2EA6F #B9F26F
triadic
#F2EA6F #6FF2EA #EA6FF2
tetradic
#F2EA6F #6FF2A9 #6F77F2 #F26FB9
square
#F2EA6F #6FF2A9 #6F77F2 #F26FB9
split-complementary
#F2EA6F #6FB9F2 #A96FF2
monochromatic
#D4C813 #EDE237 #F2EA6F #F7F2A7 #FCFADF

Accessibility & contrast

On white

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

On black

16.77
#F2EA6F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EA6F
16.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EA6F#FFFFFF#000000##000000
##F2EA6F1.001.2516.7716.77
#FFFFFF1.251.0021.0021.00
#00000016.7721.001.001.00
##00000016.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE363
Deuteranopia (green-blind)
#FFE875
Tritanopia (blue-blind)
#FFDDCF
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #f2ea6f;
/* rgb */ color: rgb(242, 234, 111);
/* oklch */ color: oklch(92.0% 0.145 105.5);
Tailwind
colors: {
  custom: {
    50: '#f9f09c',
    500: '#f2ea6f',
    950: '#000000',
  },
}
SCSS
$custom: #f2ea6f;
$custom-light: #f9f09c;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ea6f",
  "rgb": {
    "r": 242,
    "g": 234,
    "b": 111
  },
  "hsl": {
    "h": 56.336,
    "s": 83.439,
    "l": 69.216
  },
  "oklch": {
    "l": 0.91951,
    "c": 0.14452,
    "h": 105.5
  },
  "luminance": 0.78871
}

Semantic roles & 50–950 ramp

primary
#F2EA6F
secondary
#3A43CB
accent
#13E006
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160E
muted
#86857F

Preview Lab

Preview with #F2EA6F

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

Preview Lab → · Contrast checker → · Palette generator →

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