#F2D95B#F2D95B

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

Color values

HEX#F2D95B
RGBrgb(242, 217, 91)
HSLhsl(50, 85%, 65%)
HSVhsv(50, 62%, 95%)
CMYKcmyk(0%, 10.3%, 62.4%, 5.1%)
CIE-LABlab(86.63, -5.69, 63.40)
CIE-LCHlch(86.63, 63.65, 95.13°)
OKLaboklab(88.29% -0.0205 0.1447)
OKLCHoklch(88.29% 0.146 98.1)
XYZxyz(63.3218, 69.2612, 19.9288)
Luminance0.6926 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D95B #5B74F2
analogous
#F28D5B #F2D95B #C0F25B
triadic
#F2D95B #5BF2D9 #D95BF2
tetradic
#F2D95B #5BF28D #5B74F2 #F25BC0
square
#F2D95B #5BF28D #5B74F2 #F25BC0
split-complementary
#F2D95B #5BC0F2 #8D5BF2
monochromatic
#C3A50F #EECC22 #F2D95B #F6E694 #FBF3CC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F2D95B#FFFFFF#000000##000000
##F2D95B1.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)
#EDD44C
Deuteranopia (green-blind)
#F3DD61
Tritanopia (blue-blind)
#FFCABE
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #f2d95b;
/* rgb */ color: rgb(242, 217, 91);
/* oklch */ color: oklch(88.3% 0.146 98.1);
Tailwind
colors: {
  custom: {
    50: '#fae48e',
    500: '#f2d95b',
    950: '#000000',
  },
}
SCSS
$custom: #f2d95b;
$custom-light: #fae48e;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d95b",
  "rgb": {
    "r": 242,
    "g": 217,
    "b": 91
  },
  "hsl": {
    "h": 50.066,
    "s": 85.311,
    "l": 65.294
  },
  "oklch": {
    "l": 0.88285,
    "c": 0.14615,
    "h": 98.1
  },
  "luminance": 0.69258
}

Semantic roles & 50–950 ramp

primary
#F2D95B
secondary
#3148C1
accent
#28E204
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F2D95B

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

Preview Lab → · Contrast checker → · Palette generator →

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