#F7F260#F7F260

#F7F260 is a very light, vivid yellow. Relative luminance 0.841; OKLCH L 93.9% C 0.164 H 107.3°. Best body text is #000000 at 17.82:1 contrast (WCAG AA passes).

Color values

HEX#F7F260
RGBrgb(247, 242, 96)
HSLhsl(58, 90%, 67%)
HSVhsv(58, 61%, 97%)
CMYKcmyk(0%, 2%, 61.1%, 3.1%)
CIE-LABlab(93.50, -15.74, 68.84)
CIE-LCHlch(93.50, 70.61, 102.88°)
OKLaboklab(93.86% -0.0489 0.1568)
OKLCHoklch(93.86% 0.164 107.3)
XYZxyz(72.2236, 84.1252, 23.4974)
Luminance0.8412 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7F260 #6065F7
analogous
#F7A660 #F7F260 #B1F760
triadic
#F7F260 #60F7F2 #F260F7
tetradic
#F7F260 #60F7A6 #6065F7 #F760B1
square
#F7F260 #60F7A6 #6065F7 #F760B1
split-complementary
#F7F260 #60B1F7 #A660F7
monochromatic
#D2CB0B #F4ED26 #F7F260 #FAF79A #FDFCD5

Accessibility & contrast

On white

1.18
#F7F260 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.82
#F7F260 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7F260
17.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7F260#FFFFFF#000000##000000
##F7F2601.001.1817.8217.82
#FFFFFF1.181.0021.0021.00
#00000017.8221.001.001.00
##00000017.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE94E
Deuteranopia (green-blind)
#FFEF69
Tritanopia (blue-blind)
#FFE3D3
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #f7f260;
/* rgb */ color: rgb(247, 242, 96);
/* oklch */ color: oklch(93.9% 0.164 107.3);
Tailwind
colors: {
  custom: {
    50: '#fdf693',
    500: '#f7f260',
    950: '#000000',
  },
}
SCSS
$custom: #f7f260;
$custom-light: #fdf693;
$custom-dark: #000000;
JSON
{
  "hex": "#f7f260",
  "rgb": {
    "r": 247,
    "g": 242,
    "b": 96
  },
  "hsl": {
    "h": 58.013,
    "s": 90.419,
    "l": 67.255
  },
  "oklch": {
    "l": 0.93858,
    "c": 0.16424,
    "h": 107.3
  },
  "luminance": 0.84123
}

Semantic roles & 50–950 ramp

primary
#F7F260
secondary
#2E33CD
accent
#08E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170D
muted
#86857F

Preview Lab

Preview with #F7F260

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

Preview Lab → · Contrast checker → · Palette generator →

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