#F2D95E#F2D95E

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

Color values

HEX#F2D95E
RGBrgb(242, 217, 94)
HSLhsl(50, 85%, 66%)
HSVhsv(50, 61%, 95%)
CMYKcmyk(0%, 10.3%, 61.2%, 5.1%)
CIE-LABlab(86.66, -5.50, 62.14)
CIE-LCHlch(86.66, 62.38, 95.06°)
OKLaboklab(88.31% -0.0196 0.1424)
OKLCHoklch(88.31% 0.144 97.8)
XYZxyz(63.4538, 69.3140, 20.6241)
Luminance0.6931 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D95E #5E77F2
analogous
#F28F5E #F2D95E #C1F25E
triadic
#F2D95E #5EF2D9 #D95EF2
tetradic
#F2D95E #5EF28F #5E77F2 #F25EC1
square
#F2D95E #5EF28F #5E77F2 #F25EC1
split-complementary
#F2D95E #5EC1F2 #8F5EF2
monochromatic
#C6A710 #EDCC25 #F2D95E #F7E697 #FBF4CF

Accessibility & contrast

On white

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

On black

14.86
#F2D95E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D95E
14.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D95E#FFFFFF#000000##000000
##F2D95E1.001.4114.8614.86
#FFFFFF1.411.0021.0021.00
#00000014.8621.001.001.00
##00000014.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD450
Deuteranopia (green-blind)
#F3DD64
Tritanopia (blue-blind)
#FFCABE
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #f2d95e;
/* rgb */ color: rgb(242, 217, 94);
/* oklch */ color: oklch(88.3% 0.144 97.8);
Tailwind
colors: {
  custom: {
    50: '#fae490',
    500: '#f2d95e',
    950: '#000000',
  },
}
SCSS
$custom: #f2d95e;
$custom-light: #fae490;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d95e",
  "rgb": {
    "r": 242,
    "g": 217,
    "b": 94
  },
  "hsl": {
    "h": 49.865,
    "s": 85.057,
    "l": 65.882
  },
  "oklch": {
    "l": 0.88314,
    "c": 0.14377,
    "h": 97.8
  },
  "luminance": 0.69311
}

Semantic roles & 50–950 ramp

primary
#F2D95E
secondary
#314AC3
accent
#29E204
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F2D95E

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

Preview Lab → · Contrast checker → · Palette generator →

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