#F2D761#F2D761

#F2D761 is a very light, vivid yellow. Relative luminance 0.683; OKLCH L 87.9% C 0.140 H 96.5°. Best body text is #000000 at 14.67:1 contrast (WCAG AA passes).

Color values

HEX#F2D761
RGBrgb(242, 215, 97)
HSLhsl(49, 85%, 66%)
HSVhsv(49, 60%, 95%)
CMYKcmyk(0%, 11.2%, 59.9%, 5.1%)
CIE-LABlab(86.18, -4.29, 60.29)
CIE-LCHlch(86.18, 60.45, 94.07°)
OKLaboklab(87.94% -0.0158 0.1389)
OKLCHoklch(87.94% 0.14 96.5)
XYZxyz(63.0787, 68.3441, 21.1761)
Luminance0.6834 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D761 #617CF2
analogous
#F28F61 #F2D761 #C4F261
triadic
#F2D761 #61F2D7 #D761F2
tetradic
#F2D761 #61F28F #617CF2 #F261C4
square
#F2D761 #61F28F #617CF2 #F261C4
split-complementary
#F2D761 #61C4F2 #8F61F2
monochromatic
#C8A610 #EDC928 #F2D761 #F7E59A #FBF4D2

Accessibility & contrast

On white

1.43
#F2D761 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.67
#F2D761 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D761
14.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D761#FFFFFF#000000##000000
##F2D7611.001.4314.6714.67
#FFFFFF1.431.0021.0021.00
#00000014.6721.001.001.00
##00000014.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD254
Deuteranopia (green-blind)
#F1DB67
Tritanopia (blue-blind)
#FFC8BD
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #f2d761;
/* rgb */ color: rgb(242, 215, 97);
/* oklch */ color: oklch(87.9% 0.140 96.5);
Tailwind
colors: {
  custom: {
    50: '#f9e392',
    500: '#f2d761',
    950: '#000000',
  },
}
SCSS
$custom: #f2d761;
$custom-light: #f9e392;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d761",
  "rgb": {
    "r": 242,
    "g": 215,
    "b": 97
  },
  "hsl": {
    "h": 48.828,
    "s": 84.795,
    "l": 66.471
  },
  "oklch": {
    "l": 0.87942,
    "c": 0.13979,
    "h": 96.5
  },
  "luminance": 0.68341
}

Semantic roles & 50–950 ramp

primary
#F2D761
secondary
#324EC5
accent
#2DE104
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F2D761

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

Preview Lab → · Contrast checker → · Palette generator →

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