#F2EF8B#F2EF8B

#F2EF8B is a very light, vivid yellow. Relative luminance 0.825; OKLCH L 93.3% C 0.123 H 107.0°. Best body text is #000000 at 17.49:1 contrast (WCAG AA passes).

Color values

HEX#F2EF8B
RGBrgb(242, 239, 139)
HSLhsl(58, 80%, 75%)
HSVhsv(58, 43%, 95%)
CMYKcmyk(0%, 1.2%, 42.6%, 5.1%)
CIE-LABlab(92.78, -12.80, 48.58)
CIE-LCHlch(92.78, 50.23, 104.76°)
OKLaboklab(93.33% -0.0359 0.1171)
OKLCHoklch(93.33% 0.123 107)
XYZxyz(72.1460, 82.4760, 36.5401)
Luminance0.8247 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EF8B #8B8EF2
analogous
#F2BB8B #F2EF8B #C2F28B
triadic
#F2EF8B #8BF2EF #EF8BF2
tetradic
#F2EF8B #8BF2BB #8B8EF2 #F28BC2
square
#F2EF8B #8BF2BB #8B8EF2 #F28BC2
split-complementary
#F2EF8B #8BC2F2 #BB8BF2
monochromatic
#E6E01D #ECE754 #F2EF8B #F8F7C2 #FCFBE3

Accessibility & contrast

On white

1.20
#F2EF8B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.49
#F2EF8B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EF8B
17.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EF8B#FFFFFF#000000##000000
##F2EF8B1.001.2017.4917.49
#FFFFFF1.201.0021.0021.00
#00000017.4921.001.001.00
##00000017.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE883
Deuteranopia (green-blind)
#FFEC8F
Tritanopia (blue-blind)
#FFE3D7
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #f2ef8b;
/* rgb */ color: rgb(242, 239, 139);
/* oklch */ color: oklch(93.3% 0.123 107.0);
Tailwind
colors: {
  custom: {
    50: '#f8f4ae',
    500: '#f2ef8b',
    950: '#000000',
  },
}
SCSS
$custom: #f2ef8b;
$custom-light: #f8f4ae;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ef8b",
  "rgb": {
    "r": 242,
    "g": 239,
    "b": 139
  },
  "hsl": {
    "h": 58.252,
    "s": 79.845,
    "l": 74.706
  },
  "oklch": {
    "l": 0.93333,
    "c": 0.12252,
    "h": 107
  },
  "luminance": 0.82474
}

Semantic roles & 50–950 ramp

primary
#F2EF8B
secondary
#5356CE
accent
#0FDC09
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#171710
muted
#858581

Preview Lab

Preview with #F2EF8B

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

Preview Lab → · Contrast checker → · Palette generator →

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