#F2DD95#F2DD95

#F2DD95 is a very light, moderate yellow. Relative luminance 0.728; OKLCH L 89.9% C 0.094 H 93.8°. Best body text is #000000 at 15.55:1 contrast (WCAG AA passes).

Color values

HEX#F2DD95
RGBrgb(242, 221, 149)
HSLhsl(46, 78%, 77%)
HSVhsv(46, 38%, 95%)
CMYKcmyk(0%, 8.7%, 38.4%, 5.1%)
CIE-LABlab(88.33, -2.74, 37.98)
CIE-LCHlch(88.33, 38.08, 94.13°)
OKLaboklab(89.85% -0.0061 0.0935)
OKLCHoklch(89.85% 0.094 93.8)
XYZxyz(67.9006, 72.7623, 38.8957)
Luminance0.7276 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2DD95 #95AAF2
analogous
#F2AF95 #F2DD95 #D8F295
triadic
#F2DD95 #95F2DD #DD95F2
tetradic
#F2DD95 #95F2AF #95AAF2 #F295D8
square
#F2DD95 #95F2AF #95AAF2 #F295D8
split-complementary
#F2DD95 #95D8F2 #AF95F2
monochromatic
#E5BA28 #EBCC5E #F2DD95 #F9EECC #FCF6E4

Accessibility & contrast

On white

1.35
#F2DD95 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.55
#F2DD95 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2DD95
15.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2DD95#FFFFFF#000000##000000
##F2DD951.001.3515.5515.55
#FFFFFF1.351.0021.0021.00
#00000015.5521.001.001.00
##00000015.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBDA90
Deuteranopia (green-blind)
#F1E198
Tritanopia (blue-blind)
#FFD2CB
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #f2dd95;
/* rgb */ color: rgb(242, 221, 149);
/* oklch */ color: oklch(89.9% 0.094 93.8);
Tailwind
colors: {
  custom: {
    50: '#f7e7b5',
    500: '#f2dd95',
    950: '#000000',
  },
}
SCSS
$custom: #f2dd95;
$custom-light: #f7e7b5;
$custom-dark: #000000;
JSON
{
  "hex": "#f2dd95",
  "rgb": {
    "r": 242,
    "g": 221,
    "b": 149
  },
  "hsl": {
    "h": 46.452,
    "s": 78.151,
    "l": 76.667
  },
  "oklch": {
    "l": 0.89853,
    "c": 0.09373,
    "h": 93.8
  },
  "luminance": 0.7276
}

Semantic roles & 50–950 ramp

primary
#F2DD95
secondary
#5C76CF
accent
#3ADA0B
background
#FFFEFD
surface
#FFFCF8
border
#D7D5D1
text
#171611
muted
#858481

Preview Lab

Preview with #F2DD95

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

Preview Lab → · Contrast checker → · Palette generator →

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