#F0E35F#F0E35F

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

Color values

HEX#F0E35F
RGBrgb(240, 227, 95)
HSLhsl(55, 83%, 66%)
HSVhsv(55, 60%, 94%)
CMYKcmyk(0%, 5.4%, 60.4%, 5.9%)
CIE-LABlab(89.06, -11.27, 64.29)
CIE-LCHlch(89.06, 65.27, 99.94°)
OKLaboklab(90.18% -0.0359 0.1472)
OKLCHoklch(90.18% 0.151 103.7)
XYZxyz(65.4722, 74.2921, 21.7153)
Luminance0.7429 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0E35F #5F6CF0
analogous
#F09A5F #F0E35F #B4F05F
triadic
#F0E35F #5FF0E3 #E35FF0
tetradic
#F0E35F #5FF09A #5F6CF0 #F05FB4
square
#F0E35F #5FF09A #5F6CF0 #F05FB4
split-complementary
#F0E35F #5FB4F0 #9A5FF0
monochromatic
#C2B312 #EBD927 #F0E35F #F5ED97 #FAF7CF

Accessibility & contrast

On white

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

On black

15.86
#F0E35F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0E35F
15.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0E35F#FFFFFF#000000##000000
##F0E35F1.001.3215.8615.86
#FFFFFF1.321.0021.0021.00
#00000015.8621.001.001.00
##00000015.8621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f0e35f;
/* rgb */ color: rgb(240, 227, 95);
/* oklch */ color: oklch(90.2% 0.151 103.7);
Tailwind
colors: {
  custom: {
    50: '#f8eb91',
    500: '#f0e35f',
    950: '#000000',
  },
}
SCSS
$custom: #f0e35f;
$custom-light: #f8eb91;
$custom-dark: #000000;
JSON
{
  "hex": "#f0e35f",
  "rgb": {
    "r": 240,
    "g": 227,
    "b": 95
  },
  "hsl": {
    "h": 54.621,
    "s": 82.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.90182,
    "c": 0.15149,
    "h": 103.7
  },
  "luminance": 0.7429
}

Semantic roles & 50–950 ramp

primary
#F0E35F
secondary
#3340C0
accent
#1ADF06
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #F0E35F

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

Preview Lab → · Contrast checker → · Palette generator →

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