#F0E267#F0E267

#F0E267 is a very light, vivid yellow. Relative luminance 0.739; OKLCH L 90.1% C 0.144 H 102.8°. Best body text is #000000 at 15.78:1 contrast (WCAG AA passes).

Color values

HEX#F0E267
RGBrgb(240, 226, 103)
HSLhsl(54, 82%, 67%)
HSVhsv(54, 57%, 94%)
CMYKcmyk(0%, 5.8%, 57.1%, 5.9%)
CIE-LABlab(88.88, -10.22, 60.62)
CIE-LCHlch(88.88, 61.47, 99.57°)
OKLaboklab(90.06% -0.032 0.1404)
OKLCHoklch(90.06% 0.144 102.8)
XYZxyz(65.5820, 73.8996, 23.6388)
Luminance0.7390 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0E267 #6775F0
analogous
#F09E67 #F0E267 #B9F067
triadic
#F0E267 #67F0E2 #E267F0
tetradic
#F0E267 #67F09E #6775F0 #F067B9
square
#F0E267 #67F09E #6775F0 #F067B9
split-complementary
#F0E267 #67B9F0 #9E67F0
monochromatic
#C9B614 #EBD72F #F0E267 #F5ED9F #FBF7D6

Accessibility & contrast

On white

1.33
#F0E267 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.78
#F0E267 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0E267
15.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0E267#FFFFFF#000000##000000
##F0E2671.001.3315.7815.78
#FFFFFF1.331.0021.0021.00
#00000015.7821.001.001.00
##00000015.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DB5A
Deuteranopia (green-blind)
#F9E26D
Tritanopia (blue-blind)
#FFD4C7
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #f0e267;
/* rgb */ color: rgb(240, 226, 103);
/* oklch */ color: oklch(90.1% 0.144 102.8);
Tailwind
colors: {
  custom: {
    50: '#f8ea96',
    500: '#f0e267',
    950: '#000000',
  },
}
SCSS
$custom: #f0e267;
$custom-light: #f8ea96;
$custom-dark: #000000;
JSON
{
  "hex": "#f0e267",
  "rgb": {
    "r": 240,
    "g": 226,
    "b": 103
  },
  "hsl": {
    "h": 53.869,
    "s": 82.036,
    "l": 67.255
  },
  "oklch": {
    "l": 0.90058,
    "c": 0.14395,
    "h": 102.8
  },
  "luminance": 0.73897
}

Semantic roles & 50–950 ramp

primary
#F0E267
secondary
#3544C6
accent
#1DDE07
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F0E267

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

Preview Lab → · Contrast checker → · Palette generator →

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