#F7F268#F7F268

#F7F268 is a very light, vivid yellow. Relative luminance 0.843; OKLCH L 93.9% C 0.158 H 107.1°. Best body text is #000000 at 17.86:1 contrast (WCAG AA passes).

Color values

HEX#F7F268
RGBrgb(247, 242, 104)
HSLhsl(58, 90%, 69%)
HSVhsv(58, 58%, 97%)
CMYKcmyk(0%, 2%, 57.9%, 3.1%)
CIE-LABlab(93.57, -15.21, 65.58)
CIE-LCHlch(93.57, 67.32, 103.06°)
OKLaboklab(93.93% -0.0465 0.1509)
OKLCHoklch(93.93% 0.158 107.1)
XYZxyz(72.6109, 84.2801, 25.5368)
Luminance0.8428 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7F268 #686DF7
analogous
#F7AB68 #F7F268 #B5F768
triadic
#F7F268 #68F7F2 #F268F7
tetradic
#F7F268 #68F7AB #686DF7 #F768B5
square
#F7F268 #68F7AB #686DF7 #F768B5
split-complementary
#F7F268 #68B5F7 #AB68F7
monochromatic
#D9D20C #F4ED2E #F7F268 #FAF7A2 #FDFCDC

Accessibility & contrast

On white

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

On black

17.86
#F7F268 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7F268
17.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7F268#FFFFFF#000000##000000
##F7F2681.001.1817.8617.86
#FFFFFF1.181.0021.0021.00
#00000017.8621.001.001.00
##00000017.8621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f7f268;
/* rgb */ color: rgb(247, 242, 104);
/* oklch */ color: oklch(93.9% 0.158 107.1);
Tailwind
colors: {
  custom: {
    50: '#fdf698',
    500: '#f7f268',
    950: '#000000',
  },
}
SCSS
$custom: #f7f268;
$custom-light: #fdf698;
$custom-dark: #000000;
JSON
{
  "hex": "#f7f268",
  "rgb": {
    "r": 247,
    "g": 242,
    "b": 104
  },
  "hsl": {
    "h": 57.902,
    "s": 89.937,
    "l": 68.824
  },
  "oklch": {
    "l": 0.93933,
    "c": 0.15794,
    "h": 107.1
  },
  "luminance": 0.84278
}

Semantic roles & 50–950 ramp

primary
#F7F268
secondary
#3338D1
accent
#08E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F7F268

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

Preview Lab → · Contrast checker → · Palette generator →

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