#F2D460#F2D460

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

Color values

HEX#F2D460
RGBrgb(242, 212, 96)
HSLhsl(48, 85%, 66%)
HSVhsv(48, 60%, 95%)
CMYKcmyk(0%, 12.4%, 60.3%, 5.1%)
CIE-LABlab(85.41, -2.83, 59.88)
CIE-LCHlch(85.41, 59.95, 92.71°)
OKLaboklab(87.33% -0.0117 0.1379)
OKLCHoklch(87.33% 0.138 94.9)
XYZxyz(62.2755, 66.8118, 20.6798)
Luminance0.6681 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D460 #607EF2
analogous
#F28B60 #F2D460 #C7F260
triadic
#F2D460 #60F2D4 #D460F2
tetradic
#F2D460 #60F28B #607EF2 #F260C7
square
#F2D460 #60F28B #607EF2 #F260C7
split-complementary
#F2D460 #60C7F2 #8B60F2
monochromatic
#C7A210 #EDC527 #F2D460 #F7E399 #FBF3D1

Accessibility & contrast

On white

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

On black

14.36
#F2D460 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D460
14.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D460#FFFFFF#000000##000000
##F2D4601.001.4614.3614.36
#FFFFFF1.461.0021.0021.00
#00000014.3621.001.001.00
##00000014.3621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2d460;
/* rgb */ color: rgb(242, 212, 96);
/* oklch */ color: oklch(87.3% 0.138 94.9);
Tailwind
colors: {
  custom: {
    50: '#fae091',
    500: '#f2d460',
    950: '#000000',
  },
}
SCSS
$custom: #f2d460;
$custom-light: #fae091;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d460",
  "rgb": {
    "r": 242,
    "g": 212,
    "b": 96
  },
  "hsl": {
    "h": 47.671,
    "s": 84.884,
    "l": 66.275
  },
  "oklch": {
    "l": 0.8733,
    "c": 0.13838,
    "h": 94.9
  },
  "luminance": 0.66809
}

Semantic roles & 50–950 ramp

primary
#F2D460
secondary
#3250C4
accent
#32E104
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F2D460

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

Preview Lab → · Contrast checker → · Palette generator →

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