#F0E05F#F0E05F

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

Color values

HEX#F0E05F
RGBrgb(240, 224, 95)
HSLhsl(53, 83%, 66%)
HSVhsv(53, 60%, 94%)
CMYKcmyk(0%, 6.7%, 60.4%, 5.9%)
CIE-LABlab(88.29, -9.77, 63.44)
CIE-LCHlch(88.29, 64.19, 98.76°)
OKLaboklab(89.57% -0.0316 0.1454)
OKLCHoklch(89.57% 0.149 102.3)
XYZxyz(64.6588, 72.6653, 21.4442)
Luminance0.7266 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0E05F #5F6FF0
analogous
#F0975F #F0E05F #B8F05F
triadic
#F0E05F #5FF0E0 #E05FF0
tetradic
#F0E05F #5FF097 #5F6FF0 #F05FB8
square
#F0E05F #5FF097 #5F6FF0 #F05FB8
split-complementary
#F0E05F #5FB8F0 #975FF0
monochromatic
#C2AF12 #EBD527 #F0E05F #F5EB97 #FAF6CF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F0E05F#FFFFFF#000000##000000
##F0E05F1.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)
#F3D950
Deuteranopia (green-blind)
#F8E166
Tritanopia (blue-blind)
#FFD2C4
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #f0e05f;
/* rgb */ color: rgb(240, 224, 95);
/* oklch */ color: oklch(89.6% 0.149 102.3);
Tailwind
colors: {
  custom: {
    50: '#f8e991',
    500: '#f0e05f',
    950: '#000000',
  },
}
SCSS
$custom: #f0e05f;
$custom-light: #f8e991;
$custom-dark: #000000;
JSON
{
  "hex": "#f0e05f",
  "rgb": {
    "r": 240,
    "g": 224,
    "b": 95
  },
  "hsl": {
    "h": 53.379,
    "s": 82.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.89568,
    "c": 0.14879,
    "h": 102.3
  },
  "luminance": 0.72663
}

Semantic roles & 50–950 ramp

primary
#F0E05F
secondary
#3343C0
accent
#1EDF06
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #F0E05F

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

Preview Lab → · Contrast checker → · Palette generator →

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