#F2EFA2#F2EFA2

#F2EFA2 is a very light, moderate yellow. Relative luminance 0.832; OKLCH L 93.7% C 0.097 H 106.2°. Best body text is #000000 at 17.64:1 contrast (WCAG AA passes).

Color values

HEX#F2EFA2
RGBrgb(242, 239, 162)
HSLhsl(58, 75%, 79%)
HSVhsv(58, 33%, 95%)
CMYKcmyk(0%, 1.2%, 33.1%, 5.1%)
CIE-LABlab(93.11, -10.32, 37.68)
CIE-LCHlch(93.11, 39.07, 105.31°)
OKLaboklab(93.7% -0.0272 0.0933)
OKLCHoklch(93.7% 0.097 106.2)
XYZxyz(74.0067, 83.2203, 46.3400)
Luminance0.8322 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EFA2 #A2A5F2
analogous
#F2C7A2 #F2EFA2 #CDF2A2
triadic
#F2EFA2 #A2F2EF #EFA2F2
tetradic
#F2EFA2 #A2F2C7 #A2A5F2 #F2A2CD
square
#F2EFA2 #A2F2C7 #A2A5F2 #F2A2CD
split-complementary
#F2EFA2 #A2CDF2 #C7A2F2
monochromatic
#E3DD37 #EAE66C #F2EFA2 #FAF8D8 #FBFAE4

Accessibility & contrast

On white

1.19
#F2EFA2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.64
#F2EFA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EFA2
17.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EFA2#FFFFFF#000000##000000
##F2EFA21.001.1917.6417.64
#FFFFFF1.191.0021.0021.00
#00000017.6421.001.001.00
##00000017.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE99D
Deuteranopia (green-blind)
#FDEDA5
Tritanopia (blue-blind)
#FDE5DB
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #f2efa2;
/* rgb */ color: rgb(242, 239, 162);
/* oklch */ color: oklch(93.7% 0.097 106.2);
Tailwind
colors: {
  custom: {
    50: '#f7f4be',
    500: '#f2efa2',
    950: '#000000',
  },
}
SCSS
$custom: #f2efa2;
$custom-light: #f7f4be;
$custom-dark: #000000;
JSON
{
  "hex": "#f2efa2",
  "rgb": {
    "r": 242,
    "g": 239,
    "b": 162
  },
  "hsl": {
    "h": 57.75,
    "s": 75.472,
    "l": 79.216
  },
  "oklch": {
    "l": 0.93699,
    "c": 0.09717,
    "h": 106.2
  },
  "luminance": 0.83219
}

Semantic roles & 50–950 ramp

primary
#F2EFA2
secondary
#686CD0
accent
#15D80E
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#171712
muted
#858582

Preview Lab

Preview with #F2EFA2

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

Preview Lab → · Contrast checker → · Palette generator →

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