#F2EF7B#F2EF7B

#F2EF7B is a very light, vivid yellow. Relative luminance 0.820; OKLCH L 93.1% C 0.139 H 107.5°. Best body text is #000000 at 17.41:1 contrast (WCAG AA passes).

Color values

HEX#F2EF7B
RGBrgb(242, 239, 123)
HSLhsl(58, 82%, 72%)
HSVhsv(58, 49%, 95%)
CMYKcmyk(0%, 1.2%, 49.2%, 5.1%)
CIE-LABlab(92.59, -14.27, 55.90)
CIE-LCHlch(92.59, 57.70, 104.32°)
OKLaboklab(93.12% -0.0416 0.1322)
OKLCHoklch(93.12% 0.139 107.5)
XYZxyz(71.0613, 82.0422, 30.8275)
Luminance0.8204 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EF7B #7B7EF2
analogous
#F2B47B #F2EF7B #BAF27B
triadic
#F2EF7B #7BF2EF #EF7BF2
tetradic
#F2EF7B #7BF2B4 #7B7EF2 #F27BBA
square
#F2EF7B #7BF2B4 #7B7EF2 #F27BBA
split-complementary
#F2EF7B #7BBAF2 #B47BF2
monochromatic
#DDD816 #EDE843 #F2EF7B #F7F6B3 #FCFCE3

Accessibility & contrast

On white

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

On black

17.41
#F2EF7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EF7B
17.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EF7B#FFFFFF#000000##000000
##F2EF7B1.001.2117.4117.41
#FFFFFF1.211.0021.0021.00
#00000017.4121.001.001.00
##00000017.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE770
Deuteranopia (green-blind)
#FFEC81
Tritanopia (blue-blind)
#FFE2D4
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #f2ef7b;
/* rgb */ color: rgb(242, 239, 123);
/* oklch */ color: oklch(93.1% 0.139 107.5);
Tailwind
colors: {
  custom: {
    50: '#f8f4a4',
    500: '#f2ef7b',
    950: '#000000',
  },
}
SCSS
$custom: #f2ef7b;
$custom-light: #f8f4a4;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ef7b",
  "rgb": {
    "r": 242,
    "g": 239,
    "b": 123
  },
  "hsl": {
    "h": 58.487,
    "s": 82.069,
    "l": 71.569
  },
  "oklch": {
    "l": 0.93119,
    "c": 0.13856,
    "h": 107.5
  },
  "luminance": 0.8204
}

Semantic roles & 50–950 ramp

primary
#F2EF7B
secondary
#4548CD
accent
#0CDE07
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F2EF7B

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

Preview Lab → · Contrast checker → · Palette generator →

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