#F2D261#F2D261

#F2D261 is a very light, vivid yellow. Relative luminance 0.658; OKLCH L 86.9% C 0.136 H 93.6°. Best body text is #000000 at 14.17:1 contrast (WCAG AA passes).

Color values

HEX#F2D261
RGBrgb(242, 210, 97)
HSLhsl(47, 85%, 66%)
HSVhsv(47, 60%, 95%)
CMYKcmyk(0%, 13.2%, 59.9%, 5.1%)
CIE-LABlab(84.91, -1.75, 58.88)
CIE-LCHlch(84.91, 58.91, 91.70°)
OKLaboklab(86.94% -0.0085 0.1359)
OKLCHoklch(86.94% 0.136 93.6)
XYZxyz(61.8249, 65.8366, 20.7582)
Luminance0.6583 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D261 #6181F2
analogous
#F28A61 #F2D261 #C9F261
triadic
#F2D261 #61F2D2 #D261F2
tetradic
#F2D261 #61F28A #6181F2 #F261C9
square
#F2D261 #61F28A #6181F2 #F261C9
split-complementary
#F2D261 #61C9F2 #8A61F2
monochromatic
#C8A010 #EDC228 #F2D261 #F7E29A #FBF2D2

Accessibility & contrast

On white

1.48
#F2D261 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.17
#F2D261 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D261
14.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D261#FFFFFF#000000##000000
##F2D2611.001.4814.1714.17
#FFFFFF1.481.0021.0021.00
#00000014.1721.001.001.00
##00000014.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CE55
Deuteranopia (green-blind)
#EED866
Tritanopia (blue-blind)
#FFC3B9
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #f2d261;
/* rgb */ color: rgb(242, 210, 97);
/* oklch */ color: oklch(86.9% 0.136 93.6);
Tailwind
colors: {
  custom: {
    50: '#f9df92',
    500: '#f2d261',
    950: '#000000',
  },
}
SCSS
$custom: #f2d261;
$custom-light: #f9df92;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d261",
  "rgb": {
    "r": 242,
    "g": 210,
    "b": 97
  },
  "hsl": {
    "h": 46.759,
    "s": 84.795,
    "l": 66.471
  },
  "oklch": {
    "l": 0.86942,
    "c": 0.13613,
    "h": 93.6
  },
  "luminance": 0.65833
}

Semantic roles & 50–950 ramp

primary
#F2D261
secondary
#3253C5
accent
#35E104
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F2D261

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

Preview Lab → · Contrast checker → · Palette generator →

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