#F0E15F#F0E15F

#F0E15F is a very light, vivid yellow. Relative luminance 0.732; OKLCH L 89.8% C 0.150 H 102.8°. Best body text is #000000 at 15.64:1 contrast (WCAG AA passes).

Color values

HEX#F0E15F
RGBrgb(240, 225, 95)
HSLhsl(54, 83%, 66%)
HSVhsv(54, 60%, 94%)
CMYKcmyk(0%, 6.3%, 60.4%, 5.9%)
CIE-LABlab(88.55, -10.27, 63.73)
CIE-LCHlch(88.55, 64.55, 99.16°)
OKLaboklab(89.77% -0.033 0.146)
OKLCHoklch(89.77% 0.15 102.8)
XYZxyz(64.9284, 73.2044, 21.5340)
Luminance0.7320 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0E15F #5F6EF0
analogous
#F0985F #F0E15F #B6F05F
triadic
#F0E15F #5FF0E1 #E15FF0
tetradic
#F0E15F #5FF098 #5F6EF0 #F05FB6
square
#F0E15F #5FF098 #5F6EF0 #F05FB6
split-complementary
#F0E15F #5FB6F0 #985FF0
monochromatic
#C2B012 #EBD727 #F0E15F #F5EB97 #FAF6CF

Accessibility & contrast

On white

1.34
#F0E15F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.64
#F0E15F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0E15F
15.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0E15F#FFFFFF#000000##000000
##F0E15F1.001.3415.6415.64
#FFFFFF1.341.0021.0021.00
#00000015.6421.001.001.00
##00000015.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DA50
Deuteranopia (green-blind)
#F8E166
Tritanopia (blue-blind)
#FFD3C5
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #f0e15f;
/* rgb */ color: rgb(240, 225, 95);
/* oklch */ color: oklch(89.8% 0.150 102.8);
Tailwind
colors: {
  custom: {
    50: '#f8ea91',
    500: '#f0e15f',
    950: '#000000',
  },
}
SCSS
$custom: #f0e15f;
$custom-light: #f8ea91;
$custom-dark: #000000;
JSON
{
  "hex": "#f0e15f",
  "rgb": {
    "r": 240,
    "g": 225,
    "b": 95
  },
  "hsl": {
    "h": 53.793,
    "s": 82.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.89772,
    "c": 0.14968,
    "h": 102.8
  },
  "luminance": 0.73202
}

Semantic roles & 50–950 ramp

primary
#F0E15F
secondary
#3342C0
accent
#1DDF06
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #F0E15F

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

Preview Lab → · Contrast checker → · Palette generator →

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