#F2D461#F2D461

#F2D461 is a very light, vivid yellow. Relative luminance 0.668; OKLCH L 87.3% C 0.138 H 94.8°. Best body text is #000000 at 14.37:1 contrast (WCAG AA passes).

Color values

HEX#F2D461
RGBrgb(242, 212, 97)
HSLhsl(48, 85%, 66%)
HSVhsv(48, 60%, 95%)
CMYKcmyk(0%, 12.4%, 59.9%, 5.1%)
CIE-LABlab(85.42, -2.77, 59.45)
CIE-LCHlch(85.42, 59.51, 92.66°)
OKLaboklab(87.34% -0.0114 0.1371)
OKLCHoklch(87.34% 0.138 94.8)
XYZxyz(62.3218, 66.8303, 20.9238)
Luminance0.6683 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D461 #617FF2
analogous
#F28C61 #F2D461 #C8F261
triadic
#F2D461 #61F2D4 #D461F2
tetradic
#F2D461 #61F28C #617FF2 #F261C8
square
#F2D461 #61F28C #617FF2 #F261C8
split-complementary
#F2D461 #61C8F2 #8C61F2
monochromatic
#C8A210 #EDC528 #F2D461 #F7E39A #FBF3D2

Accessibility & contrast

On white

1.46
#F2D461 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.37
#F2D461 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D461
14.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D461#FFFFFF#000000##000000
##F2D4611.001.4614.3714.37
#FFFFFF1.461.0021.0021.00
#00000014.3721.001.001.00
##00000014.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D055
Deuteranopia (green-blind)
#EFD966
Tritanopia (blue-blind)
#FFC5BB
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #f2d461;
/* rgb */ color: rgb(242, 212, 97);
/* oklch */ color: oklch(87.3% 0.138 94.8);
Tailwind
colors: {
  custom: {
    50: '#f9e092',
    500: '#f2d461',
    950: '#000000',
  },
}
SCSS
$custom: #f2d461;
$custom-light: #f9e092;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d461",
  "rgb": {
    "r": 242,
    "g": 212,
    "b": 97
  },
  "hsl": {
    "h": 47.586,
    "s": 84.795,
    "l": 66.471
  },
  "oklch": {
    "l": 0.87341,
    "c": 0.13755,
    "h": 94.8
  },
  "luminance": 0.66827
}

Semantic roles & 50–950 ramp

primary
#F2D461
secondary
#3251C5
accent
#32E104
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F2D461

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

Preview Lab → · Contrast checker → · Palette generator →

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