#F2EDAF#F2EDAF

#F2EDAF is a very light, moderate yellow. Relative luminance 0.825; OKLCH L 93.5% C 0.080 H 103.9°. Best body text is #000000 at 17.51:1 contrast (WCAG AA passes).

Color values

HEX#F2EDAF
RGBrgb(242, 237, 175)
HSLhsl(56, 72%, 82%)
HSVhsv(56, 28%, 95%)
CMYKcmyk(0%, 2.1%, 27.7%, 5.1%)
CIE-LABlab(92.81, -7.73, 30.73)
CIE-LCHlch(92.81, 31.69, 104.11°)
OKLaboklab(93.53% -0.0192 0.0772)
OKLCHoklch(93.53% 0.08 103.9)
XYZxyz(74.6403, 82.5421, 52.5494)
Luminance0.8254 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EDAF #AFB4F2
analogous
#F2CCAF #F2EDAF #D6F2AF
triadic
#F2EDAF #AFF2ED #EDAFF2
tetradic
#F2EDAF #AFF2CC #AFB4F2 #F2AFD6
square
#F2EDAF #AFF2CC #AFB4F2 #F2AFD6
split-complementary
#F2EDAF #AFD6F2 #CCAFF2
monochromatic
#E1D546 #E9E17A #F2EDAF #FBF9E4 #FBF9E5

Accessibility & contrast

On white

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

On black

17.51
#F2EDAF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EDAF
17.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EDAF#FFFFFF#000000##000000
##F2EDAF1.001.2017.5117.51
#FFFFFF1.201.0021.0021.00
#00000017.5121.001.001.00
##00000017.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E8AB
Deuteranopia (green-blind)
#FAECB1
Tritanopia (blue-blind)
#FCE5DD
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #f2edaf;
/* rgb */ color: rgb(242, 237, 175);
/* oklch */ color: oklch(93.5% 0.080 103.9);
Tailwind
colors: {
  custom: {
    50: '#f7f2c7',
    500: '#f2edaf',
    950: '#000000',
  },
}
SCSS
$custom: #f2edaf;
$custom-light: #f7f2c7;
$custom-dark: #000000;
JSON
{
  "hex": "#f2edaf",
  "rgb": {
    "r": 242,
    "g": 237,
    "b": 175
  },
  "hsl": {
    "h": 55.522,
    "s": 72.043,
    "l": 81.765
  },
  "oklch": {
    "l": 0.93533,
    "c": 0.07957,
    "h": 103.9
  },
  "luminance": 0.82541
}

Semantic roles & 50–950 ramp

primary
#F2EDAF
secondary
#747BD1
accent
#20D411
background
#FFFFFD
surface
#FFFEF9
border
#D7D6D2
text
#171713
muted
#858582

Preview Lab

Preview with #F2EDAF

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

Preview Lab → · Contrast checker → · Palette generator →

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