#F2E595#F2E595

#F2E595 is a very light, moderate yellow. Relative luminance 0.771; OKLCH L 91.5% C 0.101 H 100.2°. Best body text is #000000 at 16.42:1 contrast (WCAG AA passes).

Color values

HEX#F2E595
RGBrgb(242, 229, 149)
HSLhsl(52, 78%, 77%)
HSVhsv(52, 38%, 95%)
CMYKcmyk(0%, 5.4%, 38.4%, 5.1%)
CIE-LABlab(90.36, -6.79, 40.60)
CIE-LCHlch(90.36, 41.17, 99.49°)
OKLaboklab(91.46% -0.0178 0.0996)
OKLCHoklch(91.46% 0.101 100.2)
XYZxyz(70.0633, 77.0878, 39.6166)
Luminance0.7709 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E595 #95A2F2
analogous
#F2B795 #F2E595 #D1F295
triadic
#F2E595 #95F2E5 #E595F2
tetradic
#F2E595 #95F2B7 #95A2F2 #F295D1
square
#F2E595 #95F2B7 #95A2F2 #F295D1
split-complementary
#F2E595 #95D1F2 #B795F2
monochromatic
#E5CA28 #EBD85E #F2E595 #F9F2CC #FCF8E4

Accessibility & contrast

On white

1.28
#F2E595 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.42
#F2E595 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E595
16.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E595#FFFFFF#000000##000000
##F2E5951.001.2816.4216.42
#FFFFFF1.281.0021.0021.00
#00000016.4221.001.001.00
##00000016.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3E08F
Deuteranopia (green-blind)
#F7E698
Tritanopia (blue-blind)
#FFDAD1
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #f2e595;
/* rgb */ color: rgb(242, 229, 149);
/* oklch */ color: oklch(91.5% 0.101 100.2);
Tailwind
colors: {
  custom: {
    50: '#f7edb5',
    500: '#f2e595',
    950: '#000000',
  },
}
SCSS
$custom: #f2e595;
$custom-light: #f7edb5;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e595",
  "rgb": {
    "r": 242,
    "g": 229,
    "b": 149
  },
  "hsl": {
    "h": 51.613,
    "s": 78.151,
    "l": 76.667
  },
  "oklch": {
    "l": 0.91456,
    "c": 0.10116,
    "h": 100.2
  },
  "luminance": 0.77086
}

Semantic roles & 50–950 ramp

primary
#F2E595
secondary
#5C6CCF
accent
#28DA0B
background
#FFFEFD
surface
#FFFDF8
border
#D7D5D1
text
#171611
muted
#858481

Preview Lab

Preview with #F2E595

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

Preview Lab → · Contrast checker → · Palette generator →

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