#F2DE95#F2DE95

#F2DE95 is a very light, moderate yellow. Relative luminance 0.733; OKLCH L 90.1% C 0.095 H 94.6°. Best body text is #000000 at 15.66:1 contrast (WCAG AA passes).

Color values

HEX#F2DE95
RGBrgb(242, 222, 149)
HSLhsl(47, 78%, 77%)
HSVhsv(47, 38%, 95%)
CMYKcmyk(0%, 8.3%, 38.4%, 5.1%)
CIE-LABlab(88.59, -3.25, 38.31)
CIE-LCHlch(88.59, 38.44, 94.85°)
OKLaboklab(90.05% -0.0076 0.0943)
OKLCHoklch(90.05% 0.095 94.6)
XYZxyz(68.1654, 73.2920, 38.9840)
Luminance0.7329 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2DE95 #95A9F2
analogous
#F2B095 #F2DE95 #D8F295
triadic
#F2DE95 #95F2DE #DE95F2
tetradic
#F2DE95 #95F2B0 #95A9F2 #F295D8
square
#F2DE95 #95F2B0 #95A9F2 #F295D8
split-complementary
#F2DE95 #95D8F2 #B095F2
monochromatic
#E5BC28 #EBCD5E #F2DE95 #F9EFCC #FCF7E4

Accessibility & contrast

On white

1.34
#F2DE95 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.66
#F2DE95 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2DE95
15.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2DE95#FFFFFF#000000##000000
##F2DE951.001.3415.6615.66
#FFFFFF1.341.0021.0021.00
#00000015.6621.001.001.00
##00000015.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECDB90
Deuteranopia (green-blind)
#F2E198
Tritanopia (blue-blind)
#FFD3CC
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #f2de95;
/* rgb */ color: rgb(242, 222, 149);
/* oklch */ color: oklch(90.1% 0.095 94.6);
Tailwind
colors: {
  custom: {
    50: '#f7e8b5',
    500: '#f2de95',
    950: '#000000',
  },
}
SCSS
$custom: #f2de95;
$custom-light: #f7e8b5;
$custom-dark: #000000;
JSON
{
  "hex": "#f2de95",
  "rgb": {
    "r": 242,
    "g": 222,
    "b": 149
  },
  "hsl": {
    "h": 47.097,
    "s": 78.151,
    "l": 76.667
  },
  "oklch": {
    "l": 0.90052,
    "c": 0.09459,
    "h": 94.6
  },
  "luminance": 0.7329
}

Semantic roles & 50–950 ramp

primary
#F2DE95
secondary
#5C75CF
accent
#38DA0B
background
#FFFEFD
surface
#FFFCF8
border
#D7D5D1
text
#171611
muted
#858481

Preview Lab

Preview with #F2DE95

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

Preview Lab → · Contrast checker → · Palette generator →

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