#F0F267#F0F267

#F0F267 is a very light, vivid yellow. Relative luminance 0.830; OKLCH L 93.4% C 0.160 H 109.9°. Best body text is #000000 at 17.60:1 contrast (WCAG AA passes).

Color values

HEX#F0F267
RGBrgb(240, 242, 103)
HSLhsl(61, 84%, 68%)
HSVhsv(61, 57%, 95%)
CMYKcmyk(0.8%, 0%, 57.4%, 5.1%)
CIE-LABlab(93.02, -18.08, 65.24)
CIE-LCHlch(93.02, 67.70, 105.49°)
OKLaboklab(93.36% -0.0544 0.1502)
OKLCHoklch(93.36% 0.16 109.9)
XYZxyz(70.1374, 83.0106, 25.1573)
Luminance0.8301 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0F267 #6967F2
analogous
#F2AE67 #F0F267 #ABF267
triadic
#F0F267 #67F0F2 #F267F0
tetradic
#F0F267 #67F2AE #6967F2 #F267AB
square
#F0F267 #67F2AE #6967F2 #F267AB
split-complementary
#F0F267 #67ABF2 #AE67F2
monochromatic
#CACD12 #EAED2F #F0F267 #F6F79F #FBFCD8

Accessibility & contrast

On white

1.19
#F0F267 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.60
#F0F267 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0F267
17.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0F267#FFFFFF#000000##000000
##F0F2671.001.1917.6017.60
#FFFFFF1.191.0021.0021.00
#00000017.6021.001.001.00
##00000017.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE958
Deuteranopia (green-blind)
#FFED6F
Tritanopia (blue-blind)
#FFE4D4
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #f0f267;
/* rgb */ color: rgb(240, 242, 103);
/* oklch */ color: oklch(93.4% 0.160 109.9);
Tailwind
colors: {
  custom: {
    50: '#f8f697',
    500: '#f0f267',
    950: '#000000',
  },
}
SCSS
$custom: #f0f267;
$custom-light: #f8f697;
$custom-dark: #000000;
JSON
{
  "hex": "#f0f267",
  "rgb": {
    "r": 240,
    "g": 242,
    "b": 103
  },
  "hsl": {
    "h": 60.863,
    "s": 84.242,
    "l": 67.647
  },
  "oklch": {
    "l": 0.93357,
    "c": 0.15976,
    "h": 109.9
  },
  "luminance": 0.83009
}

Semantic roles & 50–950 ramp

primary
#F0F267
secondary
#3634C9
accent
#05E108
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F0F267

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

Preview Lab → · Contrast checker → · Palette generator →

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