#F7F265#F7F265

#F7F265 is a very light, vivid yellow. Relative luminance 0.842; OKLCH L 93.9% C 0.160 H 107.2°. Best body text is #000000 at 17.84:1 contrast (WCAG AA passes).

Color values

HEX#F7F265
RGBrgb(247, 242, 101)
HSLhsl(58, 90%, 68%)
HSVhsv(58, 59%, 97%)
CMYKcmyk(0%, 2%, 59.1%, 3.1%)
CIE-LABlab(93.55, -15.42, 66.82)
CIE-LCHlch(93.55, 68.57, 102.99°)
OKLaboklab(93.9% -0.0474 0.1532)
OKLCHoklch(93.9% 0.16 107.2)
XYZxyz(72.4612, 84.2202, 24.7485)
Luminance0.8422 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7F265 #656AF7
analogous
#F7A965 #F7F265 #B3F765
triadic
#F7F265 #65F7F2 #F265F7
tetradic
#F7F265 #65F7A9 #656AF7 #F765B3
square
#F7F265 #65F7A9 #656AF7 #F765B3
split-complementary
#F7F265 #65B3F7 #A965F7
monochromatic
#D6CF0B #F4ED2B #F7F265 #FAF79F #FDFCD9

Accessibility & contrast

On white

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

On black

17.84
#F7F265 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7F265
17.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7F265#FFFFFF#000000##000000
##F7F2651.001.1817.8417.84
#FFFFFF1.181.0021.0021.00
#00000017.8421.001.001.00
##00000017.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE955
Deuteranopia (green-blind)
#FFEF6D
Tritanopia (blue-blind)
#FFE4D4
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #f7f265;
/* rgb */ color: rgb(247, 242, 101);
/* oklch */ color: oklch(93.9% 0.160 107.2);
Tailwind
colors: {
  custom: {
    50: '#fdf696',
    500: '#f7f265',
    950: '#000000',
  },
}
SCSS
$custom: #f7f265;
$custom-light: #fdf696;
$custom-dark: #000000;
JSON
{
  "hex": "#f7f265",
  "rgb": {
    "r": 247,
    "g": 242,
    "b": 101
  },
  "hsl": {
    "h": 57.945,
    "s": 90.123,
    "l": 68.235
  },
  "oklch": {
    "l": 0.93904,
    "c": 0.16036,
    "h": 107.2
  },
  "luminance": 0.84218
}

Semantic roles & 50–950 ramp

primary
#F7F265
secondary
#3036D0
accent
#08E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F7F265

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

Preview Lab → · Contrast checker → · Palette generator →

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