#F2EB6F#F2EB6F

#F2EB6F is a very light, vivid yellow. Relative luminance 0.794; OKLCH L 92.2% C 0.146 H 106.0°. Best body text is #000000 at 16.89:1 contrast (WCAG AA passes).

Color values

HEX#F2EB6F
RGBrgb(242, 235, 111)
HSLhsl(57, 83%, 69%)
HSVhsv(57, 54%, 95%)
CMYKcmyk(0%, 2.9%, 54.1%, 5.1%)
CIE-LABlab(91.43, -13.28, 60.01)
CIE-LCHlch(91.43, 61.46, 102.48°)
OKLaboklab(92.16% -0.04 0.1399)
OKLCHoklch(92.16% 0.146 106)
XYZxyz(69.1976, 79.4437, 26.7249)
Luminance0.7944 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EB6F #6F76F2
analogous
#F2AA6F #F2EB6F #B8F26F
triadic
#F2EB6F #6FF2EB #EB6FF2
tetradic
#F2EB6F #6FF2AA #6F76F2 #F26FB8
square
#F2EB6F #6FF2AA #6F76F2 #F26FB8
split-complementary
#F2EB6F #6FB8F2 #AA6FF2
monochromatic
#D4C913 #EDE337 #F2EB6F #F7F3A7 #FCFBDF

Accessibility & contrast

On white

1.24
#F2EB6F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.89
#F2EB6F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EB6F
16.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EB6F#FFFFFF#000000##000000
##F2EB6F1.001.2416.8916.89
#FFFFFF1.241.0021.0021.00
#00000016.8921.001.001.00
##00000016.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE363
Deuteranopia (green-blind)
#FFE975
Tritanopia (blue-blind)
#FFDECF
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #f2eb6f;
/* rgb */ color: rgb(242, 235, 111);
/* oklch */ color: oklch(92.2% 0.146 106.0);
Tailwind
colors: {
  custom: {
    50: '#f9f19c',
    500: '#f2eb6f',
    950: '#000000',
  },
}
SCSS
$custom: #f2eb6f;
$custom-light: #f9f19c;
$custom-dark: #000000;
JSON
{
  "hex": "#f2eb6f",
  "rgb": {
    "r": 242,
    "g": 235,
    "b": 111
  },
  "hsl": {
    "h": 56.794,
    "s": 83.439,
    "l": 69.216
  },
  "oklch": {
    "l": 0.92157,
    "c": 0.14552,
    "h": 106
  },
  "luminance": 0.79442
}

Semantic roles & 50–950 ramp

primary
#F2EB6F
secondary
#3A42CB
accent
#11E006
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160E
muted
#86857F

Preview Lab

Preview with #F2EB6F

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

Preview Lab → · Contrast checker → · Palette generator →

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