#F0E35E#F0E35E

#F0E35E is a very light, vivid yellow. Relative luminance 0.743; OKLCH L 90.2% C 0.152 H 103.7°. Best body text is #000000 at 15.85:1 contrast (WCAG AA passes).

Color values

HEX#F0E35E
RGBrgb(240, 227, 94)
HSLhsl(55, 83%, 65%)
HSVhsv(55, 61%, 94%)
CMYKcmyk(0%, 5.4%, 60.8%, 5.9%)
CIE-LABlab(89.05, -11.33, 64.70)
CIE-LCHlch(89.05, 65.69, 99.93°)
OKLaboklab(90.17% -0.0362 0.1479)
OKLCHoklch(90.17% 0.152 103.7)
XYZxyz(65.4270, 74.2740, 21.4774)
Luminance0.7427 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0E35E #5E6BF0
analogous
#F09A5E #F0E35E #B4F05E
triadic
#F0E35E #5EF0E3 #E35EF0
tetradic
#F0E35E #5EF09A #5E6BF0 #F05EB4
square
#F0E35E #5EF09A #5E6BF0 #F05EB4
split-complementary
#F0E35E #5EB4F0 #9A5EF0
monochromatic
#C2B212 #EBD926 #F0E35E #F5ED96 #FAF6CE

Accessibility & contrast

On white

1.32
#F0E35E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.85
#F0E35E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0E35E
15.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0E35E#FFFFFF#000000##000000
##F0E35E1.001.3215.8515.85
#FFFFFF1.321.0021.0021.00
#00000015.8521.001.001.00
##00000015.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DC4F
Deuteranopia (green-blind)
#FAE365
Tritanopia (blue-blind)
#FFD5C7
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #f0e35e;
/* rgb */ color: rgb(240, 227, 94);
/* oklch */ color: oklch(90.2% 0.152 103.7);
Tailwind
colors: {
  custom: {
    50: '#f8eb91',
    500: '#f0e35e',
    950: '#000000',
  },
}
SCSS
$custom: #f0e35e;
$custom-light: #f8eb91;
$custom-dark: #000000;
JSON
{
  "hex": "#f0e35e",
  "rgb": {
    "r": 240,
    "g": 227,
    "b": 94
  },
  "hsl": {
    "h": 54.658,
    "s": 82.955,
    "l": 65.49
  },
  "oklch": {
    "l": 0.90172,
    "c": 0.15229,
    "h": 103.7
  },
  "luminance": 0.74272
}

Semantic roles & 50–950 ramp

primary
#F0E35E
secondary
#333FBF
accent
#19DF06
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #F0E35E

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

Preview Lab → · Contrast checker → · Palette generator →

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