#F2EAA2#F2EAA2

#F2EAA2 is a very light, moderate yellow. Relative luminance 0.803; OKLCH L 92.7% C 0.092 H 102.6°. Best body text is #000000 at 17.07:1 contrast (WCAG AA passes).

Color values

HEX#F2EAA2
RGBrgb(242, 234, 162)
HSLhsl(54, 75%, 79%)
HSVhsv(54, 33%, 95%)
CMYKcmyk(0%, 3.3%, 33.1%, 5.1%)
CIE-LABlab(91.83, -7.82, 36.00)
CIE-LCHlch(91.83, 36.84, 102.26°)
OKLaboklab(92.69% -0.02 0.0894)
OKLCHoklch(92.69% 0.092 102.6)
XYZxyz(72.5631, 80.3332, 45.8588)
Luminance0.8033 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EAA2 #A2AAF2
analogous
#F2C2A2 #F2EAA2 #D2F2A2
triadic
#F2EAA2 #A2F2EA #EAA2F2
tetradic
#F2EAA2 #A2F2C2 #A2AAF2 #F2A2D2
square
#F2EAA2 #A2F2C2 #A2AAF2 #F2A2D2
split-complementary
#F2EAA2 #A2D2F2 #C2A2F2
monochromatic
#E3D237 #EADE6C #F2EAA2 #FAF6D8 #FBF9E4

Accessibility & contrast

On white

1.23
#F2EAA2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.07
#F2EAA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EAA2
17.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EAA2#FFFFFF#000000##000000
##F2EAA21.001.2317.0717.07
#FFFFFF1.231.0021.0021.00
#00000017.0721.001.001.00
##00000017.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7E59D
Deuteranopia (green-blind)
#FAEAA5
Tritanopia (blue-blind)
#FEE1D7
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #f2eaa2;
/* rgb */ color: rgb(242, 234, 162);
/* oklch */ color: oklch(92.7% 0.092 102.6);
Tailwind
colors: {
  custom: {
    50: '#f7f0be',
    500: '#f2eaa2',
    950: '#000000',
  },
}
SCSS
$custom: #f2eaa2;
$custom-light: #f7f0be;
$custom-dark: #000000;
JSON
{
  "hex": "#f2eaa2",
  "rgb": {
    "r": 242,
    "g": 234,
    "b": 162
  },
  "hsl": {
    "h": 54,
    "s": 75.472,
    "l": 79.216
  },
  "oklch": {
    "l": 0.92687,
    "c": 0.09159,
    "h": 102.6
  },
  "luminance": 0.80332
}

Semantic roles & 50–950 ramp

primary
#F2EAA2
secondary
#6872D0
accent
#22D80E
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#171612
muted
#858582

Preview Lab

Preview with #F2EAA2

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

Preview Lab → · Contrast checker → · Palette generator →

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