#F2E2AA#F2E2AA

#F2E2AA is a very light, moderate yellow. Relative luminance 0.762; OKLCH L 91.2% C 0.074 H 94.0°. Best body text is #000000 at 16.23:1 contrast (WCAG AA passes).

Color values

HEX#F2E2AA
RGBrgb(242, 226, 170)
HSLhsl(47, 73%, 81%)
HSVhsv(47, 30%, 95%)
CMYKcmyk(0%, 6.6%, 29.8%, 5.1%)
CIE-LABlab(89.94, -2.81, 29.41)
CIE-LCHlch(89.94, 29.54, 95.47°)
OKLaboklab(91.23% -0.0052 0.074)
OKLCHoklch(91.23% 0.074 94)
XYZxyz(71.0707, 76.1741, 48.9817)
Luminance0.7617 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E2AA #AABAF2
analogous
#F2BEAA #F2E2AA #DEF2AA
triadic
#F2E2AA #AAF2E2 #E2AAF2
tetradic
#F2E2AA #AAF2BE #AABAF2 #F2AADE
square
#F2E2AA #AAF2BE #AABAF2 #F2AADE
split-complementary
#F2E2AA #AADEF2 #BEAAF2
monochromatic
#E2BE40 #EAD075 #F2E2AA #FAF4DF #FBF6E4

Accessibility & contrast

On white

1.29
#F2E2AA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.23
#F2E2AA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E2AA
16.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E2AA#FFFFFF#000000##000000
##F2E2AA1.001.2916.2316.23
#FFFFFF1.291.0021.0021.00
#00000016.2321.001.001.00
##00000016.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EEDFA6
Deuteranopia (green-blind)
#F2E4AC
Tritanopia (blue-blind)
#FDDAD3
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #f2e2aa;
/* rgb */ color: rgb(242, 226, 170);
/* oklch */ color: oklch(91.2% 0.074 94.0);
Tailwind
colors: {
  custom: {
    50: '#f7ebc3',
    500: '#f2e2aa',
    950: '#000000',
  },
}
SCSS
$custom: #f2e2aa;
$custom-light: #f7ebc3;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e2aa",
  "rgb": {
    "r": 242,
    "g": 226,
    "b": 170
  },
  "hsl": {
    "h": 46.667,
    "s": 73.469,
    "l": 80.784
  },
  "oklch": {
    "l": 0.91233,
    "c": 0.07414,
    "h": 94
  },
  "luminance": 0.76172
}

Semantic roles & 50–950 ramp

primary
#F2E2AA
secondary
#6F85D1
accent
#3CD610
background
#FFFEFD
surface
#FFFDF9
border
#D7D5D2
text
#171612
muted
#858482

Preview Lab

Preview with #F2E2AA

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

Preview Lab → · Contrast checker → · Palette generator →

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