#F2D968#F2D968

#F2D968 is a very light, vivid yellow. Relative luminance 0.695; OKLCH L 88.4% C 0.135 H 97.0°. Best body text is #000000 at 14.90:1 contrast (WCAG AA passes).

Color values

HEX#F2D968
RGBrgb(242, 217, 104)
HSLhsl(49, 84%, 68%)
HSVhsv(49, 57%, 95%)
CMYKcmyk(0%, 10.3%, 57%, 5.1%)
CIE-LABlab(86.75, -4.81, 57.81)
CIE-LCHlch(86.75, 58.01, 94.76°)
OKLaboklab(88.42% -0.0165 0.1344)
OKLCHoklch(88.42% 0.135 97)
XYZxyz(63.9320, 69.5052, 23.1423)
Luminance0.6950 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D968 #6881F2
analogous
#F29468 #F2D968 #C6F268
triadic
#F2D968 #68F2D9 #D968F2
tetradic
#F2D968 #68F294 #6881F2 #F268C6
square
#F2D968 #68F294 #6881F2 #F268C6
split-complementary
#F2D968 #68C6F2 #9468F2
monochromatic
#CEAC12 #EDCB30 #F2D968 #F7E7A0 #FCF5D9

Accessibility & contrast

On white

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

On black

14.90
#F2D968 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D968
14.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D968#FFFFFF#000000##000000
##F2D9681.001.4114.9014.90
#FFFFFF1.411.0021.0021.00
#00000014.9021.001.001.00
##00000014.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD45D
Deuteranopia (green-blind)
#F2DD6D
Tritanopia (blue-blind)
#FFCBC0
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #f2d968;
/* rgb */ color: rgb(242, 217, 104);
/* oklch */ color: oklch(88.4% 0.135 97.0);
Tailwind
colors: {
  custom: {
    50: '#f9e496',
    500: '#f2d968',
    950: '#000000',
  },
}
SCSS
$custom: #f2d968;
$custom-light: #f9e496;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d968",
  "rgb": {
    "r": 242,
    "g": 217,
    "b": 104
  },
  "hsl": {
    "h": 49.13,
    "s": 84.146,
    "l": 67.843
  },
  "oklch": {
    "l": 0.88419,
    "c": 0.13541,
    "h": 97
  },
  "luminance": 0.69502
}

Semantic roles & 50–950 ramp

primary
#F2D968
secondary
#344FCA
accent
#2DE105
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F2D968

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

Preview Lab → · Contrast checker → · Palette generator →

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