#F2D760#F2D760

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

Color values

HEX#F2D760
RGBrgb(242, 215, 96)
HSLhsl(49, 85%, 66%)
HSVhsv(49, 60%, 95%)
CMYKcmyk(0%, 11.2%, 60.3%, 5.1%)
CIE-LABlab(86.17, -4.36, 60.72)
CIE-LCHlch(86.17, 60.88, 94.11°)
OKLaboklab(87.93% -0.0161 0.1397)
OKLCHoklch(87.93% 0.141 96.6)
XYZxyz(63.0324, 68.3256, 20.9321)
Luminance0.6832 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D760 #607BF2
analogous
#F28E60 #F2D760 #C4F260
triadic
#F2D760 #60F2D7 #D760F2
tetradic
#F2D760 #60F28E #607BF2 #F260C4
square
#F2D760 #60F28E #607BF2 #F260C4
split-complementary
#F2D760 #60C4F2 #8E60F2
monochromatic
#C7A510 #EDC927 #F2D760 #F7E599 #FBF3D1

Accessibility & contrast

On white

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

On black

14.66
#F2D760 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D760
14.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D760#FFFFFF#000000##000000
##F2D7601.001.4314.6614.66
#FFFFFF1.431.0021.0021.00
#00000014.6621.001.001.00
##00000014.6621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2d760;
/* rgb */ color: rgb(242, 215, 96);
/* oklch */ color: oklch(87.9% 0.141 96.6);
Tailwind
colors: {
  custom: {
    50: '#f9e391',
    500: '#f2d760',
    950: '#000000',
  },
}
SCSS
$custom: #f2d760;
$custom-light: #f9e391;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d760",
  "rgb": {
    "r": 242,
    "g": 215,
    "b": 96
  },
  "hsl": {
    "h": 48.904,
    "s": 84.884,
    "l": 66.275
  },
  "oklch": {
    "l": 0.87932,
    "c": 0.14061,
    "h": 96.6
  },
  "luminance": 0.68323
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F2D760

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

Preview Lab → · Contrast checker → · Palette generator →

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