#F0EB60#F0EB60

#F0EB60 is a very light, vivid yellow. Relative luminance 0.788; OKLCH L 91.8% C 0.158 H 107.2°. Best body text is #000000 at 16.76:1 contrast (WCAG AA passes).

Color values

HEX#F0EB60
RGBrgb(240, 235, 96)
HSLhsl(58, 83%, 66%)
HSVhsv(58, 60%, 94%)
CMYKcmyk(0%, 2.1%, 60%, 5.9%)
CIE-LABlab(91.14, -15.15, 66.13)
CIE-LCHlch(91.14, 67.84, 102.90°)
OKLaboklab(91.84% -0.0468 0.1512)
OKLCHoklch(91.84% 0.158 107.2)
XYZxyz(67.7570, 78.7885, 22.7026)
Luminance0.7879 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0EB60 #6065F0
analogous
#F0A360 #F0EB60 #ADF060
triadic
#F0EB60 #60F0EB #EB60F0
tetradic
#F0EB60 #60F0A3 #6065F0 #F060AD
square
#F0EB60 #60F0A3 #6065F0 #F060AD
split-complementary
#F0EB60 #60ADF0 #A360F0
monochromatic
#C3BD12 #EBE428 #F0EB60 #F5F298 #FBF9D0

Accessibility & contrast

On white

1.25
#F0EB60 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.76
#F0EB60 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0EB60
16.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0EB60#FFFFFF#000000##000000
##F0EB601.001.2516.7616.76
#FFFFFF1.251.0021.0021.00
#00000016.7621.001.001.00
##00000016.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE350
Deuteranopia (green-blind)
#FFE868
Tritanopia (blue-blind)
#FFDDCE
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #f0eb60;
/* rgb */ color: rgb(240, 235, 96);
/* oklch */ color: oklch(91.8% 0.158 107.2);
Tailwind
colors: {
  custom: {
    50: '#f8f193',
    500: '#f0eb60',
    950: '#000000',
  },
}
SCSS
$custom: #f0eb60;
$custom-light: #f8f193;
$custom-dark: #000000;
JSON
{
  "hex": "#f0eb60",
  "rgb": {
    "r": 240,
    "g": 235,
    "b": 96
  },
  "hsl": {
    "h": 57.917,
    "s": 82.759,
    "l": 65.882
  },
  "oklch": {
    "l": 0.91838,
    "c": 0.15829,
    "h": 107.2
  },
  "luminance": 0.78786
}

Semantic roles & 50–950 ramp

primary
#F0EB60
secondary
#3338C1
accent
#0EDF06
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18160D
muted
#86857F

Preview Lab

Preview with #F0EB60

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

Preview Lab → · Contrast checker → · Palette generator →

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