#F2D950#F2D950

#F2D950 is a very light, vivid yellow. Relative luminance 0.691; OKLCH L 88.2% C 0.154 H 98.8°. Best body text is #000000 at 14.82:1 contrast (WCAG AA passes).

Color values

HEX#F2D950
RGBrgb(242, 217, 80)
HSLhsl(51, 86%, 63%)
HSVhsv(51, 67%, 95%)
CMYKcmyk(0%, 10.3%, 66.9%, 5.1%)
CIE-LABlab(86.55, -6.33, 67.84)
CIE-LCHlch(86.55, 68.13, 95.33°)
OKLaboklab(88.19% -0.0236 0.1524)
OKLCHoklch(88.19% 0.154 98.8)
XYZxyz(62.8816, 69.0851, 17.6104)
Luminance0.6908 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D950 #5069F2
analogous
#F28850 #F2D950 #BAF250
triadic
#F2D950 #50F2D9 #D950F2
tetradic
#F2D950 #50F288 #5069F2 #F250BA
square
#F2D950 #50F288 #5069F2 #F250BA
split-complementary
#F2D950 #50BAF2 #8850F2
monochromatic
#BA9F0E #EECD17 #F2D950 #F6E589 #FAF2C2

Accessibility & contrast

On white

1.42
#F2D950 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.82
#F2D950 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D950
14.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D950#FFFFFF#000000##000000
##F2D9501.001.4214.8214.82
#FFFFFF1.421.0021.0021.00
#00000014.8221.001.001.00
##00000014.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD43E
Deuteranopia (green-blind)
#F4DC58
Tritanopia (blue-blind)
#FFCABD
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #f2d950;
/* rgb */ color: rgb(242, 217, 80);
/* oklch */ color: oklch(88.2% 0.154 98.8);
Tailwind
colors: {
  custom: {
    50: '#fae488',
    500: '#f2d950',
    950: '#000000',
  },
}
SCSS
$custom: #f2d950;
$custom-light: #fae488;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d950",
  "rgb": {
    "r": 242,
    "g": 217,
    "b": 80
  },
  "hsl": {
    "h": 50.741,
    "s": 86.17,
    "l": 63.137
  },
  "oklch": {
    "l": 0.88188,
    "c": 0.15424,
    "h": 98.8
  },
  "luminance": 0.69082
}

Semantic roles & 50–950 ramp

primary
#F2D950
secondary
#2E43B9
accent
#25E303
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #F2D950

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

Preview Lab → · Contrast checker → · Palette generator →

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