#F5F267#F5F267

#F5F267 is a very light, vivid yellow. Relative luminance 0.839; OKLCH L 93.8% C 0.159 H 107.9°. Best body text is #000000 at 17.78:1 contrast (WCAG AA passes).

Color values

HEX#F5F267
RGBrgb(245, 242, 103)
HSLhsl(59, 88%, 68%)
HSVhsv(59, 58%, 96%)
CMYKcmyk(0%, 1.2%, 58%, 3.9%)
CIE-LABlab(93.41, -16.08, 65.78)
CIE-LCHlch(93.41, 67.71, 103.74°)
OKLaboklab(93.76% -0.049 0.1513)
OKLCHoklch(93.76% 0.159 107.9)
XYZxyz(71.8587, 83.8981, 25.2380)
Luminance0.8390 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5F267 #676AF5
analogous
#F5AB67 #F5F267 #B1F567
triadic
#F5F267 #67F5F2 #F267F5
tetradic
#F5F267 #67F5AB #676AF5 #F567B1
square
#F5F267 #67F5AB #676AF5 #F567B1
split-complementary
#F5F267 #67B1F5 #AB67F5
monochromatic
#D4CF0E #F1ED2E #F5F267 #F9F7A0 #FDFCDA

Accessibility & contrast

On white

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

On black

17.78
#F5F267 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5F267
17.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5F267#FFFFFF#000000##000000
##F5F2671.001.1817.7817.78
#FFFFFF1.181.0021.0021.00
#00000017.7821.001.001.00
##00000017.7821.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: #f5f267;
/* rgb */ color: rgb(245, 242, 103);
/* oklch */ color: oklch(93.8% 0.159 107.9);
Tailwind
colors: {
  custom: {
    50: '#fbf697',
    500: '#f5f267',
    950: '#000000',
  },
}
SCSS
$custom: #f5f267;
$custom-light: #fbf697;
$custom-dark: #000000;
JSON
{
  "hex": "#f5f267",
  "rgb": {
    "r": 245,
    "g": 242,
    "b": 103
  },
  "hsl": {
    "h": 58.732,
    "s": 87.654,
    "l": 68.235
  },
  "oklch": {
    "l": 0.9376,
    "c": 0.159,
    "h": 107.9
  },
  "luminance": 0.83896
}

Semantic roles & 50–950 ramp

primary
#F5F267
secondary
#3236CE
accent
#06E401
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F5F267

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

Preview Lab → · Contrast checker → · Palette generator →

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