#F7F267#F7F267

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

Color values

HEX#F7F267
RGBrgb(247, 242, 103)
HSLhsl(58, 90%, 69%)
HSVhsv(58, 58%, 97%)
CMYKcmyk(0%, 2%, 58.3%, 3.1%)
CIE-LABlab(93.56, -15.28, 65.99)
CIE-LCHlch(93.56, 67.74, 103.04°)
OKLaboklab(93.92% -0.0468 0.1517)
OKLCHoklch(93.92% 0.159 107.2)
XYZxyz(72.5604, 84.2599, 25.2709)
Luminance0.8426 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7F267 #676CF7
analogous
#F7AA67 #F7F267 #B4F767
triadic
#F7F267 #67F7F2 #F267F7
tetradic
#F7F267 #67F7AA #676CF7 #F767B4
square
#F7F267 #67F7AA #676CF7 #F767B4
split-complementary
#F7F267 #67B4F7 #AA67F7
monochromatic
#D8D10B #F4ED2D #F7F267 #FAF7A1 #FDFCDB

Accessibility & contrast

On white

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

On black

17.85
#F7F267 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7F267
17.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7F267#FFFFFF#000000##000000
##F7F2671.001.1817.8517.85
#FFFFFF1.181.0021.0021.00
#00000017.8521.001.001.00
##00000017.8521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f7f267;
/* rgb */ color: rgb(247, 242, 103);
/* oklch */ color: oklch(93.9% 0.159 107.2);
Tailwind
colors: {
  custom: {
    50: '#fdf697',
    500: '#f7f267',
    950: '#000000',
  },
}
SCSS
$custom: #f7f267;
$custom-light: #fdf697;
$custom-dark: #000000;
JSON
{
  "hex": "#f7f267",
  "rgb": {
    "r": 247,
    "g": 242,
    "b": 103
  },
  "hsl": {
    "h": 57.917,
    "s": 90,
    "l": 68.627
  },
  "oklch": {
    "l": 0.93923,
    "c": 0.15875,
    "h": 107.2
  },
  "luminance": 0.84258
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F7F267

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

Preview Lab → · Contrast checker → · Palette generator →

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