#F2D95F#F2D95F

#F2D95F is a very light, vivid yellow. Relative luminance 0.693; OKLCH L 88.3% C 0.143 H 97.8°. Best body text is #000000 at 14.87:1 contrast (WCAG AA passes).

Color values

HEX#F2D95F
RGBrgb(242, 217, 95)
HSLhsl(50, 85%, 66%)
HSVhsv(50, 61%, 95%)
CMYKcmyk(0%, 10.3%, 60.7%, 5.1%)
CIE-LABlab(86.67, -5.44, 61.71)
CIE-LCHlch(86.67, 61.95, 95.03°)
OKLaboklab(88.32% -0.0193 0.1417)
OKLCHoklch(88.32% 0.143 97.8)
XYZxyz(63.4990, 69.3320, 20.8619)
Luminance0.6933 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D95F #5F78F2
analogous
#F28F5F #F2D95F #C1F25F
triadic
#F2D95F #5FF2D9 #D95FF2
tetradic
#F2D95F #5FF28F #5F78F2 #F25FC1
square
#F2D95F #5FF28F #5F78F2 #F25FC1
split-complementary
#F2D95F #5FC1F2 #8F5FF2
monochromatic
#C6A710 #EDCC26 #F2D95F #F7E698 #FBF4D0

Accessibility & contrast

On white

1.41
#F2D95F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.87
#F2D95F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D95F
14.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D95F#FFFFFF#000000##000000
##F2D95F1.001.4114.8714.87
#FFFFFF1.411.0021.0021.00
#00000014.8721.001.001.00
##00000014.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD452
Deuteranopia (green-blind)
#F3DD65
Tritanopia (blue-blind)
#FFCABF
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #f2d95f;
/* rgb */ color: rgb(242, 217, 95);
/* oklch */ color: oklch(88.3% 0.143 97.8);
Tailwind
colors: {
  custom: {
    50: '#f9e491',
    500: '#f2d95f',
    950: '#000000',
  },
}
SCSS
$custom: #f2d95f;
$custom-light: #f9e491;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d95f",
  "rgb": {
    "r": 242,
    "g": 217,
    "b": 95
  },
  "hsl": {
    "h": 49.796,
    "s": 84.971,
    "l": 66.078
  },
  "oklch": {
    "l": 0.88324,
    "c": 0.14297,
    "h": 97.8
  },
  "luminance": 0.69329
}

Semantic roles & 50–950 ramp

primary
#F2D95F
secondary
#324AC4
accent
#2AE104
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F2D95F

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

Preview Lab → · Contrast checker → · Palette generator →

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