#F2D95A#F2D95A

#F2D95A is a very light, vivid yellow. Relative luminance 0.692; OKLCH L 88.3% C 0.147 H 98.1°. Best body text is #000000 at 14.85:1 contrast (WCAG AA passes).

Color values

HEX#F2D95A
RGBrgb(242, 217, 90)
HSLhsl(50, 85%, 65%)
HSVhsv(50, 63%, 95%)
CMYKcmyk(0%, 10.3%, 62.8%, 5.1%)
CIE-LABlab(86.62, -5.75, 63.81)
CIE-LCHlch(86.62, 64.07, 95.15°)
OKLaboklab(88.28% -0.0208 0.1454)
OKLCHoklch(88.28% 0.147 98.1)
XYZxyz(63.2790, 69.2440, 19.7032)
Luminance0.6924 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D95A #5A73F2
analogous
#F28D5A #F2D95A #BFF25A
triadic
#F2D95A #5AF2D9 #D95AF2
tetradic
#F2D95A #5AF28D #5A73F2 #F25ABF
square
#F2D95A #5AF28D #5A73F2 #F25ABF
split-complementary
#F2D95A #5ABFF2 #8D5AF2
monochromatic
#C2A50F #EECC21 #F2D95A #F6E693 #FBF3CB

Accessibility & contrast

On white

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

On black

14.85
#F2D95A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D95A
14.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D95A#FFFFFF#000000##000000
##F2D95A1.001.4114.8514.85
#FFFFFF1.411.0021.0021.00
#00000014.8521.001.001.00
##00000014.8521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2d95a;
/* rgb */ color: rgb(242, 217, 90);
/* oklch */ color: oklch(88.3% 0.147 98.1);
Tailwind
colors: {
  custom: {
    50: '#fae48e',
    500: '#f2d95a',
    950: '#000000',
  },
}
SCSS
$custom: #f2d95a;
$custom-light: #fae48e;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d95a",
  "rgb": {
    "r": 242,
    "g": 217,
    "b": 90
  },
  "hsl": {
    "h": 50.132,
    "s": 85.393,
    "l": 65.098
  },
  "oklch": {
    "l": 0.88276,
    "c": 0.14692,
    "h": 98.1
  },
  "luminance": 0.69241
}

Semantic roles & 50–950 ramp

primary
#F2D95A
secondary
#3048C0
accent
#28E204
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F2D95A

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

Preview Lab → · Contrast checker → · Palette generator →

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