#F0E05E#F0E05E

#F0E05E is a very light, vivid yellow. Relative luminance 0.726; OKLCH L 89.6% C 0.150 H 102.3°. Best body text is #000000 at 15.53:1 contrast (WCAG AA passes).

Color values

HEX#F0E05E
RGBrgb(240, 224, 94)
HSLhsl(53, 83%, 65%)
HSVhsv(53, 61%, 94%)
CMYKcmyk(0%, 6.7%, 60.8%, 5.9%)
CIE-LABlab(88.28, -9.84, 63.86)
CIE-LCHlch(88.28, 64.61, 98.76°)
OKLaboklab(89.56% -0.0319 0.1461)
OKLCHoklch(89.56% 0.15 102.3)
XYZxyz(64.6136, 72.6472, 21.2063)
Luminance0.7265 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0E05E #5E6EF0
analogous
#F0975E #F0E05E #B7F05E
triadic
#F0E05E #5EF0E0 #E05EF0
tetradic
#F0E05E #5EF097 #5E6EF0 #F05EB7
square
#F0E05E #5EF097 #5E6EF0 #F05EB7
split-complementary
#F0E05E #5EB7F0 #975EF0
monochromatic
#C2AE12 #EBD526 #F0E05E #F5EB96 #FAF6CE

Accessibility & contrast

On white

1.35
#F0E05E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.53
#F0E05E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0E05E
15.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0E05E#FFFFFF#000000##000000
##F0E05E1.001.3515.5315.53
#FFFFFF1.351.0021.0021.00
#00000015.5321.001.001.00
##00000015.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3D94F
Deuteranopia (green-blind)
#F8E165
Tritanopia (blue-blind)
#FFD2C4
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #f0e05e;
/* rgb */ color: rgb(240, 224, 94);
/* oklch */ color: oklch(89.6% 0.150 102.3);
Tailwind
colors: {
  custom: {
    50: '#f8e991',
    500: '#f0e05e',
    950: '#000000',
  },
}
SCSS
$custom: #f0e05e;
$custom-light: #f8e991;
$custom-dark: #000000;
JSON
{
  "hex": "#f0e05e",
  "rgb": {
    "r": 240,
    "g": 224,
    "b": 94
  },
  "hsl": {
    "h": 53.425,
    "s": 82.955,
    "l": 65.49
  },
  "oklch": {
    "l": 0.89558,
    "c": 0.14958,
    "h": 102.3
  },
  "luminance": 0.72645
}

Semantic roles & 50–950 ramp

primary
#F0E05E
secondary
#3342BF
accent
#1EDF06
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #F0E05E

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

Preview Lab → · Contrast checker → · Palette generator →

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