#F0EB56#F0EB56

#F0EB56 is a very light, vivid yellow. Relative luminance 0.786; OKLCH L 91.8% C 0.166 H 107.4°. Best body text is #000000 at 16.72:1 contrast (WCAG AA passes).

Color values

HEX#F0EB56
RGBrgb(240, 235, 86)
HSLhsl(58, 84%, 64%)
HSVhsv(58, 64%, 94%)
CMYKcmyk(0%, 2.1%, 64.2%, 5.9%)
CIE-LABlab(91.06, -15.76, 70.09)
CIE-LCHlch(91.06, 71.84, 102.67°)
OKLaboklab(91.75% -0.0496 0.1582)
OKLCHoklch(91.75% 0.166 107.4)
XYZxyz(67.3256, 78.6160, 20.4302)
Luminance0.7861 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0EB56 #565BF0
analogous
#F09E56 #F0EB56 #A8F056
triadic
#F0EB56 #56F0EB #EB56F0
tetradic
#F0EB56 #56F09E #565BF0 #F056A8
square
#F0EB56 #56F09E #565BF0 #F056A8
split-complementary
#F0EB56 #56A8F0 #9E56F0
monochromatic
#BBB511 #EBE41E #F0EB56 #F5F28E #FAF8C6

Accessibility & contrast

On white

1.26
#F0EB56 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.72
#F0EB56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0EB56
16.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0EB56#FFFFFF#000000##000000
##F0EB561.001.2616.7216.72
#FFFFFF1.261.0021.0021.00
#00000016.7221.001.001.00
##00000016.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE242
Deuteranopia (green-blind)
#FFE85F
Tritanopia (blue-blind)
#FFDCCC
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #f0eb56;
/* rgb */ color: rgb(240, 235, 86);
/* oklch */ color: oklch(91.8% 0.166 107.4);
Tailwind
colors: {
  custom: {
    50: '#f8f18d',
    500: '#f0eb56',
    950: '#000000',
  },
}
SCSS
$custom: #f0eb56;
$custom-light: #f8f18d;
$custom-dark: #000000;
JSON
{
  "hex": "#f0eb56",
  "rgb": {
    "r": 240,
    "g": 235,
    "b": 86
  },
  "hsl": {
    "h": 58.052,
    "s": 83.696,
    "l": 63.922
  },
  "oklch": {
    "l": 0.91751,
    "c": 0.16576,
    "h": 107.4
  },
  "luminance": 0.78614
}

Semantic roles & 50–950 ramp

primary
#F0EB56
secondary
#3035BA
accent
#0CE005
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18160D
muted
#86857F

Preview Lab

Preview with #F0EB56

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

Preview Lab → · Contrast checker → · Palette generator →

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