#F2F595#F2F595

#F2F595 is a very light, moderate yellow. Relative luminance 0.864; OKLCH L 94.7% C 0.119 H 110.0°. Best body text is #000000 at 18.27:1 contrast (WCAG AA passes).

Color values

HEX#F2F595
RGBrgb(242, 245, 149)
HSLhsl(62, 83%, 77%)
HSVhsv(62, 39%, 96%)
CMYKcmyk(1.2%, 0%, 39.2%, 3.9%)
CIE-LABlab(94.46, -14.72, 45.84)
CIE-LCHlch(94.46, 48.15, 107.80°)
OKLaboklab(94.71% -0.0406 0.1115)
OKLCHoklch(94.71% 0.119 110)
XYZxyz(74.6961, 86.3533, 41.1609)
Luminance0.8635 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F595 #9895F5
analogous
#F5C895 #F2F595 #C2F595
triadic
#F2F595 #95F2F5 #F595F2
tetradic
#F2F595 #95F5C8 #9895F5 #F595C2
square
#F2F595 #95F5C8 #9895F5 #F595C2
split-complementary
#F2F595 #95C2F5 #C895F5
monochromatic
#E4EA25 #EBF05D #F2F595 #F9FACD #FCFCE3

Accessibility & contrast

On white

1.15
#F2F595 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.27
#F2F595 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F595
18.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F595#FFFFFF#000000##000000
##F2F5951.001.1518.2718.27
#FFFFFF1.151.0021.0021.00
#00000018.2721.001.001.00
##00000018.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED8E
Deuteranopia (green-blind)
#FFF199
Tritanopia (blue-blind)
#FEEADE
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #f2f595;
/* rgb */ color: rgb(242, 245, 149);
/* oklch */ color: oklch(94.7% 0.119 110.0);
Tailwind
colors: {
  custom: {
    50: '#f8f8b5',
    500: '#f2f595',
    950: '#000000',
  },
}
SCSS
$custom: #f2f595;
$custom-light: #f8f8b5;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f595",
  "rgb": {
    "r": 242,
    "g": 245,
    "b": 149
  },
  "hsl": {
    "h": 61.875,
    "s": 82.759,
    "l": 77.255
  },
  "oklch": {
    "l": 0.94711,
    "c": 0.1187,
    "h": 110
  },
  "luminance": 0.86352
}

Semantic roles & 50–950 ramp

primary
#F2F595
secondary
#5F5BD3
accent
#06DF0D
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#171711
muted
#858581

Preview Lab

Preview with #F2F595

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

Preview Lab → · Contrast checker → · Palette generator →

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