#F2DF95#F2DF95

#F2DF95 is a very light, moderate yellow. Relative luminance 0.738; OKLCH L 90.3% C 0.095 H 95.5°. Best body text is #000000 at 15.76:1 contrast (WCAG AA passes).

Color values

HEX#F2DF95
RGBrgb(242, 223, 149)
HSLhsl(48, 78%, 77%)
HSVhsv(48, 38%, 95%)
CMYKcmyk(0%, 7.9%, 38.4%, 5.1%)
CIE-LABlab(88.84, -3.76, 38.63)
CIE-LCHlch(88.84, 38.82, 95.56°)
OKLaboklab(90.25% -0.0091 0.095)
OKLCHoklch(90.25% 0.095 95.5)
XYZxyz(68.4318, 73.8247, 39.0728)
Luminance0.7382 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2DF95 #95A8F2
analogous
#F2B195 #F2DF95 #D7F295
triadic
#F2DF95 #95F2DF #DF95F2
tetradic
#F2DF95 #95F2B1 #95A8F2 #F295D7
square
#F2DF95 #95F2B1 #95A8F2 #F295D7
split-complementary
#F2DF95 #95D7F2 #B195F2
monochromatic
#E5BE28 #EBCF5E #F2DF95 #F9EFCC #FCF7E4

Accessibility & contrast

On white

1.33
#F2DF95 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.76
#F2DF95 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2DF95
15.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2DF95#FFFFFF#000000##000000
##F2DF951.001.3315.7615.76
#FFFFFF1.331.0021.0021.00
#00000015.7621.001.001.00
##00000015.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDDB90
Deuteranopia (green-blind)
#F3E298
Tritanopia (blue-blind)
#FFD4CC
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #f2df95;
/* rgb */ color: rgb(242, 223, 149);
/* oklch */ color: oklch(90.3% 0.095 95.5);
Tailwind
colors: {
  custom: {
    50: '#f7e8b5',
    500: '#f2df95',
    950: '#000000',
  },
}
SCSS
$custom: #f2df95;
$custom-light: #f7e8b5;
$custom-dark: #000000;
JSON
{
  "hex": "#f2df95",
  "rgb": {
    "r": 242,
    "g": 223,
    "b": 149
  },
  "hsl": {
    "h": 47.742,
    "s": 78.151,
    "l": 76.667
  },
  "oklch": {
    "l": 0.90252,
    "c": 0.09547,
    "h": 95.5
  },
  "luminance": 0.73823
}

Semantic roles & 50–950 ramp

primary
#F2DF95
secondary
#5C74CF
accent
#35DA0B
background
#FFFEFD
surface
#FFFCF8
border
#D7D5D1
text
#171611
muted
#858481

Preview Lab

Preview with #F2DF95

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

Preview Lab → · Contrast checker → · Palette generator →

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